summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Hunter <jon-hunter@ti.com>2013-04-09 16:41:32 -0500
committerTom Rini <trini@ti.com>2013-04-10 16:03:01 -0400
commit54ef1f6774a2ced26789a072249c048201dc8987 (patch)
tree494b226227a0d6175dc00923393676c58b6ec55e
parent2a309f33def4a8f72cb3b2e6f6a93ad487a50189 (diff)
downloadu-boot-imx-54ef1f6774a2ced26789a072249c048201dc8987.zip
u-boot-imx-54ef1f6774a2ced26789a072249c048201dc8987.tar.gz
u-boot-imx-54ef1f6774a2ced26789a072249c048201dc8987.tar.bz2
omap5912-osk: Increase flash partition for u-boot
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>
-rw-r--r--include/configs/omap5912osk.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/configs/omap5912osk.h b/include/configs/omap5912osk.h
index 558e933..3276a50 100644
--- a/include/configs/omap5912osk.h
+++ b/include/configs/omap5912osk.h
@@ -178,10 +178,10 @@
*/
#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