summaryrefslogtreecommitdiff
path: root/include/configs/debris.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:32:03 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:04:42 +0200
commitab999ba1b31ebe78dd16374394a55d7c6e5aa6e4 (patch)
tree0c321aadd08c8db9fc005fc8bf702570c1cf55cb /include/configs/debris.h
parent37e4f24b87fa255ae456d193b7cd23c18dd1d56b (diff)
downloadu-boot-imx-ab999ba1b31ebe78dd16374394a55d7c6e5aa6e4.zip
u-boot-imx-ab999ba1b31ebe78dd16374394a55d7c6e5aa6e4.tar.gz
u-boot-imx-ab999ba1b31ebe78dd16374394a55d7c6e5aa6e4.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/debris.h')
-rw-r--r--include/configs/debris.h39
1 files changed, 21 insertions, 18 deletions
diff --git a/include/configs/debris.h b/include/configs/debris.h
index 8ff963f..96c7648 100644
--- a/include/configs/debris.h
+++ b/include/configs/debris.h
@@ -122,23 +122,26 @@
#define CONFIG_BAUDRATE 9600
#define CONFIG_DRAM_SPEED 100 /* MHz */
-#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
- CFG_CMD_ASKENV | \
- CFG_CMD_CACHE | \
- CFG_CMD_DATE | \
- CFG_CMD_DHCP | \
- CFG_CMD_DIAG | \
- CFG_CMD_EEPROM | \
- CFG_CMD_ELF | \
- CFG_CMD_I2C | \
- CFG_CMD_JFFS2 | \
- CFG_CMD_KGBD | \
- CFG_CMD_PCI | \
- CFG_CMD_PING | \
- CFG_CMD_SAVES | \
- CFG_CMD_SDRAM)
-/* 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_CACHE
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_DIAG
+#define CONFIG_CMD_EEPROM
+#define CONFIG_CMD_ELF
+#define CONFIG_CMD_I2C
+#define CONFIG_CMD_JFFS2
+#define CONFIG_CMD_KGBD
+#define CONFIG_CMD_PCI
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_SAVES
+#define CONFIG_CMD_SDRAM
/*
@@ -435,7 +438,7 @@
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 32 /* For MPC8240 CPU */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
# define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
#endif