summaryrefslogtreecommitdiff
path: root/include/configs/GTH.h
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2007-07-07 21:04:26 -0500
committerJon Loeliger <jdl@freescale.com>2007-07-08 16:05:23 -0500
commit60a0876b5106b34220e459c208bbf648073306c0 (patch)
treefb1ad9b8623eba4fa8a4021f2a28f33e330f49e9 /include/configs/GTH.h
parentdcaa71562826a2466e894c868d132509dcda8444 (diff)
downloadu-boot-imx-60a0876b5106b34220e459c208bbf648073306c0.zip
u-boot-imx-60a0876b5106b34220e459c208bbf648073306c0.tar.gz
u-boot-imx-60a0876b5106b34220e459c208bbf648073306c0.tar.bz2
include/configs: Use new CONFIG_CMD_* in various F* and G* named board config files.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Diffstat (limited to 'include/configs/GTH.h')
-rw-r--r--include/configs/GTH.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/include/configs/GTH.h b/include/configs/GTH.h
index 03b9659..f398bad 100644
--- a/include/configs/GTH.h
+++ b/include/configs/GTH.h
@@ -97,18 +97,23 @@
#error Both CONFIG_SCC1_ENET and CONFIG_FEC_ENET configured
#endif
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_IDE)
+
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
+
+#define CONFIG_CMD_IDE
+
+
#define CONFIG_MAC_PARTITION
#define CONFIG_DOS_PARTITION
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
-#include <cmd_confdefs.h>
-
/*
* Miscellaneous configurable options
*/
#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 */
@@ -190,7 +195,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