This patch allows SPL to load a bigger BL2 (u-boot.bin).
This is needed for and has been tested on Arndale board, as u-boot.bin is
now bigger than 512K with GCC8.
Signed-off-by: Guillaume GARDET
Cc: Minkyu Kang
Cc: Tom Rini
---
include/configs/exynos5-common.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/configs/exynos5-common.h b/include/configs/exynos5-common.h
index cd2a9046af..7da4be5ca8 100644
--- a/include/configs/exynos5-common.h
+++ b/include/configs/exynos5-common.h
@@ -89,7 +89,7 @@
/* Configuration of BL1, BL2, ENV Blocks on mmc */
#define CONFIG_RES_BLOCK_SIZE (512)
#define CONFIG_BL1_SIZE(16 << 10) /*16 K reserved for BL1*/
-#define CONFIG_BL2_SIZE(512UL << 10UL) /* 512 KB */
+#define CONFIG_BL2_SIZE(512UL << 11UL) /* 1 MB */
#define CONFIG_ENV_SIZE(16 << 10) /* 16 KB */
#define CONFIG_BL1_OFFSET (CONFIG_RES_BLOCK_SIZE + CONFIG_SEC_FW_SIZE)
--
2.19.1
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot