]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: atmel: at91sam9x5: move CONFIG_SYS_NO_FLASH to proper position
authorBo Shen <voice.shen@atmel.com>
Tue, 10 Dec 2013 08:14:02 +0000 (16:14 +0800)
committerAndreas Bießmann <andreas.devel@googlemail.com>
Tue, 17 Dec 2013 16:21:18 +0000 (17:21 +0100)
In config_cmd_default.h, it will use CONFIG_SYS_NO_FLASH to decide
whether include CONFIG_CMD_FLASH and CONFIG_CMD_IMLS. So, move the
CONFIG_SYS_NO_FLASH to proper position, then we don't need to undef
these two commands.

Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
include/configs/at91sam9x5ek.h

index 4eeaf3bb8d541fb9a0224900aecf9786f63f4733..f0a6757ff66578044b84f1d628a3442bce502caf 100644 (file)
 #define CONFIG_BOOTP_GATEWAY
 #define CONFIG_BOOTP_HOSTNAME
 
+/* no NOR flash */
+#define CONFIG_SYS_NO_FLASH
+
 /*
  * Command line configuration.
  */
 #include <config_cmd_default.h>
 #undef CONFIG_CMD_FPGA
 #undef CONFIG_CMD_IMI
-#undef CONFIG_CMD_IMLS
-#undef CONFIG_CMD_LOADS
 
 #define CONFIG_CMD_PING
 #define CONFIG_CMD_DHCP
 #define CONFIG_SF_DEFAULT_SPEED                30000000
 #endif
 
-/* no NOR flash */
-#define CONFIG_SYS_NO_FLASH
-
 /* NAND flash */
 #ifdef CONFIG_CMD_NAND
 #define CONFIG_NAND_ATMEL