Re: [PATCH 13/13] MIPS: ingenic: Drop obsolete code, merge the rest in setup.c

From: Thomas Bogendoerfer
Date: Wed Apr 29 2020 - 17:07:19 EST


On Mon, Apr 13, 2020 at 05:26:33PM +0200, Paul Cercueil wrote:
> Drop a bootload of 10-years-old dirty code, that is not used anymore, as
> it has been replaced with clean code over the ages.
>
> Merge the very few bits left inside setup.c, so that everything is clean
> and tidy now.
>
> Signed-off-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
> ---
> arch/mips/include/asm/mach-jz4740/base.h | 27 -----
> arch/mips/include/asm/mach-jz4740/dma.h | 23 ----
> arch/mips/include/asm/mach-jz4740/irq.h | 45 +-------
> arch/mips/include/asm/mach-jz4740/timer.h | 126 ----------------------
> arch/mips/jz4740/Makefile | 7 +-
> arch/mips/jz4740/pm.c | 34 ------
> arch/mips/jz4740/prom.c | 19 ----
> arch/mips/jz4740/reset.c | 24 -----
> arch/mips/jz4740/reset.h | 7 --
> arch/mips/jz4740/setup.c | 63 ++++++++++-
> arch/mips/jz4740/time.c | 17 ---
> arch/mips/jz4740/timer.c | 42 --------
> 12 files changed, 61 insertions(+), 373 deletions(-)
> delete mode 100644 arch/mips/include/asm/mach-jz4740/base.h
> delete mode 100644 arch/mips/include/asm/mach-jz4740/dma.h
> delete mode 100644 arch/mips/include/asm/mach-jz4740/timer.h
> delete mode 100644 arch/mips/jz4740/pm.c
> delete mode 100644 arch/mips/jz4740/prom.c
> delete mode 100644 arch/mips/jz4740/reset.c
> delete mode 100644 arch/mips/jz4740/reset.h
> delete mode 100644 arch/mips/jz4740/time.c
> delete mode 100644 arch/mips/jz4740/timer.c

applied to mips-next.

Thomas.

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