summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2010-04-28 12:54:43 +0200
committerWolfgang Denk <wd@denx.de>2010-04-28 12:54:43 +0200
commit8a1cdaa9d54c93db300e8565191d60712aa481dc (patch)
treeab7a2bdbdbebde8910384e24e71c038071d06e79 /include/configs
parente1d2950d0f5aaa7ab6609ffa96dde2e163fc2902 (diff)
downloadu-boot-imx-8a1cdaa9d54c93db300e8565191d60712aa481dc.zip
u-boot-imx-8a1cdaa9d54c93db300e8565191d60712aa481dc.tar.gz
u-boot-imx-8a1cdaa9d54c93db300e8565191d60712aa481dc.tar.bz2
QONG: Adapt flash addresses and mtdparts to grown image size
Also enable HUSH shell. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/qong.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/include/configs/qong.h b/include/configs/qong.h
index e41ea91..61acb04 100644
--- a/include/configs/qong.h
+++ b/include/configs/qong.h
@@ -127,9 +127,9 @@
" console=ttymxc0,${baudrate}\0" \
"addmtd=setenv bootargs ${bootargs} ${mtdparts}\0" \
"addmisc=setenv bootargs ${bootargs}\0" \
- "uboot_addr=a0000000\0" \
- "kernel_addr=a0080000\0" \
- "ramdisk_addr=a0300000\0" \
+ "uboot_addr=A0000000\0" \
+ "kernel_addr=A00A0000\0" \
+ "ramdisk_addr=A0300000\0" \
"u-boot=qong/u-boot.bin\0" \
"kernel_addr_r=80800000\0" \
"hostname=qong\0" \
@@ -172,6 +172,10 @@
#define CONFIG_SYS_HZ 1000
#define CONFIG_CMDLINE_EDITING 1
+#define CONFIG_SYS_HUSH_PARSER 1 /* Use the HUSH parser */
+#ifdef CONFIG_SYS_HUSH_PARSER
+#define CONFIG_SYS_PROMPT_HUSH_PS2 "> "
+#endif
#define CONFIG_MISC_INIT_R 1
/*-----------------------------------------------------------------------
@@ -228,7 +232,7 @@
#define CONFIG_FLASH_CFI_MTD
#define MTDIDS_DEFAULT "nor0=physmap-flash.0"
#define MTDPARTS_DEFAULT \
- "mtdparts=physmap-flash.0:256k(U-Boot),128k(env1)," \
- "128k(env2),2560k(kernel),13m(ramdisk),-(user)"
+ "mtdparts=physmap-flash.0:384k(U-Boot),128k(env1)," \
+ "128k(env2),2432k(kernel),13m(ramdisk),-(user)"
#endif /* __CONFIG_H */