summaryrefslogtreecommitdiff
path: root/include/configs/uc100.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:33:38 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:05:16 +0200
commit6c18eb9804b525f3e4f3bb3d014dd69a200d9fa7 (patch)
tree2cb350eff8e3761995869460b2c4bbb32e24d3ce /include/configs/uc100.h
parent46da1e96b7db14f4fcd2c92544e7c0862024bc76 (diff)
downloadu-boot-imx-6c18eb9804b525f3e4f3bb3d014dd69a200d9fa7.zip
u-boot-imx-6c18eb9804b525f3e4f3bb3d014dd69a200d9fa7.tar.gz
u-boot-imx-6c18eb9804b525f3e4f3bb3d014dd69a200d9fa7.tar.bz2
include/configs: Use new CONFIG_CMD_* in various t* and u* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/uc100.h')
-rw-r--r--include/configs/uc100.h41
1 files changed, 22 insertions, 19 deletions
diff --git a/include/configs/uc100.h b/include/configs/uc100.h
index c4e629a..2bdc55b 100644
--- a/include/configs/uc100.h
+++ b/include/configs/uc100.h
@@ -123,25 +123,28 @@
#define CFG_CMD_POST_DIAG 0
#endif
-#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \
- CFG_CMD_ASKENV | \
- CFG_CMD_DATE | \
- CFG_CMD_DHCP | \
- CFG_CMD_EEPROM | \
- CFG_CMD_ELF | \
- CFG_CMD_FAT | \
- CFG_CMD_I2C | \
- CFG_CMD_IDE | \
- CFG_CMD_MII | \
- CFG_CMD_NFS | \
- CFG_CMD_PING | \
- CFG_CMD_POST_DIAG | \
- CFG_CMD_SNTP )
-#define CONFIG_NETCONSOLE
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+#define CONFIG_CMD_ASKENV
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_EEPROM
+#define CONFIG_CMD_ELF
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_I2C
+#define CONFIG_CMD_IDE
+#define CONFIG_CMD_MII
+#define CONFIG_CMD_NFS
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_POST
+#define CONFIG_CMD_SNTP
+
+
+#define CONFIG_NETCONSOLE
/*
* Miscellaneous configurable options
@@ -156,7 +159,7 @@
#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 */
@@ -246,7 +249,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