]> git.sur5r.net Git - u-boot/commitdiff
stv0991: enable default and misc command configs
authorVikas Manocha <vikas.manocha@st.com>
Tue, 18 Nov 2014 18:42:24 +0000 (10:42 -0800)
committerTom Rini <trini@ti.com>
Tue, 9 Dec 2014 20:16:20 +0000 (15:16 -0500)
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
include/configs/stv0991.h

index a316f63528b5fb4d71350ccd9b0d76dd208b5245..f95de06b59b32ff2f88cf3aa7f13dc5f6706436c 100644 (file)
@@ -8,7 +8,6 @@
 #ifndef __CONFIG_STV0991_H
 #define __CONFIG_STV0991_H
 #define CONFIG_SYS_DCACHE_OFF
-#define CONFIG_SYS_ICACHE_OFF
 #define CONFIG_SYS_EXCEPTION_VECTORS_HIGH
 #define CONFIG_BOARD_EARLY_INIT_F
 
@@ -40,7 +39,7 @@
 
 /* user interface */
 #define CONFIG_SYS_PROMPT                      "STV0991> "
-#define CONFIG_SYS_CBSIZE                      256/* Console I/O Buffer Size */
+#define CONFIG_SYS_CBSIZE                      1024
 #define CONFIG_SYS_PBSIZE                      (CONFIG_SYS_CBSIZE \
                                                +sizeof(CONFIG_SYS_PROMPT) + 16)
 
 #define CONFIG_CMD_PING
 #define CONFIG_PHY_RESET_DELAY                 10000           /* in usec */
 
+#include "config_cmd_default.h"
+#undef CONFIG_CMD_SAVEENV
+
+#define CONFIG_SYS_MEMTEST_START               0x0000
+#define CONFIG_SYS_MEMTEST_END                 1024*1024
+#define CONFIG_CMD_MEMTEST
+
+/* Misc configuration */
+#define CONFIG_SYS_LONGHELP
+#define CONFIG_CMDLINE_EDITING
+
+#define CONFIG_BOOTDELAY                       3
+#define CONFIG_BOOTCOMMAND                     "go 0x40040000"
+#define CONFIG_AUTOBOOT_KEYED
+#define CONFIG_AUTOBOOT_STOP_STR               " "
+#define CONFIG_AUTOBOOT_PROMPT                 \
+       "Hit SPACE in %d seconds to stop autoboot.\n", bootdelay
+
 #endif /* __CONFIG_H */