[PATCH v2 6/9] armv8: layerscape: don't initialize GIC in SPL

Tom Rini trini at konsulko.com
Mon Dec 7 23:20:19 CET 2020


On Wed, Nov 18, 2020 at 05:45:59PM +0100, Michael Walle wrote:

> The BL31 expects the GIC to be uninitialized. Thus, if we are loading
> the BL31 by the SPL we must not initialize it. If u-boot is loaded by
> the SPL directly, it will initialize the GIC again (in the same
> lowlevel_init()).
> 
> This was tested on a custom board with SPL loading the BL31 and jumping
> to u-boot as BL33 as well as loading u-boot directly by the SPL. In case
> the ATF BL1/BL2 is used, this patch won't change anything, because no
> SPL is used at all.
> 
> Signed-off-by: Michael Walle <michael at walle.cc>

Applied to u-boot/next, thanks!

-- 
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/20201207/d17b5c1e/attachment.sig>


More information about the U-Boot mailing list