Re: [PATCH 1/2] MIPS: Loongson32: Remove reset.c

From: Thomas Bogendoerfer
Date: Thu Mar 30 2023 - 07:33:15 EST


On Thu, Mar 30, 2023 at 06:20:12PM +0800, Keguang Zhang wrote:
> The Loongson-1 restart handler will be moved to watchdog driver,
> then _machine_restart is no longer needed.
> The _machine_halt and pm_power_off are also unnecessary,
> which contain no hardware operations.
>
> Therefore, remove the entire reset.c and related header file.
> Update the Makefile accordingly.
>
> Signed-off-by: Keguang Zhang <keguang.zhang@xxxxxxxxx>
> ---
> .../include/asm/mach-loongson32/regs-wdt.h | 15 ------
> arch/mips/loongson32/common/Makefile | 2 +-
> arch/mips/loongson32/common/reset.c | 51 -------------------
> 3 files changed, 1 insertion(+), 67 deletions(-)
> delete mode 100644 arch/mips/include/asm/mach-loongson32/regs-wdt.h
> delete mode 100644 arch/mips/loongson32/common/reset.c

Acked-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>

--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]