From: Fabio Estevam <festevam@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default
Date: Sat, 8 Jun 2019 14:56:44 -0300 [thread overview]
Message-ID: <20190608175644.17495-1-festevam@gmail.com> (raw)
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>
---
Hi Tom and Stefano,
In order to build fine for all mx6 boards the following
patch is needed:
https://lists.denx.de/pipermail/u-boot/2019-May/370224.html
Ran buildman successfully for all imx6 boards.
common/spl/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/common/spl/Kconfig b/common/spl/Kconfig
index ac2f470032..48f6b39a75 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.
--
2.17.1
next reply other threads:[~2019-06-08 17:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-08 17:56 Fabio Estevam [this message]
2019-06-08 19:32 ` [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default Lukasz Majewski
2019-06-11 8:44 ` sbabic at denx.de
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190608175644.17495-1-festevam@gmail.com \
--to=festevam@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox