summaryrefslogtreecommitdiffstats
path: root/include/configs/cobra5272.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:31:56 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:04:40 +0200
commit37e4f24b87fa255ae456d193b7cd23c18dd1d56b (patch)
tree4b949fafc4039b2424a9da76c31373ae4dfc4903 /include/configs/cobra5272.h
parentba2351f9d1e841bd00ea6dad1e3c16d0259ad264 (diff)
downloadtalos-obmc-uboot-37e4f24b87fa255ae456d193b7cd23c18dd1d56b.tar.gz
talos-obmc-uboot-37e4f24b87fa255ae456d193b7cd23c18dd1d56b.zip
include/configs: Use new CONFIG_CMD_* in various c* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/cobra5272.h')
-rw-r--r--include/configs/cobra5272.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/include/configs/cobra5272.h b/include/configs/cobra5272.h
index 9033fa88ed..4ab60cf271 100644
--- a/include/configs/cobra5272.h
+++ b/include/configs/cobra5272.h
@@ -130,16 +130,18 @@
#define CFG_ENV_IS_IN_FLASH 1
#endif
-/* ---
- * Define which commmands should be available at u-boot command prompt
- * ---
+
+/*
+ * Command line configuration.
*/
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_PING
-#define CONFIG_COMMANDS ( CONFIG_CMD_DFL | CFG_CMD_PING & ~(CFG_CMD_LOADS | \
-CFG_CMD_LOADB) | CFG_CMD_MII)
+#undef CONFIG_CMD_LOADS
+#undef CONFIG_CMD_LOADB
+#undef CONFIG_CMD_MII
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
/*
*-----------------------------------------------------------------------------
@@ -184,7 +186,7 @@ from which user programs will be started */
#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 */
OpenPOWER on IntegriCloud