]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
omap5912-osk: Increase flash partition for u-boot
authorJon Hunter <jon-hunter@ti.com>
Tue, 9 Apr 2013 21:41:32 +0000 (16:41 -0500)
committerTom Rini <trini@ti.com>
Wed, 10 Apr 2013 20:03:01 +0000 (16:03 -0400)
The current u-boot binary needs more than 128KB of flash space and so
move the u-boot environment from an offset of 128KB to 256KB in flash
to ensure the enviroment does not overlap with u-boot.

Signed-off-by: Jon Hunter <jon-hunter@ti.com>
include/configs/omap5912osk.h

index 558e933b0a2d3862ffd89fa2c37143bb8b41a204..3276a5070a76057506ea03097f648438ef34f59c 100644 (file)
  */
 #define CONFIG_ENV_IS_IN_FLASH 1
 /* addr of environment */
-#define CONFIG_ENV_ADDR        (CONFIG_SYS_FLASH_BASE + 0x020000)
+#define CONFIG_ENV_ADDR        (CONFIG_SYS_FLASH_BASE + CONFIG_ENV_OFFSET)
 
-#define CONFIG_ENV_SIZE        0x20000 /* Total Size of Environment Sector */
-#define CONFIG_ENV_OFFSET      0x20000 /* environment starts here  */
+#define CONFIG_ENV_SIZE                0x20000 /* Total Size of Environment Sector */
+#define CONFIG_ENV_OFFSET      0x40000 /* environment starts here  */
 
 #define CONFIG_SYS_SDRAM_BASE          PHYS_SDRAM_1
 #define CONFIG_SYS_INIT_RAM_ADDR        PHYS_SRAM