summaryrefslogtreecommitdiff
path: root/include/configs/omap5_uevm.h
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2017-05-24 10:08:27 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 18:13:10 (GMT)
commit7a53a1a8115beb53b47a758c1a6e527420d8a43e (patch)
tree340918149319992e2dbf0ac9abfb6f559f0bc6f2 /include/configs/omap5_uevm.h
parent226498b8f8cb058cb983a26154577cec557b19d8 (diff)
downloadu-boot-7a53a1a8115beb53b47a758c1a6e527420d8a43e.tar.xz
ARM: ti: Update layout for MMC and eMMC (env and dfu)
The problems with the current DFU layout are: MMC: The space allocated for u-boot is too small for the latest u-boot (>750KB). We need to increase it. eMMC uses a much bigger area (2MB). eMMC: region "u-boot.img.raw" overlaps the environment area and the region "spl-os-image.raw". both: region "spl-os-image.raw" is quite small and can't handle android kernels Fixing this requires growing some regions and moving others. Care has been taken to leave some room for further growth of "spl-os-args.raw". Also the "env" now appears in the dfu so that it's apparent that the region is not free space that can be used to grow "u-boot.img.raw". The MLO region is 0x100 sectors wide but the 0x100 are unused in case the MLO comes too overflow this areas. The total space allocated for those raw binaries is 16MB, of which 13+MB are reserved for the kernel image. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Diffstat (limited to 'include/configs/omap5_uevm.h')
-rw-r--r--include/configs/omap5_uevm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/omap5_uevm.h b/include/configs/omap5_uevm.h
index d8b0c02..e7fac6d 100644
--- a/include/configs/omap5_uevm.h
+++ b/include/configs/omap5_uevm.h
@@ -37,7 +37,7 @@
#define CONFIG_ENV_IS_IN_MMC
#define CONFIG_SYS_MMC_ENV_DEV 1 /* SLOT2: eMMC(1) */
#define CONFIG_ENV_SIZE (128 << 10)
-#define CONFIG_ENV_OFFSET 0xE0000
+#define CONFIG_ENV_OFFSET 0x260000
#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
#define CONFIG_SYS_REDUNDAND_ENVIRONMENT