[PATCH v2 0/9] MIPS: Migrate pistachio to generic kernel
From: Jiaxun Yang
Date: Tue Jul 06 2021 - 23:16:31 EST
I'm lucky enough to get a Creator CI40 board from dusts.
This patchset move it to gerneic kernel to reduce maintenance burden.
It have been tested with SD Card boot.
--
v2: Minor fixes
Jiaxun Yang (9):
MIPS: generic: Allow generating FIT image for Marduk board
MIPS: DTS: Pistachio add missing cpc and cdmm
clk: pistachio: Make it selectable for generic MIPS kernel
clocksource/drivers/pistachio: Make it seletable for MIPS
phy: pistachio-usb: Depend on MIPS || COMPILE_TEST
pinctrl: pistachio: Make it as a option
MIPS: config: generic: Add config for Marduk board
MIPS: Retire MACH_PISTACHIO
MIPS: Make a alias for pistachio_defconfig
arch/mips/Kbuild.platforms | 1 -
arch/mips/Kconfig | 29 --
arch/mips/Makefile | 3 +
arch/mips/boot/dts/Makefile | 2 +-
arch/mips/boot/dts/img/Makefile | 3 +-
arch/mips/boot/dts/img/pistachio.dtsi | 10 +
arch/mips/configs/generic/board-marduk.config | 53 +++
arch/mips/configs/pistachio_defconfig | 316 ------------------
arch/mips/generic/Kconfig | 6 +
arch/mips/generic/Platform | 1 +
arch/mips/generic/board-marduk.its.S | 22 ++
arch/mips/pistachio/Kconfig | 14 -
arch/mips/pistachio/Makefile | 2 -
arch/mips/pistachio/Platform | 6 -
arch/mips/pistachio/init.c | 125 -------
arch/mips/pistachio/irq.c | 24 --
arch/mips/pistachio/time.c | 55 ---
drivers/clk/Kconfig | 1 +
drivers/clk/Makefile | 2 +-
drivers/clk/pistachio/Kconfig | 8 +
drivers/clocksource/Kconfig | 3 +-
drivers/phy/Kconfig | 2 +-
drivers/pinctrl/Kconfig | 5 +-
23 files changed, 114 insertions(+), 579 deletions(-)
create mode 100644 arch/mips/configs/generic/board-marduk.config
delete mode 100644 arch/mips/configs/pistachio_defconfig
create mode 100644 arch/mips/generic/board-marduk.its.S
delete mode 100644 arch/mips/pistachio/Kconfig
delete mode 100644 arch/mips/pistachio/Makefile
delete mode 100644 arch/mips/pistachio/Platform
delete mode 100644 arch/mips/pistachio/init.c
delete mode 100644 arch/mips/pistachio/irq.c
delete mode 100644 arch/mips/pistachio/time.c
create mode 100644 drivers/clk/pistachio/Kconfig
--
2.32.0