summaryrefslogtreecommitdiff
path: root/include/configs/DB64360.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-07 20:40:43 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-07 20:40:43 -0500
commit3c3227f3c737502311b25b72084573901cbbf17d (patch)
tree5cc88e215dd11437cf1faf1c40b68239d13e19ce /include/configs/DB64360.h
parent49cf7e8ee7ef943fdfe866ce28410b0bfbf6a26c (diff)
downloadu-boot-imx-3c3227f3c737502311b25b72084573901cbbf17d.zip
u-boot-imx-3c3227f3c737502311b25b72084573901cbbf17d.tar.gz
u-boot-imx-3c3227f3c737502311b25b72084573901cbbf17d.tar.bz2
include/configs: Use new CONFIG_CMD_* in various D* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/DB64360.h')
-rw-r--r--include/configs/DB64360.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/include/configs/DB64360.h b/include/configs/DB64360.h
index bd7aff1..f7e1c4d 100644
--- a/include/configs/DB64360.h
+++ b/include/configs/DB64360.h
@@ -239,17 +239,20 @@ ip=${ipaddr}:${serverip}${bootargs_end}; bootm 0x400000;\0"
#define MTDPARTS_DEFAULT "mtdparts=db64360-1:-(jffs2)"
*/
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL \
- | CFG_CMD_ASKENV \
- | CFG_CMD_I2C \
- | CFG_CMD_EEPROM \
- | CFG_CMD_CACHE \
- | CFG_CMD_JFFS2 \
- | CFG_CMD_PCI \
- | CFG_CMD_NET )
-
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_ASKENV
+#define CONFIG_CMD_I2C
+#define CONFIG_CMD_EEPROM
+#define CONFIG_CMD_CACHE
+#define CONFIG_CMD_JFFS2
+#define CONFIG_CMD_PCI
+#define CONFIG_CMD_NET
+
/*
* Miscellaneous configurable options
@@ -261,7 +264,7 @@ ip=${ipaddr}:${serverip}${bootargs_end}; bootm 0x400000;\0"
/* #define CFG_GT_DUAL_CPU also for JTAG even with one cpu */
#define CFG_LONGHELP /* undef to save memory */
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
-#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 */
@@ -558,7 +561,7 @@ ip=${ipaddr}:${serverip}${bootargs_end}; bootm 0x400000;\0"
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 32 /* For all MPC74xx CPUs */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
#define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
#endif