summaryrefslogtreecommitdiff
path: root/include/configs/TQM834x.h
diff options
context:
space:
mode:
authorJens Gehrlein <sew_s@tqs.de>2008-01-29 08:45:02 +0100
committerKim Phillips <kim.phillips@freescale.com>2008-01-29 11:53:17 -0600
commita877004d44ca7dbc1e618add3eeb1da7c84e4bec (patch)
treea29301fe770f9dc64aa2599037b3f3b3aa7f57f0 /include/configs/TQM834x.h
parent8931ab176025b03cfc320b3fd1eca432a88ed560 (diff)
downloadu-boot-imx-a877004d44ca7dbc1e618add3eeb1da7c84e4bec.zip
u-boot-imx-a877004d44ca7dbc1e618add3eeb1da7c84e4bec.tar.gz
u-boot-imx-a877004d44ca7dbc1e618add3eeb1da7c84e4bec.tar.bz2
TQM834x: support for Spansion N-type Flashes (sector size = 256 KiB at 2x16 Bit).
Signed-off-by: Jens Gehrlein <sew_s@tqs.de> Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/configs/TQM834x.h')
-rw-r--r--include/configs/TQM834x.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/TQM834x.h b/include/configs/TQM834x.h
index 8ef3f09..0f73400 100644
--- a/include/configs/TQM834x.h
+++ b/include/configs/TQM834x.h
@@ -181,7 +181,7 @@ extern int tqm834x_num_flash_banks;
#define CFG_INIT_SP_OFFSET CFG_GBL_DATA_OFFSET
#define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
-#define CFG_MALLOC_LEN (128 * 1024) /* Reserved for malloc */
+#define CFG_MALLOC_LEN (256 * 1024) /* Reserve 256 kB for malloc */
/*
* Serial Port
@@ -302,7 +302,7 @@ extern int tqm834x_num_flash_banks;
#ifndef CFG_RAMBOOT
#define CFG_ENV_IS_IN_FLASH 1
#define CFG_ENV_ADDR (CFG_MONITOR_BASE + 0x40000)
- #define CFG_ENV_SECT_SIZE 0x20000 /* 256K(one sector) for env */
+ #define CFG_ENV_SECT_SIZE 0x40000 /* 256K(one sector) for env */
#define CFG_ENV_SIZE 0x2000
#else
#define CFG_NO_FLASH 1 /* Flash is not usable now */
@@ -557,7 +557,7 @@ extern int tqm834x_num_flash_banks;
#define MTDIDS_DEFAULT "nor0=TQM834x-0"
/* default mtd partition table */
-#define MTDPARTS_DEFAULT "mtdparts=TQM834x-0:256k(u-boot),128k(env),"\
+#define MTDPARTS_DEFAULT "mtdparts=TQM834x-0:256k(u-boot),256k(env),"\
"1m(kernel),2m(initrd),"\
"-(user);"\