summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/configs/at91sam9g20ek.h35
1 files changed, 16 insertions, 19 deletions
diff --git a/include/configs/at91sam9g20ek.h b/include/configs/at91sam9g20ek.h
index 81eb84eca98..9ea0fc1e023 100644
--- a/include/configs/at91sam9g20ek.h
+++ b/include/configs/at91sam9g20ek.h
@@ -76,25 +76,22 @@
/* #define CONFIG_ENV_OVERWRITE 1 */
#define BOARD_LATE_INIT 1
-#define CONFIG_COMMANDS \
- ((CONFIG_CMD_DFL | \
- CFG_CMD_NET | \
- CFG_CMD_PING | \
- CFG_CMD_ENV | \
- CFG_CMD_USB | \
- CFG_CMD_FLASH | \
- CFG_CMD_NAND | \
- CFG_CMD_AUTOSCRIPT | \
- CFG_CMD_FAT ) & \
- ~(CFG_CMD_BDI | \
- CFG_CMD_IMLS | \
- CFG_CMD_IMI | \
- CFG_CMD_FPGA | \
- CFG_CMD_MISC | \
- CFG_CMD_LOADS))
-
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_ENV
+#define CONFIG_CMD_USB
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_FLASH
+#define CONFIG_CMD_AUTOSCRIPT
+#define CONFIG_CMD_NAND
+#undef CONFIG_CMD_BDI
+#undef CONFIG_CMD_IMI
+#undef CONFIG_CMD_IMLS
+#undef CONFIG_CMD_FPGA
+#undef CONFIG_CMD_MISC
+#undef CONFIG_CMD_LOADS
#define NAND_MAX_CHIPS 1 /* Max number of NAND devices */
#define CFG_MAX_NAND_DEVICE 1 /* Max number of NAND devices */