[PATCH 1/2] arm: mach-rmobile: Move cpu_reset to rzg2-reset.c
Marek Vasut
marex at denx.de
Sun Aug 29 18:22:37 CEST 2021
On 8/27/21 10:57 PM, Adam Ford wrote:
> Various RZ/G2[MNH] boards have copies of cpu_reset which
> creates duplicate code, so move this to a common file shared
> among all users of the RZG2 and declare it weak so it can be
> overwritten if necessary.
RCar3 has the same reset code too, so this could be unified further.
However, I wonder, can't you simply call the PSCI reset ? There is a
PSCI reset driver in drivers/reset/ too I think.
More information about the U-Boot
mailing list