summaryrefslogtreecommitdiff
path: root/include/configs/sbc8240.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:30:58 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:04:18 +0200
commit866e3089bfc826bb4dc74637f8aad87a3bab79fc (patch)
tree632d61b55c126c12055fa7be309f64349e9aead1 /include/configs/sbc8240.h
parent2694690e285acaa34922f55f4b5ae030da60c55a (diff)
downloadu-boot-imx-866e3089bfc826bb4dc74637f8aad87a3bab79fc.zip
u-boot-imx-866e3089bfc826bb4dc74637f8aad87a3bab79fc.tar.gz
u-boot-imx-866e3089bfc826bb4dc74637f8aad87a3bab79fc.tar.bz2
include/configs: Use new CONFIG_CMD_* in sbc* board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/sbc8240.h')
-rw-r--r--include/configs/sbc8240.h29
1 files changed, 15 insertions, 14 deletions
diff --git a/include/configs/sbc8240.h b/include/configs/sbc8240.h
index d891e07..b81858b 100644
--- a/include/configs/sbc8240.h
+++ b/include/configs/sbc8240.h
@@ -79,20 +79,21 @@
#define CONFIG_ENV_OVERWRITE
-#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
- CFG_CMD_BSP | \
- CFG_CMD_DIAG | \
- CFG_CMD_ELF | \
- CFG_CMD_ENV | \
- CFG_CMD_FLASH | \
- CFG_CMD_PCI | \
- CFG_CMD_PING | \
- CFG_CMD_SDRAM | \
- 0 )
-
-/* This must be included AFTER the definition of CONFIG_COMMANDS (if any)
+
+/*
+ * Command line configuration.
*/
-#include <cmd_confdefs.h>
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_BSP
+#define CONFIG_CMD_DIAG
+#define CONFIG_CMD_ELF
+#define CONFIG_CMD_ENV
+#define CONFIG_CMD_FLASH
+#define CONFIG_CMD_PCI
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_SDRAM
+
/*
* Miscellaneous configurable options
@@ -340,7 +341,7 @@ typedef unsigned int led_id_t;
* 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