|
@@ -56,21 +56,26 @@
|
|
#undef CFG_LOADS_BAUD_CHANGE /* don't allow baudrate change */
|
|
#undef CFG_LOADS_BAUD_CHANGE /* don't allow baudrate change */
|
|
#undef CONFIG_WATCHDOG /* watchdog disabled, for now */
|
|
#undef CONFIG_WATCHDOG /* watchdog disabled, for now */
|
|
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
|
|
#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE)
|
|
-#define CONFIG_COMMANDS (CONFIG_CMD_DFL | CFG_CMD_AUTOSCRIPT)
|
|
|
|
#define CONFIG_AUTOSCRIPT
|
|
#define CONFIG_AUTOSCRIPT
|
|
|
|
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * Command line configuration.
|
|
|
|
+ */
|
|
|
|
+#include <config_cmd_default.h>
|
|
|
|
+
|
|
|
|
+#define CONFIG_CMD_AUTOSCRIPT
|
|
|
|
+
|
|
|
|
+
|
|
/* call various generic functions */
|
|
/* call various generic functions */
|
|
#define CONFIG_MISC_INIT_R
|
|
#define CONFIG_MISC_INIT_R
|
|
|
|
|
|
-/* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */
|
|
|
|
-#include <cmd_confdefs.h>
|
|
|
|
-
|
|
|
|
/*
|
|
/*
|
|
* Miscellaneous configurable options
|
|
* Miscellaneous configurable options
|
|
*/
|
|
*/
|
|
#define CFG_LONGHELP /* undef to save memory */
|
|
#define CFG_LONGHELP /* undef to save memory */
|
|
#define CFG_PROMPT "=> " /* Monitor Command Prompt */
|
|
#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 */
|
|
#define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
|
|
#else
|
|
#else
|
|
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
|
#define CFG_CBSIZE 256 /* Console I/O Buffer Size */
|
|
@@ -152,7 +157,7 @@
|
|
* Cache Configuration
|
|
* Cache Configuration
|
|
*/
|
|
*/
|
|
#define CFG_CACHELINE_SIZE 16 /* For all MPC8xx CPUs */
|
|
#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 */
|
|
#define CFG_CACHELINE_SHIFT 4 /* log base 2 of the above value */
|
|
#endif
|
|
#endif
|
|
|
|
|