summaryrefslogtreecommitdiff
path: root/include/configs/M5282EVB.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-08 14:14:17 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 16:05:30 -0500
commit8353e139bfad9059c54f5b2421f1a3090e15a2e2 (patch)
tree92aa4065f298f472f7832bcf724be06bb5e46a61 /include/configs/M5282EVB.h
parent348f258f24253433e4a2302a0bbceb6740a67246 (diff)
downloadu-boot-imx-8353e139bfad9059c54f5b2421f1a3090e15a2e2.zip
u-boot-imx-8353e139bfad9059c54f5b2421f1a3090e15a2e2.tar.gz
u-boot-imx-8353e139bfad9059c54f5b2421f1a3090e15a2e2.tar.bz2
include/configs: Use new CONFIG_CMD_* in various M* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/M5282EVB.h')
-rw-r--r--include/configs/M5282EVB.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/include/configs/M5282EVB.h b/include/configs/M5282EVB.h
index cbb3e3b..cf3076e 100644
--- a/include/configs/M5282EVB.h
+++ b/include/configs/M5282EVB.h
@@ -51,16 +51,21 @@
#define CFG_ENV_IS_IN_FLASH 1
-#define CONFIG_COMMANDS ( CONFIG_CMD_DFL & ~(CFG_CMD_LOADS | CFG_CMD_LOADB) )
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#undef CONFIG_CMD_LOADS
+#undef CONFIG_CMD_LOADB
+
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
#define CONFIG_BOOTDELAY 5
#define CFG_PROMPT "-> "
#define CFG_LONGHELP /* undef to save memory */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
#else
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */