summaryrefslogtreecommitdiffstats
path: root/drivers/ddr/imx/imx8m/ddr_init.c
diff options
context:
space:
mode:
authorMichael Walle <michael@walle.cc>2020-11-18 17:45:59 +0100
committerTom Rini <trini@konsulko.com>2020-12-04 16:09:06 -0500
commit8084e918bca8fa2ecf226a5eac5ea064d669b301 (patch)
tree7dcfafae0ab9380e3fb3bdf343e9bb9524ba1c80 /drivers/ddr/imx/imx8m/ddr_init.c
parent7b866825cd354a358eff8f62207701771e0511bd (diff)
downloadu-boot-8084e918bca8fa2ecf226a5eac5ea064d669b301.tar.gz
u-boot-8084e918bca8fa2ecf226a5eac5ea064d669b301.tar.xz
u-boot-8084e918bca8fa2ecf226a5eac5ea064d669b301.zip
armv8: layerscape: don't initialize GIC in SPL
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@walle.cc>
Diffstat (limited to 'drivers/ddr/imx/imx8m/ddr_init.c')
0 files changed, 0 insertions, 0 deletions