summaryrefslogtreecommitdiff
path: root/include/configs/omap2420h4.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:33:13 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:05:06 +0200
commita5cb23092a7d31490a33d4ec871468b63babfa3c (patch)
tree043818080cb56bcb6f5292b9cef201b2ef47b339 /include/configs/omap2420h4.h
parent929a2bfd142737003a8fc32e1b86e1f2c1850257 (diff)
downloadu-boot-imx-a5cb23092a7d31490a33d4ec871468b63babfa3c.zip
u-boot-imx-a5cb23092a7d31490a33d4ec871468b63babfa3c.tar.gz
u-boot-imx-a5cb23092a7d31490a33d4ec871468b63babfa3c.tar.bz2
include/configs: Use new CONFIG_CMD_* in various o* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/omap2420h4.h')
-rw-r--r--include/configs/omap2420h4.h22
1 files changed, 17 insertions, 5 deletions
diff --git a/include/configs/omap2420h4.h b/include/configs/omap2420h4.h
index 5837461..46e0dcc 100644
--- a/include/configs/omap2420h4.h
+++ b/include/configs/omap2420h4.h
@@ -119,15 +119,27 @@
#define CONFIG_BAUDRATE 115200
#define CFG_BAUDRATE_TABLE {9600, 19200, 38400, 57600, 115200}
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
#ifdef CFG_NAND_BOOT
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_DHCP | CFG_CMD_I2C | CFG_CMD_NAND | CFG_CMD_JFFS2)
+ #define CONFIG_CMD_DHCP
+ #define CONFIG_CMD_I2C
+ #define CONFIG_CMD_NAND
+ #define CONFIG_CMD_JFFS2
#else
-#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_DHCP | CFG_CMD_I2C | CFG_CMD_JFFS2) & ~CFG_CMD_AUTOSCRIPT)
+ #define CONFIG_CMD_DHCP
+ #define CONFIG_CMD_I2C
+ #define CONFIG_CMD_JFFS2
+
+ #undef CONFIG_CMD_AUTOSCRIPT
#endif
-#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+
+#define CONFIG_BOOTP_MASK CONFIG_BOOTP_DEFAULT
/*
* Board NAND Info.