On 3/4/20 3:23 PM, Harald Seiler wrote: > From: Claudius Heine <c...@denx.de> > > Use the `do_reset` implementation of `arch/arm/lib/reset.c` in SPL > instead. It is very close to what is done here, anyway, and plays > more nicely with the rest of U-Boot than adding a custom `do_reset` > implementation into board files. > > `do_reset` from `arch/arm/lib/reset.c` calls `reset_cpu` with 0 as the > addr parameter while the boards are passing WDOG1_BASE_ADDR. This is > ok because the `reset_cpu` implementation uses WDOG1_BASE_ADDR by > default if 0 is passed in. > > Co-Authored-by: Harald Seiler <h...@denx.de> > Signed-off-by: Claudius Heine <c...@denx.de> > Signed-off-by: Harald Seiler <h...@denx.de> > --- > board/freescale/imx8mm_evk/spl.c | 9 --------- > board/freescale/imx8mn_evk/spl.c | 9 --------- > board/freescale/imx8mp_evk/spl.c | 9 --------- > board/toradex/verdin-imx8mm/spl.c | 9 --------- > 4 files changed, 36 deletions(-)
Reviewed-by: Marek Vasut <ma...@denx.de>