aboutsummaryrefslogtreecommitdiff
path: root/include/configs/BMW.h
diff options
context:
space:
mode:
authorJon Loeliger2007-07-05 19:32:07 -0500
committerJon Loeliger2007-07-07 20:28:40 -0500
commitde8b2a6e33298dcdb10bdda48db25e53c3089eba (patch)
treecc4c8cb4fb7188e568ff8b00354b1b4a0a5f61a1 /include/configs/BMW.h
parent498ff9a228485bd4b9f23d066bada268f9add1dd (diff)
include/configs: Use new CONFIG_CMD_* in various B* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/BMW.h')
-rw-r--r--include/configs/BMW.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/include/configs/BMW.h b/include/configs/BMW.h
index 3bd43d83693..b062316a09b 100644
--- a/include/configs/BMW.h
+++ b/include/configs/BMW.h
@@ -64,28 +64,26 @@
#define CFG_DOC_SUPPORT_2000 1
#define CFG_DOC_SUPPORT_MILLENNIUM 1
#define CFG_DOC_SHORT_TIMEOUT 1
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
- CFG_CMD_DATE | \
- CFG_CMD_DOC | \
- CFG_CMD_ELF | \
- 0 )
+
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_DOC
+#define CONFIG_CMD_ELF
+
/* CFG_CMD_DOC required legacy NAND support */
#define CFG_NAND_LEGACY
#if 0
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP | \
- CFG_CMD_PCI | CFG_CMD_DOC | CFG_CMD_DATE)
-
#define CONFIG_PCI 1
#define CONFIG_PCI_PNP 1 /* PCI plug-and-play */
#endif
-/* This must be included AFTER the definition of CONFIG_COMMANDS (if any)
- */
-#include <cmd_confdefs.h>
-
-
/*
* Miscellaneous configurable options
*/
@@ -293,7 +291,7 @@
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 32
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
# define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
#endif