summaryrefslogtreecommitdiff
path: root/include/configs/r5200.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:31:15 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:04:23 +0200
commitd794cfefead5fc177cf4f41164e80382e9c9484a (patch)
tree75af803077c7ab7abb8bc09ee7ca41a686bc83d6 /include/configs/r5200.h
parentef0df52ab49eea4a30c15087fd27d54c1d946f2c (diff)
downloadu-boot-imx-d794cfefead5fc177cf4f41164e80382e9c9484a.zip
u-boot-imx-d794cfefead5fc177cf4f41164e80382e9c9484a.tar.gz
u-boot-imx-d794cfefead5fc177cf4f41164e80382e9c9484a.tar.bz2
include/configs: Use new CONFIG_CMD_* in various 5200 board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/r5200.h')
-rw-r--r--include/configs/r5200.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/include/configs/r5200.h b/include/configs/r5200.h
index e1e406b..0592939 100644
--- a/include/configs/r5200.h
+++ b/include/configs/r5200.h
@@ -66,10 +66,18 @@
#define CFG_ENV_IS_IN_FLASH 1
#endif
-#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | CFG_CMD_PING | CFG_CMD_NET ) & ~(CFG_CMD_LOADS | CFG_CMD_LOADB))
-/* 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_PING
+#define CONFIG_CMD_NET
+
+#undef CONFIG_CMD_LOADS
+#undef CONFIG_CMD_LOADB
+
/* Note: We only copy one sectors worth of application code from location
* 10200000 for speed purposes. Increase the size if necessary */
@@ -79,7 +87,7 @@
#define CFG_PROMPT "u-boot> "
#define CFG_LONGHELP /* undef to save memory */
-#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 */