aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLukasz Majewski2019-04-01 16:00:03 +0200
committerStefano Babic2019-04-02 13:44:18 +0200
commitf73c09e735bffc2b229bd20de6ca41e4d7efbc1d (patch)
tree34e98ebdded3172483795fea0c521d545cc6bf9a /include
parent657493173201f47188b7e03411b9f3f331365ee3 (diff)
cosmetic: config: Remove empty #ifdefs
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>
Diffstat (limited to 'include')
-rw-r--r--include/configs/bg0900.h4
-rw-r--r--include/configs/dreamplug.h3
-rw-r--r--include/configs/ds109.h3
-rw-r--r--include/configs/km/km_arm.h3
4 files changed, 0 insertions, 13 deletions
diff --git a/include/configs/bg0900.h b/include/configs/bg0900.h
index 832dbbaafcd..c05b06a417b 100644
--- a/include/configs/bg0900.h
+++ b/include/configs/bg0900.h
@@ -19,10 +19,6 @@
#define CONFIG_FEC_MXC
#endif
-/* SPI FLASH */
-#ifdef CONFIG_CMD_SF
-#endif
-
/* Boot Linux */
#define CONFIG_BOOTFILE "uImage"
#define CONFIG_BOOTCOMMAND "bootm"
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index 28bda14c3d9..f7f9141dd0e 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -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
diff --git a/include/configs/ds109.h b/include/configs/ds109.h
index 07367cfef05..31abb4bc85f 100644
--- a/include/configs/ds109.h
+++ b/include/configs/ds109.h
@@ -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
diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h
index a2e9cf1fa5b..8a00ac015ac 100644
--- a/include/configs/km/km_arm.h
+++ b/include/configs/km/km_arm.h
@@ -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)