summaryrefslogtreecommitdiff
path: root/include/configs/MBX.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/MBX.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/MBX.h')
-rw-r--r--include/configs/MBX.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/include/configs/MBX.h b/include/configs/MBX.h
index d6e3fb8..ae8913c 100644
--- a/include/configs/MBX.h
+++ b/include/configs/MBX.h
@@ -71,13 +71,18 @@
#undef CONFIG_WATCHDOG /* watchdog disabled */
-#define CONFIG_COMMANDS ( CFG_CMD_NET | CONFIG_CMD_DFL | CFG_CMD_SDRAM | \
- CFG_CMD_PCMCIA | CFG_CMD_IDE )
-#define CONFIG_DOS_PARTITION
+/*
+ * Command line configuration.
+ */
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_DFL
+#define CONFIG_CMD_SDRAM
+#define CONFIG_CMD_PCMCIA
+#define CONFIG_CMD_IDE
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+
+#define CONFIG_DOS_PARTITION
/*
* Miscellaneous configurable options
@@ -88,7 +93,7 @@
#ifdef CFG_HUSH_PARSER
#define CFG_PROMPT_HUSH_PS2 "> "
#endif
-#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 */
@@ -187,7 +192,7 @@
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
#endif