summaryrefslogtreecommitdiffstats
path: root/configs/platform-v7a
diff options
context:
space:
mode:
authorAhmad Fatoum <a.fatoum@pengutronix.de>2021-03-12 23:28:13 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2021-03-15 09:42:24 +0100
commit13d8bd3ec4691d03af8eadd17d6865a50206f92d (patch)
tree4d6761c0951684b7c925f291c7272b870c038959 /configs/platform-v7a
parentea1ffb63d0fc2bd010faa1e3264eb06acd32e079 (diff)
downloadDistroKit-13d8bd3ec4691d03af8eadd17d6865a50206f92d.tar.gz
DistroKit-13d8bd3ec4691d03af8eadd17d6865a50206f92d.tar.xz
v7a: barebox: verify MLO size at build time
SRAM0 on the AM335x is 109K in size. Specify this in the config, so we get a build error if our MLO exceeds this size. Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a')
-rw-r--r--configs/platform-v7a/barebox-am335x-mlo.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/configs/platform-v7a/barebox-am335x-mlo.config b/configs/platform-v7a/barebox-am335x-mlo.config
index 022d53c..07aabfa 100644
--- a/configs/platform-v7a/barebox-am335x-mlo.config
+++ b/configs/platform-v7a/barebox-am335x-mlo.config
@@ -48,7 +48,7 @@ CONFIG_CPU_32v7=y
# processor features
#
# CONFIG_BOOT_ENDIANNESS_SWITCH is not set
-CONFIG_BAREBOX_MAX_IMAGE_SIZE=0xffffffff
+CONFIG_BAREBOX_MAX_IMAGE_SIZE=0x1b400
#
# OMAP Features