
On Thu, 16 Jan 2020 at 03:50, Claudius Heine ch@denx.de wrote:
Hi,
I have only tested compiling, but if the reset in the SPL on i.MX8MM and i.MX8MN still works with this patch applied, then we don't need board specific 'do_reset' function and special configurations flags for this case.
I currently don't have access to the hardware to test this.
regards, Claudius
-- >8 -- Subject: [RFC PATCH] imx: imx8mm-evk/imx8mn-evk: enable sysreset driver for SPL
Instead of implementing a custom reset function for the SPL, it can directly use the sysreset DM driver.
Signed-off-by: Claudius Heine ch@denx.de
arch/arm/mach-imx/imx8m/soc.c | 19 ------------------- board/freescale/imx8mm_evk/spl.c | 9 --------- board/freescale/imx8mn_evk/spl.c | 9 --------- configs/imx8mm_evk_defconfig | 1 + configs/imx8mn_ddr4_evk_defconfig | 1 + 5 files changed, 2 insertions(+), 37 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org