public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default
Date: Sat, 8 Jun 2019 21:32:17 +0200	[thread overview]
Message-ID: <20190608213217.5f32fbe1@jawa> (raw)
In-Reply-To: <20190608175644.17495-1-festevam@gmail.com>

On Sat,  8 Jun 2019 14:56:44 -0300
Fabio Estevam <festevam@gmail.com> wrote:

> 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.

Reviewed-by: Lukasz Majewski <lukma@denx.de>


Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190608/61b0dfc1/attachment.sig>

  reply	other threads:[~2019-06-08 19:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-08 17:56 [U-Boot] [PATCH] spl: imx6: Provide a SPL_SIZE_LIMIT default Fabio Estevam
2019-06-08 19:32 ` Lukasz Majewski [this message]
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=20190608213217.5f32fbe1@jawa \
    --to=lukma@denx.de \
    --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