imx8ulp: clock: Reset DDR controller before clock enable
authorYe Li <ye.li@nxp.com>
Fri, 29 Oct 2021 01:46:26 +0000 (09:46 +0800)
committerStefano Babic <sbabic@denx.de>
Sat, 5 Feb 2022 12:38:39 +0000 (13:38 +0100)
commit55a7e7882da16d0a3e15a6dedf8fdb509b6fdf74
tree790c73c52329d261c3ecfa74c184c9738493d33d
parent9c7fbebe5dd5d9daa9160b778432daef2a13f47f
imx8ulp: clock: Reset DDR controller before clock enable

The LPAV is not allocated to APD when dual boot, so LPAV won't
reset when APD is reset. We have to explicitly reset the DDR,
otherwise its initialization will fail.

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/mach-imx/imx8ulp/clock.c