]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cosmetic: config: Remove empty #ifdefs
authorLukasz Majewski <lukma@denx.de>
Mon, 1 Apr 2019 14:00:03 +0000 (16:00 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 2 Apr 2019 11:44:18 +0000 (13:44 +0200)
After running tools/moveconfig.py it turned out that for various boards
there are an empty #ifdef statements.

Remove them to clean u-boot source code.

Signed-off-by: Lukasz Majewski <lukma@denx.de>
include/configs/bg0900.h
include/configs/dreamplug.h
include/configs/ds109.h
include/configs/km/km_arm.h

index 832dbbaafcd5fc4a42bb945abd0f5046a280fcfa..c05b06a417bb208edadb809c4071913458a2e5ed 100644 (file)
 #define CONFIG_FEC_MXC
 #endif
 
-/* SPI FLASH */
-#ifdef CONFIG_CMD_SF
-#endif
-
 /* Boot Linux */
 #define CONFIG_BOOTFILE                "uImage"
 #define CONFIG_BOOTCOMMAND     "bootm"
index 28bda14c3d9384f521a0e5137cbdf26e4b3091c2..f7f9141dd0e1a9d0d8adb4ffcdc8e93821f209ec 100644 (file)
@@ -34,9 +34,6 @@
 #define CONFIG_ENV_SECT_SIZE           0x10000 /* 64k */
 #endif
 
-#ifdef CONFIG_CMD_SF
-#endif
-
 /*
  * max 4k env size is enough, but in case of nand
  * it has to be rounded to sector size
index 07367cfef05a31f56024561d12e322eaaa0437ac..31abb4bc85f1f233fa52afbe43c6fb504a90f324 100644 (file)
@@ -37,9 +37,6 @@
 #define CONFIG_ENV_SECT_SIZE           0x10000 /* 64k */
 #endif
 
-#ifdef CONFIG_CMD_SF
-#endif
-
 /*
  * max 4k env size is enough, but in case of nand
  * it has to be rounded to sector size
index a2e9cf1fa5bcec1dd5593ba3dd8163c971d32e11..8a00ac015ac437d9e0e6424a87bca5defb37a283 100644 (file)
@@ -34,9 +34,6 @@
 
 /* SPI NOR Flash default params, used by sf commands */
 
-#if defined CONFIG_KM_ENV_IS_IN_SPI_NOR
-#endif
-
 /* Reserve 4 MB for malloc */
 #define CONFIG_SYS_MALLOC_LEN          (4 * 1024 * 1024)