imx: imx8ulp_evk: Skip init DDR for reboot in dual boot mode
authorYe Li <ye.li@nxp.com>
Wed, 6 Apr 2022 06:30:13 +0000 (14:30 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 12 Apr 2022 15:33:56 +0000 (17:33 +0200)
commit4ab38f6822d9564da7b85649e6bc7d5c9d603350
treeb6d2bf9c03d739267d2b2243a89ce68e0ac7f38c
parenta092f33305d8f64c30794305746a1807c55f2063
imx: imx8ulp_evk: Skip init DDR for reboot in dual boot mode

When M33 is LPAV owner in dual boot, DDR, PCC5, CGC2 won't be reset
during APD reset. So no need to init DDR again after reboot, but need to
reconfigure the PLL4 PFD/PFDDIV/LPAV NIC etc, because kernel may
change or disable some of them.

Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/include/asm/arch-imx8ulp/cgc.h
arch/arm/mach-imx/imx8ulp/cgc.c
arch/arm/mach-imx/imx8ulp/clock.c
board/freescale/imx8ulp_evk/spl.c