summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQuentin Armitage <quentin@armitage.org.uk>2015-10-28 00:47:17 +0000
committerLuka Perkov <luka.perkov@sartura.hr>2015-11-17 23:41:41 +0100
commit5e69947f51d72a2f75f2132c2cc8bae3f0ebcdef (patch)
tree42a1c3bd173018c2c65d114a0d072dc63006c964 /include
parent82a19de3d2d5430ce401b6933dbfce39a45bb26c (diff)
downloadu-boot-imx-5e69947f51d72a2f75f2132c2cc8bae3f0ebcdef.zip
u-boot-imx-5e69947f51d72a2f75f2132c2cc8bae3f0ebcdef.tar.gz
u-boot-imx-5e69947f51d72a2f75f2132c2cc8bae3f0ebcdef.tar.bz2
arm: kirkwood: Move configuration of some commands to _defconfig files
For Marvell plugs, move the configuration of DHCP, NAND/SF, PING and USB commands, and HUSH_PARSER into the _defconfig file, rather than the include/configs/*plug.h files. This avoids compiler warnings of duplicate definitions if the option is selected in the .config, but also defined in the include/configs/*plug.h file. Signed-off-by: Quentin Armitage <quentin@armitage.org.uk>
Diffstat (limited to 'include')
-rw-r--r--include/configs/dreamplug.h4
-rw-r--r--include/configs/guruplug.h9
-rw-r--r--include/configs/sheevaplug.h9
3 files changed, 0 insertions, 22 deletions
diff --git a/include/configs/dreamplug.h b/include/configs/dreamplug.h
index bd834e4..4c5eafb 100644
--- a/include/configs/dreamplug.h
+++ b/include/configs/dreamplug.h
@@ -46,16 +46,12 @@
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_DHCP
#define CONFIG_CMD_ENV
#define CONFIG_CMD_EXT2
#define CONFIG_CMD_EXT4
#define CONFIG_CMD_FAT
#define CONFIG_CMD_IDE
#define CONFIG_CMD_MII
-#define CONFIG_CMD_SF
-#define CONFIG_CMD_PING
-#define CONFIG_CMD_USB
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h
index 48dd0e6..3f52f11 100644
--- a/include/configs/guruplug.h
+++ b/include/configs/guruplug.h
@@ -40,23 +40,14 @@
#define CONFIG_OF_LIBFDT
/*
- * Miscellaneous configurable options
- */
-#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
-
-/*
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_DHCP
#define CONFIG_CMD_ENV
#define CONFIG_CMD_IDE
#define CONFIG_CMD_MII
-#define CONFIG_CMD_NAND
-#define CONFIG_CMD_PING
-#define CONFIG_CMD_USB
/*
* mv-common.h should be defined after CMD configs since it used them
diff --git a/include/configs/sheevaplug.h b/include/configs/sheevaplug.h
index 1eb4858..60294ff 100644
--- a/include/configs/sheevaplug.h
+++ b/include/configs/sheevaplug.h
@@ -40,24 +40,15 @@
#define CONFIG_OF_LIBFDT
/*
- * Miscellaneous configurable options
- */
-#define CONFIG_SYS_HUSH_PARSER /* use "hush" command parser */
-
-/*
* Commands configuration
*/
#define CONFIG_SYS_NO_FLASH /* Declare no flash (NOR/SPI) */
#define CONFIG_CMD_BOOTZ
#define CONFIG_CMD_DATE
-#define CONFIG_CMD_DHCP
#define CONFIG_CMD_ENV
#define CONFIG_CMD_IDE
#define CONFIG_CMD_MII
#define CONFIG_CMD_MMC
-#define CONFIG_CMD_NAND
-#define CONFIG_CMD_PING
-#define CONFIG_CMD_USB
/*
* mv-common.h should be defined after CMD configs since it used them