Re: [PATCH v2 05/21] mips: enable _machine_restart for spl

2020-11-03 Thread Simon Glass
On Fri, 30 Oct 2020 at 03:34, Weijie Gao wrote: > > The sysreset driver has a config CONFIG_SPL_SYSRESET for the spl stage. > Change CONFIG_SYSRESET to CONFIG_IS_ENABLED(SYSRESET) will give spl a > chance to use _machine_restart instead of the sysreset driver. > > Signed-off-by: Weijie Gao > ---

[PATCH v2 05/21] mips: enable _machine_restart for spl

2020-10-30 Thread Weijie Gao
The sysreset driver has a config CONFIG_SPL_SYSRESET for the spl stage. Change CONFIG_SYSRESET to CONFIG_IS_ENABLED(SYSRESET) will give spl a chance to use _machine_restart instead of the sysreset driver. Signed-off-by: Weijie Gao --- v2 changes: new --- arch/mips/cpu/cpu.c | 2 +- 1 file