summaryrefslogtreecommitdiff
path: root/configs/turris_omnia_defconfig
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2022-09-14 16:06:46 +0300
committerStefan Roese <sr@denx.de>2022-09-20 07:39:43 +0300
commit5138c8fa5626d097cd6d136b14bdef06652effd9 (patch)
treeb10b71ac650251f12e1df1bebae7351734a0ad6c /configs/turris_omnia_defconfig
parentd285e4b0807a63330b57cd6c97ffd66122f046a0 (diff)
downloadu-boot-5138c8fa5626d097cd6d136b14bdef06652effd9.tar.xz
arm: mvebu: turris_omnia: Add CONFIG_BOARD_SIZE_LIMIT
Maximal size of u-boot kwb image binary is $CONFIG_ENV_OFFSET which is 0xF0000 = 983040 bytes. So add missing CONFIG_BOARD_SIZE_LIMIT definition to ensure that u-boot binary does not overflow to the u-boot env storage. Signed-off-by: Pali Rohár <pali@kernel.org> Reviewed-by: Marek Behún <kabel@kernel.org> Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'configs/turris_omnia_defconfig')
-rw-r--r--configs/turris_omnia_defconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig
index ba635feb44..6698f23135 100644
--- a/configs/turris_omnia_defconfig
+++ b/configs/turris_omnia_defconfig
@@ -28,6 +28,8 @@ CONFIG_SYS_MEMTEST_END=0x00ffffff
CONFIG_DISTRO_DEFAULTS=y
CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y
CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xff0000
+CONFIG_HAS_BOARD_SIZE_LIMIT=y
+CONFIG_BOARD_SIZE_LIMIT=983040
CONFIG_FIT=y
CONFIG_FIT_VERBOSE=y
CONFIG_OF_BOARD_SETUP=y