]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commitffb6e0c9b60de1ce86cd435233314cec11febb9d
treeb6d2bf9c03d739267d2b2243a89ce68e0ac7f38c
parent8c03bfa83244082255e97582692bbd5ecd68fb22
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