Skip to contentSkip to conversation

include/configs: Use new CONFIG_CMD_* in 83xx board config files.

PATCH New Jon Loeliger 1 participant 1 message Jul 5, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/25 include/configs: Use new CONFIG_CMD_* in 83xx board config files.

---
 include/configs/MPC8313ERDB.h |   29 ++++++++++-----------
 include/configs/MPC832XEMDS.h |   51 ++++++++++++-------------------------
 include/configs/MPC8349EMDS.h |   56 ++++++++++++++---------------------------
 include/configs/MPC8349ITX.h  |   42 +++++++++++++-----------------
 include/configs/MPC8360EMDS.h |   51 ++++++++++++-------------------------
 5 files changed, 85 insertions(+), 144 deletions(-)
include/configs/MPC8313ERDB.h +14 -15
index 7e1005c..3334f0f 100644
@@ -341,26 +341,25 @@
 #define CONFIG_LOADS_ECHO	1	/* echo on for serial download */
 #define CFG_LOADS_BAUD_CHANGE	1	/* allow baudrate change */
 
-#define CFG_BASE_COMMANDS	( CONFIG_CMD_DFL	\
-				| CFG_CMD_PING		\
-				| CFG_CMD_DHCP		\
-				| CFG_CMD_I2C		\
-				| CFG_CMD_MII		\
-				| CFG_CMD_DATE		\
-				| CFG_CMD_PCI)
-
-#define CONFIG_CMDLINE_EDITING 1
+/*
+ * Command line configuration.
+ */
+#include <config_cmd_default.h>
 
-#define CFG_RAMBOOT_COMMANDS	(CFG_BASE_COMMANDS & \
-				 ~(CFG_CMD_ENV | CFG_CMD_LOADS))
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
+#define CONFIG_CMD_I2C
+#define CONFIG_CMD_MII
+#define CONFIG_CMD_DATE
+#define CONFIG_CMD_PCI
 
 #if defined(CFG_RAMBOOT)
-#define CONFIG_COMMANDS CFG_RAMBOOT_COMMANDS
-#else
-#define CONFIG_COMMANDS CFG_BASE_COMMANDS
+    #undef CONFIG_CMD_ENV
+    #undef CONFIG_CMD_LOADS
 #endif
 
-#include <cmd_confdefs.h>
+#define CONFIG_CMDLINE_EDITING 1
+
 
 /*
  * Miscellaneous configurable options
include/configs/MPC832XEMDS.h +17 -34

79 lines not on this page · raw message

include/configs/MPC8349EMDS.h +19 -37

84 lines not on this page · raw message

include/configs/MPC8349ITX.h +18 -24

76 lines not on this page · raw message

include/configs/MPC8360EMDS.h +17 -34

79 lines not on this page · raw message

Signature · 1 line
1.5.2.2.249.g45fd