summaryrefslogtreecommitdiff
path: root/include/configs/atc.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@jdl.com>2007-07-04 22:31:42 -0500
committerWolfgang Denk <wd@denx.de>2007-07-05 11:04:35 +0200
commit0b361c916617aff79e647b40f0e43361e0bbaccf (patch)
tree73de15f8051a745b23bed80a08a848c10a6aca3c /include/configs/atc.h
parentb730cda82e362df6a22f4c59c0a9b97e885b1014 (diff)
downloadu-boot-imx-0b361c916617aff79e647b40f0e43361e0bbaccf.zip
u-boot-imx-0b361c916617aff79e647b40f0e43361e0bbaccf.tar.gz
u-boot-imx-0b361c916617aff79e647b40f0e43361e0bbaccf.tar.bz2
include/configs: Use new CONFIG_CMD_* in various a* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/atc.h')
-rw-r--r--include/configs/atc.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/include/configs/atc.h b/include/configs/atc.h
index bf6c170..cb4e747 100644
--- a/include/configs/atc.h
+++ b/include/configs/atc.h
@@ -126,25 +126,27 @@
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT|CONFIG_BOOTP_BOOTFILESIZE)
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | \
- CFG_CMD_EEPROM | \
- CFG_CMD_PCI | \
- CFG_CMD_PCMCIA | \
- CFG_CMD_DATE | \
- CFG_CMD_IDE)
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
-#define CONFIG_DOS_PARTITION
+#define CONFIG_CMD_EEPROM
+#define CONFIG_CMD_PCI
+#define CONFIG_CMD_PCMCIA
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_IDE
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
+
+#define CONFIG_DOS_PARTITION
/*
* Miscellaneous configurable options
*/
#define CFG_LONGHELP /* undef to save memory */
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
-#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 */
@@ -285,7 +287,7 @@
* Cache Configuration
*/
#define CFG_CACHELINE_SIZE 32 /* For MPC8260 CPU */
-#if (CONFIG_COMMANDS & CFG_CMD_KGDB)
+#if defined(CONFIG_CMD_KGDB)
# define CFG_CACHELINE_SHIFT 5 /* log base 2 of the above value */
#endif