]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
arm: kirkwood: Move configuration of some commands to _defconfig files
authorQuentin Armitage <quentin@armitage.org.uk>
Wed, 28 Oct 2015 00:47:17 +0000 (00:47 +0000)
committerLuka Perkov <luka.perkov@sartura.hr>
Tue, 17 Nov 2015 22:41:41 +0000 (23:41 +0100)
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>
configs/dreamplug_defconfig
configs/guruplug_defconfig
configs/sheevaplug_defconfig
include/configs/dreamplug.h
include/configs/guruplug.h
include/configs/sheevaplug.h

index 501fbbfd330052e91b73dd459dc6f64a5ebffe24..ec2a7490a35e39a80c93c333a79e846ab5e80622 100644 (file)
@@ -5,3 +5,8 @@ CONFIG_TARGET_DREAMPLUG=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SPI_FLASH=y
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_SF=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_USB=y
index 20b83e355b262222c757a2321416eb46ba96bb6c..b7f79a3e064ac484b80ceac1c298460046db7fbf 100644 (file)
@@ -4,3 +4,8 @@ CONFIG_TARGET_GURUPLUG=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_USB=y
index 54e2ad721b49ab8303e06ebe2e009241822fda65..5a37eea2d61a02b359049413939ecbe7b419e320 100644 (file)
@@ -4,3 +4,8 @@ CONFIG_TARGET_SHEEVAPLUG=y
 # CONFIG_CMD_IMLS is not set
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
+CONFIG_HUSH_PARSER=y
+CONFIG_CMD_DHCP=y
+CONFIG_CMD_NAND=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_USB=y
index bd834e43285cb93ff0d3f9eca8bede65a7b7d490..4c5eafb57a1e005c8c97cd92c199d9058954067d 100644 (file)
  */
 #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
index 48dd0e606bacf6239a3ff07f0b778ab34cab5dd5..3f52f117581cf1c4725a992f965511fa272bbd01 100644 (file)
  */
 #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
index 1eb4858f518248da9b0874d6c5737b9ff00e8df3..60294ff697dc34fb56b0e5ebdcd1a1e6d61d2ff8 100644 (file)
  */
 #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