summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-03-21 19:47:36 +0100
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-14 15:20:28 +0200
commit1b804b229556a4d862da93c0ec94e79419364b2c (patch)
treeea6a61d95bf73b0b7f9f7d15c29df50eaa24092b
parent9c0deb5ae3ea0189f2e08ac29ef1316f1fb8548d (diff)
downloadu-boot-imx-1b804b229556a4d862da93c0ec94e79419364b2c.zip
u-boot-imx-1b804b229556a4d862da93c0ec94e79419364b2c.tar.gz
u-boot-imx-1b804b229556a4d862da93c0ec94e79419364b2c.tar.bz2
AVR32: Include more commands for ATSTK1000
Include the imi, imls and jffs commands sets by default on ATSTK1000. Also define CONFIG_BOOTARGS to something more useful, define CONFIG_BOOTCOMMAND and enable autoboot by default. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
-rw-r--r--include/configs/atstk1002.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/include/configs/atstk1002.h b/include/configs/atstk1002.h
index 7463633..807d4a4 100644
--- a/include/configs/atstk1002.h
+++ b/include/configs/atstk1002.h
@@ -76,12 +76,27 @@
#define CONFIG_BAUDRATE 115200
#define CONFIG_BOOTARGS \
- "console=ttyUS0 root=/dev/mtdblock1 fbmem=600k"
+ "console=ttyS0 root=/dev/mtdblock1 rootfstype=jffs2 fbmem=600k"
+
+#define CONFIG_BOOTCOMMAND \
+ "fsload; bootm $(fileaddr)"
+
+/*
+ * Only interrupt autoboot if <space> is pressed. Otherwise, garbage
+ * data on the serial line may interrupt the boot sequence.
+ */
+#define CONFIG_BOOTDELAY 2
+#define CONFIG_AUTOBOOT 1
+#define CONFIG_AUTOBOOT_KEYED 1
+#define CONFIG_AUTOBOOT_PROMPT \
+ "Press SPACE to abort autoboot in %d seconds\n"
+#define CONFIG_AUTOBOOT_DELAY_STR "d"
+#define CONFIG_AUTOBOOT_STOP_STR " "
#define CONFIG_COMMANDS (CFG_CMD_BDI \
| CFG_CMD_LOADS \
| CFG_CMD_LOADB \
- /* | CFG_CMD_IMI */ \
+ | CFG_CMD_IMI \
/* | CFG_CMD_CACHE */ \
| CFG_CMD_FLASH \
| CFG_CMD_MEMORY \
@@ -109,9 +124,10 @@
/* | CFG_CMD_PING */ \
/* | CFG_CMD_MMC */ \
/* | CFG_CMD_FAT */ \
- /* | CFG_CMD_IMLS */ \
+ | CFG_CMD_IMLS \
/* | CFG_CMD_ITEST */ \
/* | CFG_CMD_EXT2 */ \
+ | CFG_CMD_JFFS2 \
)
#include <cmd_confdefs.h>