diff options
author | Matthias Fuchs <matthias.fuchs@esd.eu> | 2010-07-26 17:17:51 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2010-08-09 16:04:59 +0200 |
commit | f3dc7f197716e4c4d9349f14b4a951399fcbcd52 (patch) | |
tree | 9478951911738c62d1d788d435eb1095e562f7f4 /include/configs/AR405.h | |
parent | 0ad7f0950a9bc0a69b3cd5f34ccf7da25fcf1c6d (diff) | |
download | u-boot-imx-f3dc7f197716e4c4d9349f14b4a951399fcbcd52.zip u-boot-imx-f3dc7f197716e4c4d9349f14b4a951399fcbcd52.tar.gz u-boot-imx-f3dc7f197716e4c4d9349f14b4a951399fcbcd52.tar.bz2 |
ppc4xx: Fix building of AR405 board
Update image size after addition of new environment handling.
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'include/configs/AR405.h')
-rw-r--r-- | include/configs/AR405.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/configs/AR405.h b/include/configs/AR405.h index 52ead43..45c64c2 100644 --- a/include/configs/AR405.h +++ b/include/configs/AR405.h @@ -175,9 +175,9 @@ * Please note that CONFIG_SYS_SDRAM_BASE _must_ start at 0 */ #define CONFIG_SYS_SDRAM_BASE 0x00000000 -#define CONFIG_SYS_FLASH_BASE 0xFFFC0000 -#define CONFIG_SYS_MONITOR_BASE CONFIG_SYS_FLASH_BASE -#define CONFIG_SYS_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Monitor */ +#define CONFIG_SYS_FLASH_BASE CONFIG_SYS_MONITOR_BASE +#define CONFIG_SYS_MONITOR_BASE TEXT_BASE +#define CONFIG_SYS_MONITOR_LEN (~(TEXT_BASE) + 1) #define CONFIG_SYS_MALLOC_LEN (128 * 1024) /* Reserve 128 kB for malloc() */ /* @@ -209,11 +209,11 @@ #define CONFIG_SYS_FLASH_EMPTY_INFO /* print 'E' for empty sector on flinfo */ #define CONFIG_ENV_IS_IN_FLASH 1 -#define CONFIG_ENV_ADDR 0xFFFB0000 /* Address of Environment Sector*/ +#define CONFIG_ENV_ADDR (CONFIG_SYS_MONITOR_BASE - CONFIG_ENV_SECT_SIZE) #define CONFIG_ENV_SECT_SIZE 0x10000 /* see README - env sector total size */ #define CONFIG_ENV_SIZE 0x04000 /* Size of Environment */ -#define CONFIG_ENV_ADDR_REDUND 0xFFFA0000 +#define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR - CONFIG_ENV_SECT_SIZE) #define CONFIG_ENV_SIZE_REDUND CONFIG_ENV_SIZE /* |