[PATCH 07/26] arm: imx: Check header before calling spl_load_imx_container

Tom Rini trini at konsulko.com
Thu Oct 12 18:40:07 CEST 2023


On Wed, Oct 11, 2023 at 09:56:07PM -0400, Sean Anderson wrote:
> Make sure we have an IMX header before calling spl_load_imx_container,
> since if we don't it will fail with -ENOENT. This allows us to fall back to
> legacy/raw images if they are also enabled.
> 
> To avoid too much bloat, Legacy/Raw images are disabled for the four
> configs which only boot from raw MMC.
> 
> Future work could include merging imx_container.h with imx8image.h, since
> they appear to define mostly the same structures.
> 
> Signed-off-by: Sean Anderson <seanga2 at gmail.com>

So, since you mention bloat, this sounds like it's making functional
changes here, but that's not intentional, yes?  Or to ask another way,
is deneb disabling features here, to save space now that it can, or
because they're growing "a bunch" and this reduces the growth?

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20231012/a313850f/attachment.sig>


More information about the U-Boot mailing list