diff options
author | Martin Krause <martin.krause@tqs.de> | 2007-09-26 17:55:56 +0200 |
---|---|---|
committer | Martin Krause <martin.krause@tqs.de> | 2007-10-15 09:47:22 +0200 |
commit | da3aad55cbde80ab6e301aafa82a2c411aa53eff (patch) | |
tree | d8c548aab79ff0960fd234ed2c32e3e14a325f0d /include/configs/TQM860M.h | |
parent | 9d29250e2e62f4bf20c7a20b4173d84c48f11f5d (diff) | |
download | u-boot-imx-da3aad55cbde80ab6e301aafa82a2c411aa53eff.zip u-boot-imx-da3aad55cbde80ab6e301aafa82a2c411aa53eff.tar.gz u-boot-imx-da3aad55cbde80ab6e301aafa82a2c411aa53eff.tar.bz2 |
TQM860M: adjust for doubled flash sector size.
Adjust flash map to support the new S29GLxxN (N-Type) Flashes with
doubled sector size.
Signed-off-by: Martin Krause <martin.krause@tqs.de>
Diffstat (limited to 'include/configs/TQM860M.h')
-rw-r--r-- | include/configs/TQM860M.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/include/configs/TQM860M.h b/include/configs/TQM860M.h index 684b86f..fe3a2f0 100644 --- a/include/configs/TQM860M.h +++ b/include/configs/TQM860M.h @@ -69,9 +69,14 @@ "net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \ "rootpath=/opt/eldk/ppc_8xx\0" \ "bootfile=/tftpboot/TQM860M/uImage\0" \ - "fdt_addr=40080000\0" \ - "kernel_addr=400A0000\0" \ + "fdt_addr=400C0000\0" \ + "kernel_addr=40100000\0" \ "ramdisk_addr=40280000\0" \ + "load=tftp 200000 ${u-boot}\0" \ + "update=protect off 40000000 +${filesize};" \ + "erase 40000000 +${filesize};" \ + "cp.b 200000 40000000 ${filesize};" \ + "protect on 40000000 +${filesize}\0" \ "" #define CONFIG_BOOTCOMMAND "run flash_self" @@ -172,7 +177,7 @@ #define CFG_FLASH_BASE 0x40000000 #define CFG_MONITOR_LEN (256 << 10) /* Reserve 256 kB for Monitor */ #define CFG_MONITOR_BASE CFG_FLASH_BASE -#define CFG_MALLOC_LEN (128 << 10) /* Reserve 128 kB for malloc() */ +#define CFG_MALLOC_LEN (256 << 10) /* Reserve 256 kB for malloc() */ /* * For booting Linux, the board info and command line data @@ -193,7 +198,7 @@ #define CFG_ENV_IS_IN_FLASH 1 #define CFG_ENV_OFFSET 0x40000 /* Offset of Environment Sector */ #define CFG_ENV_SIZE 0x08000 /* Total Size of Environment Sector */ -#define CFG_ENV_SECT_SIZE 0x20000 /* Total Size of Environment Sector */ +#define CFG_ENV_SECT_SIZE 0x40000 /* Total Size of Environment Sector */ /* Address and size of Redundant Environment Sector */ #define CFG_ENV_OFFSET_REDUND (CFG_ENV_OFFSET+CFG_ENV_SECT_SIZE) |