Re: [PATCH] MIPS: alchemy: Share prom_init implementation

From: Thomas Bogendoerfer
Date: Tue Oct 06 2020 - 07:31:50 EST


On Mon, Oct 05, 2020 at 11:48:14AM +0200, Thomas Bogendoerfer wrote:
> All boards have the same prom_init() function. Move it to common code and
> delete the duplicates.
>
> Signed-off-by: Thomas Bogendoerfer <tsbogend@xxxxxxxxxxxxxxxx>
> ---
> arch/mips/alchemy/board-gpr.c | 17 -----------------
> arch/mips/alchemy/board-mtx1.c | 17 -----------------
> arch/mips/alchemy/board-xxs1500.c | 18 ------------------
> arch/mips/alchemy/common/prom.c | 20 ++++++++++++++++++++
> arch/mips/alchemy/devboards/platform.c | 17 -----------------
> 5 files changed, 20 insertions(+), 69 deletions(-)

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 ]