aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2019-06-08 14:56:44 -0300
committerStefano Babic <sbabic@denx.de>2019-06-11 10:43:00 +0200
commit23612534fe0fe426716ee9cb5cfeb74a456cb891 (patch)
treed4658255684895b6ccd3538cfd445b88ad570c5e /common
parent940db3b410cf7be9e80dafd9150199263b8ed406 (diff)
downloadu-boot-23612534fe0fe426716ee9cb5cfeb74a456cb891.zip
u-boot-23612534fe0fe426716ee9cb5cfeb74a456cb891.tar.gz
u-boot-23612534fe0fe426716ee9cb5cfeb74a456cb891.tar.bz2
spl: imx6: Provide a SPL_SIZE_LIMIT default
As explained in include/configs/imx6_spl.h. the i.MX6 SPL size limit is 68KB (4KB header + 64KB max size). Provide such limit for all i.MX6 boards that use SPL to detect SPL size overflow in build time. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'common')
-rw-r--r--common/spl/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ac2f470..48f6b39 100644
--- a/common/spl/Kconfig
+++ b/common/spl/Kconfig
@@ -28,6 +28,7 @@ config SPL_FRAMEWORK
config SPL_SIZE_LIMIT
int "Maximum size of SPL image"
depends on SPL
+ default 69632 if ARCH_MX6
default 0
help
Specifies the maximum length of the U-Boot SPL image.