ARM: deprecated platform removal
Subsystems (56)
cover ARM: deprecated platform removal
From: Arnd Bergmann <[email protected]>
In the 7.3 kernel, I marked a number of platforms and features as deprecated, with the plan to keep these around for the LTS kernel, but remove them in 7.4, see [1].
Cleaning out the deprecated platform code has turned into a larger effort than I expected, currently standing at 300 patches, with a lot of them still in need of being split up into smaller ones, see [2] for a current snapshot.
The first series here removes just the bits in arch/arm/mach-*/, plus the portions that directly depend on the removed Kconfig symbols where these are trivial to remove.
The parts that are not included are those that remove architectural features and device drivers that become unused after this part. Some of those may also make their way into 7.4, but at this point I would target 7.5 for most of them, to keep the dependencies simple.
This also gives everyone a chance to voice their objections in case that some of the removed platform code does have active users after all, before all the corresponding drivers are gone.
Arnd
Links:
[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3
Arnd Bergmann (13):
ARM: remove sa1100 platform
ARM: remove footbridge
ARM: remove riscpc
ARM: remove legacy pxa board files
ARM: orion/dove/mv78xx0: remove all board files
ARM: omap2: remove omap24xx support
ARM: imx: remove i.MX31 SoC support
ARM: imx: remove nommu support
ARM: lpc18xx: remove entire platform
ARM: stm32: remove stm32f4/f7/h7 MCU support
ARM: versatile: remove mps2 support
ARM: at91: remove samv7 support
ARM: axxia: remove entire platform
Documentation/arch/arm/index.rst | 1 - Documentation/arch/arm/netwinder.rst | 85 - .../devicetree/bindings/arm/axxia.yaml | 23 - MAINTAINERS | 60 - arch/arm/Kconfig | 80 +- arch/arm/Kconfig.debug | 106 +- arch/arm/Makefile | 13 - arch/arm/boot/bootp/Makefile | 4 - arch/arm/boot/compressed/Makefile | 12 - arch/arm/boot/compressed/font.c | 2 - arch/arm/boot/compressed/head-sa1100.S | 45 - arch/arm/boot/compressed/head-sharpsl.S | 151 -- arch/arm/boot/compressed/head.S | 15 - arch/arm/boot/compressed/ll_char_wr.S | 131 -- arch/arm/boot/dts/arm/Makefile | 3 - arch/arm/boot/dts/arm/mps2-an385.dts | 92 - arch/arm/boot/dts/arm/mps2-an399.dts | 92 - arch/arm/boot/dts/arm/mps2.dtsi | 220 -- arch/arm/boot/dts/intel/Makefile | 1 - arch/arm/boot/dts/intel/axm/Makefile | 5 - .../boot/dts/intel/axm/axm5516-amarillo.dts | 47 - arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi | 200 -- arch/arm/boot/dts/intel/axm/axm55xx.dtsi | 200 -- arch/arm/boot/dts/nxp/imx/Makefile | 5 - arch/arm/boot/dts/nxp/imx/imx31-bug.dts | 22 - arch/arm/boot/dts/nxp/imx/imx31-lite.dts | 178 -- arch/arm/boot/dts/nxp/imx/imx31.dtsi | 371 ---- arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts | 72 - arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h | 993 --------- arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi | 160 -- arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 -------------- arch/arm/boot/dts/nxp/lpc/Makefile | 5 - arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi | 543 ----- arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts | 221 -- .../boot/dts/nxp/lpc/lpc4350-hitex-eval.dts | 485 ----- arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi | 48 - .../dts/nxp/lpc/lpc4357-ea4357-devkit.dts | 624 ------ .../boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts | 621 ------ arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi | 52 - arch/arm/boot/dts/nxp/vf/Makefile | 2 - arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts | 61 - arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts | 88 - arch/arm/boot/dts/nxp/vf/vf610m4.dtsi | 61 - arch/arm/boot/dts/st/Makefile | 11 - arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi | 482 ----- arch/arm/boot/dts/st/stm32f429-disco.dts | 243 --- arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi | 91 - arch/arm/boot/dts/st/stm32f429.dtsi | 800 -------- arch/arm/boot/dts/st/stm32f469-disco.dts | 260 --- arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi | 92 - arch/arm/boot/dts/st/stm32f469.dtsi | 18 - arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 436 ---- arch/arm/boot/dts/st/stm32f746-disco.dts | 234 --- arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi | 55 - arch/arm/boot/dts/st/stm32f746.dtsi | 727 ------- .../dts/st/stm32f769-disco-mb1166-reva09.dts | 13 - arch/arm/boot/dts/st/stm32f769-disco.dts | 243 --- arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi | 55 - arch/arm/boot/dts/st/stm32f769.dtsi | 37 - arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 301 --- arch/arm/boot/dts/st/stm32h743.dtsi | 738 ------- arch/arm/boot/dts/st/stm32h743i-disco.dts | 145 -- arch/arm/boot/dts/st/stm32h743i-eval.dts | 185 -- arch/arm/boot/dts/st/stm32h747i-disco.dts | 149 -- arch/arm/boot/dts/st/stm32h750.dtsi | 6 - arch/arm/boot/dts/st/stm32h750i-art-pi.dts | 229 --- arch/arm/boot/dts/ti/omap/Makefile | 6 - arch/arm/boot/dts/ti/omap/omap2.dtsi | 338 ---- .../arm/boot/dts/ti/omap/omap2420-clocks.dtsi | 267 --- arch/arm/boot/dts/ti/omap/omap2420-h4.dts | 63 - arch/arm/boot/dts/ti/omap/omap2420-n800.dts | 9 - .../boot/dts/ti/omap/omap2420-n810-wimax.dts | 9 - arch/arm/boot/dts/ti/omap/omap2420-n810.dts | 75 - .../dts/ti/omap/omap2420-n8x0-common.dtsi | 123 -- arch/arm/boot/dts/ti/omap/omap2420.dtsi | 262 --- .../arm/boot/dts/ti/omap/omap2430-clocks.dtsi | 341 ---- arch/arm/boot/dts/ti/omap/omap2430-sdp.dts | 70 - arch/arm/boot/dts/ti/omap/omap2430.dtsi | 366 ---- .../arm/boot/dts/ti/omap/omap24xx-clocks.dtsi | 1241 ------------ arch/arm/common/Kconfig | 13 - arch/arm/common/Makefile | 4 - arch/arm/common/locomo.c | 886 -------- arch/arm/common/sa1111.c | 1413 ------------- arch/arm/common/scoop.c | 269 --- arch/arm/common/sharpsl_param.c | 63 - arch/arm/configs/am200epdkit_defconfig | 91 - arch/arm/configs/assabet_defconfig | 57 - arch/arm/configs/axm55xx_defconfig | 231 --- arch/arm/configs/collie_defconfig | 87 - arch/arm/configs/dove_defconfig | 134 -- arch/arm/configs/footbridge_defconfig | 114 -- arch/arm/configs/h3600_defconfig | 63 - arch/arm/configs/imx_v6_v7_defconfig | 1 - arch/arm/configs/imxrt_defconfig | 35 - arch/arm/configs/jornada720_defconfig | 95 - arch/arm/configs/lpc18xx_defconfig | 158 -- arch/arm/configs/mps2_defconfig | 102 - arch/arm/configs/mv78xx0_defconfig | 120 -- arch/arm/configs/neponset_defconfig | 88 - arch/arm/configs/netwinder_defconfig | 88 - arch/arm/configs/omap2plus_defconfig | 2 - arch/arm/configs/rpc_defconfig | 127 -- arch/arm/configs/spitz_defconfig | 237 --- arch/arm/configs/stm32_defconfig | 80 - arch/arm/configs/vf610m4_defconfig | 39 - arch/arm/include/asm/ecard.h | 219 -- arch/arm/include/asm/hardware/dec21285.h | 138 -- arch/arm/include/asm/hardware/ioc.h | 69 - arch/arm/include/asm/hardware/iomd.h | 182 -- arch/arm/include/asm/hardware/locomo.h | 217 -- arch/arm/include/asm/hardware/memc.h | 23 - arch/arm/include/asm/hardware/scoop.h | 67 - arch/arm/include/asm/hardware/ssp.h | 25 - arch/arm/include/asm/io.h | 5 +- arch/arm/include/asm/mach/pci.h | 14 - arch/arm/include/asm/mach/sharpsl_param.h | 33 - arch/arm/include/asm/memory.h | 3 - arch/arm/include/debug/dc21285.S | 41 - arch/arm/include/debug/sa1100.S | 67 - arch/arm/kernel/atags_parse.c | 18 - arch/arm/kernel/bios32.c | 12 - arch/arm/kernel/head-common.S | 13 - arch/arm/kernel/head.S | 22 - arch/arm/lib/delay-loop.S | 4 - arch/arm/mach-at91/Kconfig | 11 +- arch/arm/mach-at91/Makefile | 1 - arch/arm/mach-at91/samv7.c | 17 - arch/arm/mach-axxia/Kconfig | 17 - arch/arm/mach-axxia/Makefile | 3 - arch/arm/mach-axxia/axxia.c | 19 - arch/arm/mach-axxia/platsmp.c | 87 - arch/arm/mach-dove/Kconfig | 32 - arch/arm/mach-dove/Makefile | 7 - arch/arm/mach-dove/bridge-regs.h | 50 - arch/arm/mach-dove/cm-a510.c | 94 - arch/arm/mach-dove/common.c | 449 ---- arch/arm/mach-dove/common.h | 46 - arch/arm/mach-dove/dove.h | 185 -- arch/arm/mach-dove/irq.c | 81 - arch/arm/mach-dove/irqs.h | 89 - arch/arm/mach-dove/mpp.c | 159 -- arch/arm/mach-dove/mpp.h | 197 -- arch/arm/mach-dove/pcie.c | 226 --- arch/arm/mach-dove/pm.h | 58 - arch/arm/mach-footbridge/Kconfig | 57 - arch/arm/mach-footbridge/Makefile | 18 - arch/arm/mach-footbridge/common.c | 280 --- arch/arm/mach-footbridge/common.h | 15 - arch/arm/mach-footbridge/dc21285-timer.c | 136 -- arch/arm/mach-footbridge/dc21285.c | 360 ---- arch/arm/mach-footbridge/dma-isa.c | 230 --- arch/arm/mach-footbridge/ebsa285-pci.c | 48 - arch/arm/mach-footbridge/ebsa285.c | 124 -- .../mach-footbridge/include/mach/hardware.h | 90 - arch/arm/mach-footbridge/include/mach/irqs.h | 97 - .../mach-footbridge/include/mach/isa-dma.h | 18 - .../arm/mach-footbridge/include/mach/memory.h | 26 - .../mach-footbridge/include/mach/uncompress.h | 34 - arch/arm/mach-footbridge/isa-irq.c | 177 -- arch/arm/mach-footbridge/isa-rtc.c | 57 - arch/arm/mach-footbridge/isa-timer.c | 36 - arch/arm/mach-footbridge/isa.c | 94 - arch/arm/mach-footbridge/netwinder-hw.c | 772 ------- arch/arm/mach-footbridge/netwinder-pci.c | 62 - arch/arm/mach-imx/Kconfig | 38 +- arch/arm/mach-imx/Makefile | 4 - arch/arm/mach-imx/cpu-imx31.c | 72 - arch/arm/mach-imx/mach-imx31.c | 18 - arch/arm/mach-imx/mach-imx7d-cm4.c | 18 - arch/arm/mach-imx/mach-imxrt.c | 19 - arch/arm/mach-imx/mm-imx3.c | 44 - arch/arm/mach-lpc18xx/Makefile | 2 - arch/arm/mach-lpc18xx/board-dt.c | 19 - arch/arm/mach-mv78xx0/Kconfig | 27 - arch/arm/mach-mv78xx0/Makefile | 5 - arch/arm/mach-mv78xx0/bridge-regs.h | 31 - arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 183 -- arch/arm/mach-mv78xx0/common.c | 444 ---- arch/arm/mach-mv78xx0/common.h | 54 - arch/arm/mach-mv78xx0/irq.c | 69 - arch/arm/mach-mv78xx0/irqs.h | 87 - arch/arm/mach-mv78xx0/mpp.c | 34 - arch/arm/mach-mv78xx0/mpp.h | 337 --- arch/arm/mach-mv78xx0/mv78xx0.h | 134 -- arch/arm/mach-mv78xx0/pcie.c | 280 --- arch/arm/mach-omap2/Kconfig | 62 +- arch/arm/mach-omap2/Makefile | 63 +- arch/arm/mach-omap2/board-generic.c | 34 - arch/arm/mach-omap2/board-n8x0.c | 512 ----- arch/arm/mach-omap2/clkt2xxx_dpll.c | 56 - arch/arm/mach-omap2/clkt2xxx_dpllcore.c | 194 -- arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 259 --- arch/arm/mach-omap2/clock.c | 12 +- arch/arm/mach-omap2/clock2xxx.h | 17 - arch/arm/mach-omap2/clockdomain.c | 4 +- arch/arm/mach-omap2/clockdomain.h | 5 - arch/arm/mach-omap2/clockdomains2420_data.c | 154 -- arch/arm/mach-omap2/clockdomains2430_data.c | 181 -- .../mach-omap2/clockdomains2xxx_3xxx_data.c | 29 +- arch/arm/mach-omap2/cm-regbits-24xx.h | 51 - arch/arm/mach-omap2/cm2xxx.c | 302 --- arch/arm/mach-omap2/cm2xxx.h | 60 - arch/arm/mach-omap2/cm_common.c | 12 - arch/arm/mach-omap2/common-board-devices.h | 11 - arch/arm/mach-omap2/common.h | 12 - arch/arm/mach-omap2/control.h | 56 - arch/arm/mach-omap2/display.c | 4 +- arch/arm/mach-omap2/dma.c | 53 +- arch/arm/mach-omap2/fb.c | 14 +- arch/arm/mach-omap2/gpmc.h | 10 - arch/arm/mach-omap2/i2c.c | 2 +- arch/arm/mach-omap2/id.c | 80 +- arch/arm/mach-omap2/io.c | 140 +- arch/arm/mach-omap2/iomap.h | 46 - arch/arm/mach-omap2/l3_2xxx.h | 15 - arch/arm/mach-omap2/l4_2xxx.h | 19 - arch/arm/mach-omap2/mmc.h | 18 - arch/arm/mach-omap2/msdi.c | 75 - arch/arm/mach-omap2/omap2-restart.c | 62 - arch/arm/mach-omap2/omap24xx.h | 73 - arch/arm/mach-omap2/omap_hwmod.c | 18 +- arch/arm/mach-omap2/omap_hwmod.h | 2 - arch/arm/mach-omap2/omap_hwmod_2420_data.c | 402 ---- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 606 ------ .../omap_hwmod_2xxx_interconnect_data.c | 256 --- .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 668 ------ arch/arm/mach-omap2/omap_hwmod_common_data.h | 66 - arch/arm/mach-omap2/opp2420_data.c | 131 -- arch/arm/mach-omap2/opp2430_data.c | 136 -- arch/arm/mach-omap2/opp2xxx.h | 430 ---- arch/arm/mach-omap2/pdata-quirks.c | 35 +- arch/arm/mach-omap2/pm.h | 5 - arch/arm/mach-omap2/powerdomain.h | 3 - arch/arm/mach-omap2/powerdomains2xxx_data.c | 134 -- arch/arm/mach-omap2/prcm-common.h | 147 -- arch/arm/mach-omap2/prm-regbits-24xx.h | 39 - arch/arm/mach-omap2/prm2xxx.c | 229 --- arch/arm/mach-omap2/prm2xxx.h | 128 -- arch/arm/mach-omap2/prm2xxx_3xxx.c | 1 - arch/arm/mach-omap2/prm_common.c | 11 - arch/arm/mach-omap2/sdrc.h | 21 - arch/arm/mach-omap2/sdrc2xxx.c | 164 -- arch/arm/mach-omap2/sleep24xx.S | 91 - arch/arm/mach-omap2/soc.h | 59 - arch/arm/mach-omap2/sram.c | 159 +- arch/arm/mach-omap2/sram.h | 32 - arch/arm/mach-omap2/sram242x.S | 317 --- arch/arm/mach-omap2/sram243x.S | 317 --- arch/arm/mach-omap2/usb-tusb6010.c | 217 -- arch/arm/mach-omap2/usb-tusb6010.h | 12 - arch/arm/mach-omap2/voltagedomains2xxx_data.c | 29 - arch/arm/mach-orion5x/Kconfig | 95 - arch/arm/mach-orion5x/Makefile | 9 - arch/arm/mach-orion5x/board-dt.c | 3 +- arch/arm/mach-orion5x/common.c | 238 +-- arch/arm/mach-orion5x/common.h | 15 - arch/arm/mach-orion5x/dns323-setup.c | 757 ------- arch/arm/mach-orion5x/kurobox_pro-setup.c | 407 ---- arch/arm/mach-orion5x/mv2120-setup.c | 256 --- arch/arm/mach-orion5x/net2big-setup.c | 444 ---- arch/arm/mach-orion5x/pci.c | 1 - .../arm/mach-orion5x/terastation_pro2-setup.c | 366 ---- arch/arm/mach-orion5x/ts209-setup.c | 331 --- arch/arm/mach-orion5x/ts409-setup.c | 329 --- arch/arm/mach-orion5x/ts78xx-fpga.h | 42 - arch/arm/mach-orion5x/ts78xx-setup.c | 574 ------ arch/arm/mach-orion5x/tsx09-common.c | 129 -- arch/arm/mach-orion5x/tsx09-common.h | 21 - arch/arm/mach-pxa/Kconfig | 89 - arch/arm/mach-pxa/Makefile | 8 - arch/arm/mach-pxa/am200epd.c | 395 ---- arch/arm/mach-pxa/am300epd.c | 296 --- arch/arm/mach-pxa/devices.c | 705 ------- arch/arm/mach-pxa/devices.h | 68 - arch/arm/mach-pxa/generic.h | 5 - arch/arm/mach-pxa/gumstix.c | 237 --- arch/arm/mach-pxa/gumstix.h | 89 - arch/arm/mach-pxa/pxa25x.c | 59 - arch/arm/mach-pxa/pxa27x.c | 77 - arch/arm/mach-pxa/pxa300.c | 1 - arch/arm/mach-pxa/pxa320.c | 1 - arch/arm/mach-pxa/pxa3xx.c | 6 - arch/arm/mach-pxa/sharpsl_pm.c | 941 --------- arch/arm/mach-pxa/sharpsl_pm.h | 108 - arch/arm/mach-pxa/spitz.c | 1174 ----------- arch/arm/mach-pxa/spitz.h | 185 -- arch/arm/mach-pxa/spitz_pm.c | 257 --- arch/arm/mach-rpc/Kconfig | 24 - arch/arm/mach-rpc/Makefile | 9 - arch/arm/mach-rpc/dma.c | 393 ---- arch/arm/mach-rpc/ecard-loader.S | 40 - arch/arm/mach-rpc/ecard.c | 1146 ----------- arch/arm/mach-rpc/ecard.h | 66 - arch/arm/mach-rpc/fiq.S | 18 - arch/arm/mach-rpc/floppydma.S | 29 - arch/arm/mach-rpc/include/mach/acornfb.h | 137 -- arch/arm/mach-rpc/include/mach/hardware.h | 73 - arch/arm/mach-rpc/include/mach/io.h | 28 - arch/arm/mach-rpc/include/mach/irqs.h | 42 - arch/arm/mach-rpc/include/mach/isa-dma.h | 26 - arch/arm/mach-rpc/include/mach/memory.h | 32 - arch/arm/mach-rpc/include/mach/uncompress.h | 181 -- arch/arm/mach-rpc/io-acorn.S | 28 - arch/arm/mach-rpc/irq.c | 226 --- arch/arm/mach-rpc/riscpc.c | 225 --- arch/arm/mach-rpc/time.c | 97 - arch/arm/mach-sa1100/Kconfig | 92 - arch/arm/mach-sa1100/Makefile | 20 - arch/arm/mach-sa1100/assabet.c | 770 ------- arch/arm/mach-sa1100/clock.c | 145 -- arch/arm/mach-sa1100/collie.c | 447 ---- arch/arm/mach-sa1100/generic.c | 470 ----- arch/arm/mach-sa1100/generic.h | 58 - arch/arm/mach-sa1100/h3600.c | 134 -- arch/arm/mach-sa1100/h3xxx.c | 305 --- arch/arm/mach-sa1100/include/mach/SA-1100.h | 1798 ----------------- arch/arm/mach-sa1100/include/mach/assabet.h | 99 - arch/arm/mach-sa1100/include/mach/bitfield.h | 113 -- arch/arm/mach-sa1100/include/mach/collie.h | 94 - arch/arm/mach-sa1100/include/mach/generic.h | 1 - arch/arm/mach-sa1100/include/mach/h3xxx.h | 81 - arch/arm/mach-sa1100/include/mach/hardware.h | 56 - arch/arm/mach-sa1100/include/mach/irqs.h | 101 - .../arm/mach-sa1100/include/mach/jornada720.h | 28 - arch/arm/mach-sa1100/include/mach/memory.h | 37 - arch/arm/mach-sa1100/include/mach/mtd-xip.h | 23 - arch/arm/mach-sa1100/include/mach/neponset.h | 31 - arch/arm/mach-sa1100/include/mach/reset.h | 18 - .../arm/mach-sa1100/include/mach/uncompress.h | 52 - arch/arm/mach-sa1100/jornada720.c | 380 ---- arch/arm/mach-sa1100/jornada720_ssp.c | 202 -- arch/arm/mach-sa1100/neponset.c | 438 ---- arch/arm/mach-sa1100/pm.c | 128 -- arch/arm/mach-sa1100/sleep.S | 143 -- arch/arm/mach-sa1100/ssp.c | 240 --- arch/arm/mach-stm32/Kconfig | 38 +- arch/arm/mach-versatile/Makefile | 3 - arch/arm/mach-versatile/v2m-mps2.c | 17 - arch/arm/mm/Kconfig | 2 +- arch/arm/mm/init.c | 5 - arch/arm/mm/mmu.c | 10 +- arch/arm/plat-orion/Makefile | 2 +- arch/arm/plat-orion/common.c | 826 -------- arch/arm/plat-orion/include/plat/addr-map.h | 54 - arch/arm/plat-orion/include/plat/common.h | 104 - arch/arm/plat-orion/include/plat/time.h | 20 - arch/arm/plat-orion/pcie.c | 1 - arch/arm/plat-orion/time.c | 238 --- block/partitions/Kconfig | 7 - drivers/ata/Kconfig | 3 +- drivers/crypto/Kconfig | 2 +- drivers/i2c/busses/Kconfig | 2 +- drivers/media/platform/ti/omap/Kconfig | 4 +- drivers/mmc/host/Kconfig | 2 +- drivers/mtd/nand/onenand/Kconfig | 4 +- drivers/pci/controller/Kconfig | 2 +- drivers/phy/marvell/Kconfig | 2 +- drivers/rtc/Kconfig | 6 +- drivers/rtc/rtc-sa1100.c | 16 +- drivers/soc/Makefile | 1 - drivers/soc/atmel/soc.c | 35 - drivers/thermal/Kconfig | 2 +- drivers/tty/vt/keyboard.c | 2 +- drivers/video/console/Kconfig | 6 +- drivers/video/console/dummycon.c | 6 - drivers/video/fbdev/cyber2000fb.c | 10 - drivers/video/fbdev/omap2/omapfb/Kconfig | 2 +- drivers/watchdog/Kconfig | 14 +- include/linux/clk/ti.h | 8 - lib/fonts/font_acorn_8x8.c | 4 - sound/soc/kirkwood/Kconfig | 2 +- 371 files changed, 115 insertions(+), 55679 deletions(-) delete mode 100644 Documentation/arch/arm/netwinder.rst delete mode 100644 Documentation/devicetree/bindings/arm/axxia.yaml delete mode 100644 arch/arm/boot/compressed/font.c delete mode 100644 arch/arm/boot/compressed/head-sa1100.S delete mode 100644 arch/arm/boot/compressed/head-sharpsl.S delete mode 100644 arch/arm/boot/compressed/ll_char_wr.S delete mode 100644 arch/arm/boot/dts/arm/mps2-an385.dts delete mode 100644 arch/arm/boot/dts/arm/mps2-an399.dts delete mode 100644 arch/arm/boot/dts/arm/mps2.dtsi delete mode 100644 arch/arm/boot/dts/intel/axm/Makefile delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi delete mode 100644 arch/arm/boot/dts/intel/axm/axm55xx.dtsi delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-bug.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-lite.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31.dtsi delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350-hitex-eval.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-ea4357-devkit.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f429-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f429.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f469-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f469.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f746-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f746.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h743.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h743i-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32h743i-eval.dts delete mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32h750.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h750i-art-pi.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-h4.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n800.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi delete mode 100644 arch/arm/common/locomo.c delete mode 100644 arch/arm/common/sa1111.c delete mode 100644 arch/arm/common/scoop.c delete mode 100644 arch/arm/common/sharpsl_param.c delete mode 100644 arch/arm/configs/am200epdkit_defconfig delete mode 100644 arch/arm/configs/assabet_defconfig delete mode 100644 arch/arm/configs/axm55xx_defconfig delete mode 100644 arch/arm/configs/collie_defconfig delete mode 100644 arch/arm/configs/dove_defconfig delete mode 100644 arch/arm/configs/footbridge_defconfig delete mode 100644 arch/arm/configs/h3600_defconfig delete mode 100644 arch/arm/configs/imxrt_defconfig delete mode 100644 arch/arm/configs/jornada720_defconfig delete mode 100644 arch/arm/configs/lpc18xx_defconfig delete mode 100644 arch/arm/configs/mps2_defconfig delete mode 100644 arch/arm/configs/mv78xx0_defconfig delete mode 100644 arch/arm/configs/neponset_defconfig delete mode 100644 arch/arm/configs/netwinder_defconfig delete mode 100644 arch/arm/configs/rpc_defconfig delete mode 100644 arch/arm/configs/spitz_defconfig delete mode 100644 arch/arm/configs/stm32_defconfig delete mode 100644 arch/arm/configs/vf610m4_defconfig delete mode 100644 arch/arm/include/asm/ecard.h delete mode 100644 arch/arm/include/asm/hardware/dec21285.h delete mode 100644 arch/arm/include/asm/hardware/ioc.h delete mode 100644 arch/arm/include/asm/hardware/iomd.h delete mode 100644 arch/arm/include/asm/hardware/locomo.h delete mode 100644 arch/arm/include/asm/hardware/memc.h delete mode 100644 arch/arm/include/asm/hardware/scoop.h delete mode 100644 arch/arm/include/asm/hardware/ssp.h delete mode 100644 arch/arm/include/asm/mach/sharpsl_param.h delete mode 100644 arch/arm/include/debug/dc21285.S delete mode 100644 arch/arm/include/debug/sa1100.S delete mode 100644 arch/arm/mach-at91/samv7.c delete mode 100644 arch/arm/mach-axxia/Kconfig delete mode 100644 arch/arm/mach-axxia/Makefile delete mode 100644 arch/arm/mach-axxia/axxia.c delete mode 100644 arch/arm/mach-axxia/platsmp.c delete mode 100644 arch/arm/mach-dove/Kconfig delete mode 100644 arch/arm/mach-dove/Makefile delete mode 100644 arch/arm/mach-dove/bridge-regs.h delete mode 100644 arch/arm/mach-dove/cm-a510.c delete mode 100644 arch/arm/mach-dove/common.c delete mode 100644 arch/arm/mach-dove/common.h delete mode 100644 arch/arm/mach-dove/dove.h delete mode 100644 arch/arm/mach-dove/irq.c delete mode 100644 arch/arm/mach-dove/irqs.h delete mode 100644 arch/arm/mach-dove/mpp.c delete mode 100644 arch/arm/mach-dove/mpp.h delete mode 100644 arch/arm/mach-dove/pcie.c delete mode 100644 arch/arm/mach-dove/pm.h delete mode 100644 arch/arm/mach-footbridge/Kconfig delete mode 100644 arch/arm/mach-footbridge/Makefile delete mode 100644 arch/arm/mach-footbridge/common.c delete mode 100644 arch/arm/mach-footbridge/common.h delete mode 100644 arch/arm/mach-footbridge/dc21285-timer.c delete mode 100644 arch/arm/mach-footbridge/dc21285.c delete mode 100644 arch/arm/mach-footbridge/dma-isa.c delete mode 100644 arch/arm/mach-footbridge/ebsa285-pci.c delete mode 100644 arch/arm/mach-footbridge/ebsa285.c delete mode 100644 arch/arm/mach-footbridge/include/mach/hardware.h delete mode 100644 arch/arm/mach-footbridge/include/mach/irqs.h delete mode 100644 arch/arm/mach-footbridge/include/mach/isa-dma.h delete mode 100644 arch/arm/mach-footbridge/include/mach/memory.h delete mode 100644 arch/arm/mach-footbridge/include/mach/uncompress.h delete mode 100644 arch/arm/mach-footbridge/isa-irq.c delete mode 100644 arch/arm/mach-footbridge/isa-rtc.c delete mode 100644 arch/arm/mach-footbridge/isa-timer.c delete mode 100644 arch/arm/mach-footbridge/isa.c delete mode 100644 arch/arm/mach-footbridge/netwinder-hw.c delete mode 100644 arch/arm/mach-footbridge/netwinder-pci.c delete mode 100644 arch/arm/mach-imx/cpu-imx31.c delete mode 100644 arch/arm/mach-imx/mach-imx31.c delete mode 100644 arch/arm/mach-imx/mach-imx7d-cm4.c delete mode 100644 arch/arm/mach-imx/mach-imxrt.c delete mode 100644 arch/arm/mach-lpc18xx/Makefile delete mode 100644 arch/arm/mach-lpc18xx/board-dt.c delete mode 100644 arch/arm/mach-mv78xx0/Kconfig delete mode 100644 arch/arm/mach-mv78xx0/Makefile delete mode 100644 arch/arm/mach-mv78xx0/bridge-regs.h delete mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c delete mode 100644 arch/arm/mach-mv78xx0/common.c delete mode 100644 arch/arm/mach-mv78xx0/common.h delete mode 100644 arch/arm/mach-mv78xx0/irq.c delete mode 100644 arch/arm/mach-mv78xx0/irqs.h delete mode 100644 arch/arm/mach-mv78xx0/mpp.c delete mode 100644 arch/arm/mach-mv78xx0/mpp.h delete mode 100644 arch/arm/mach-mv78xx0/mv78xx0.h delete mode 100644 arch/arm/mach-mv78xx0/pcie.c delete mode 100644 arch/arm/mach-omap2/board-n8x0.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpllcore.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c delete mode 100644 arch/arm/mach-omap2/clock2xxx.h delete mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c delete mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c delete mode 100644 arch/arm/mach-omap2/cm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/cm2xxx.c delete mode 100644 arch/arm/mach-omap2/cm2xxx.h delete mode 100644 arch/arm/mach-omap2/common-board-devices.h delete mode 100644 arch/arm/mach-omap2/gpmc.h delete mode 100644 arch/arm/mach-omap2/l3_2xxx.h delete mode 100644 arch/arm/mach-omap2/l4_2xxx.h delete mode 100644 arch/arm/mach-omap2/mmc.h delete mode 100644 arch/arm/mach-omap2/msdi.c delete mode 100644 arch/arm/mach-omap2/omap2-restart.c delete mode 100644 arch/arm/mach-omap2/omap24xx.h delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2420_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2430_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c delete mode 100644 arch/arm/mach-omap2/opp2420_data.c delete mode 100644 arch/arm/mach-omap2/opp2430_data.c delete mode 100644 arch/arm/mach-omap2/opp2xxx.h delete mode 100644 arch/arm/mach-omap2/powerdomains2xxx_data.c delete mode 100644 arch/arm/mach-omap2/prm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/prm2xxx.c delete mode 100644 arch/arm/mach-omap2/prm2xxx.h delete mode 100644 arch/arm/mach-omap2/sdrc2xxx.c delete mode 100644 arch/arm/mach-omap2/sleep24xx.S delete mode 100644 arch/arm/mach-omap2/sram242x.S delete mode 100644 arch/arm/mach-omap2/sram243x.S delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.c delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.h delete mode 100644 arch/arm/mach-omap2/voltagedomains2xxx_data.c delete mode 100644 arch/arm/mach-orion5x/dns323-setup.c delete mode 100644 arch/arm/mach-orion5x/kurobox_pro-setup.c delete mode 100644 arch/arm/mach-orion5x/mv2120-setup.c delete mode 100644 arch/arm/mach-orion5x/net2big-setup.c delete mode 100644 arch/arm/mach-orion5x/terastation_pro2-setup.c delete mode 100644 arch/arm/mach-orion5x/ts209-setup.c delete mode 100644 arch/arm/mach-orion5x/ts409-setup.c delete mode 100644 arch/arm/mach-orion5x/ts78xx-fpga.h delete mode 100644 arch/arm/mach-orion5x/ts78xx-setup.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.h delete mode 100644 arch/arm/mach-pxa/am200epd.c delete mode 100644 arch/arm/mach-pxa/am300epd.c delete mode 100644 arch/arm/mach-pxa/devices.h delete mode 100644 arch/arm/mach-pxa/gumstix.c delete mode 100644 arch/arm/mach-pxa/gumstix.h delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.c delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.h delete mode 100644 arch/arm/mach-pxa/spitz.c delete mode 100644 arch/arm/mach-pxa/spitz.h delete mode 100644 arch/arm/mach-pxa/spitz_pm.c delete mode 100644 arch/arm/mach-rpc/Kconfig delete mode 100644 arch/arm/mach-rpc/Makefile delete mode 100644 arch/arm/mach-rpc/dma.c delete mode 100644 arch/arm/mach-rpc/ecard-loader.S delete mode 100644 arch/arm/mach-rpc/ecard.c delete mode 100644 arch/arm/mach-rpc/ecard.h delete mode 100644 arch/arm/mach-rpc/fiq.S delete mode 100644 arch/arm/mach-rpc/floppydma.S delete mode 100644 arch/arm/mach-rpc/include/mach/acornfb.h delete mode 100644 arch/arm/mach-rpc/include/mach/hardware.h delete mode 100644 arch/arm/mach-rpc/include/mach/io.h delete mode 100644 arch/arm/mach-rpc/include/mach/irqs.h delete mode 100644 arch/arm/mach-rpc/include/mach/isa-dma.h delete mode 100644 arch/arm/mach-rpc/include/mach/memory.h delete mode 100644 arch/arm/mach-rpc/include/mach/uncompress.h delete mode 100644 arch/arm/mach-rpc/io-acorn.S delete mode 100644 arch/arm/mach-rpc/irq.c delete mode 100644 arch/arm/mach-rpc/riscpc.c delete mode 100644 arch/arm/mach-rpc/time.c delete mode 100644 arch/arm/mach-sa1100/Kconfig delete mode 100644 arch/arm/mach-sa1100/Makefile delete mode 100644 arch/arm/mach-sa1100/assabet.c delete mode 100644 arch/arm/mach-sa1100/clock.c delete mode 100644 arch/arm/mach-sa1100/collie.c delete mode 100644 arch/arm/mach-sa1100/generic.c delete mode 100644 arch/arm/mach-sa1100/generic.h delete mode 100644 arch/arm/mach-sa1100/h3600.c delete mode 100644 arch/arm/mach-sa1100/h3xxx.c delete mode 100644 arch/arm/mach-sa1100/include/mach/SA-1100.h delete mode 100644 arch/arm/mach-sa1100/include/mach/assabet.h delete mode 100644 arch/arm/mach-sa1100/include/mach/bitfield.h delete mode 100644 arch/arm/mach-sa1100/include/mach/collie.h delete mode 100644 arch/arm/mach-sa1100/include/mach/generic.h delete mode 100644 arch/arm/mach-sa1100/include/mach/h3xxx.h delete mode 100644 arch/arm/mach-sa1100/include/mach/hardware.h delete mode 100644 arch/arm/mach-sa1100/include/mach/irqs.h delete mode 100644 arch/arm/mach-sa1100/include/mach/jornada720.h delete mode 100644 arch/arm/mach-sa1100/include/mach/memory.h delete mode 100644 arch/arm/mach-sa1100/include/mach/mtd-xip.h delete mode 100644 arch/arm/mach-sa1100/include/mach/neponset.h delete mode 100644 arch/arm/mach-sa1100/include/mach/reset.h delete mode 100644 arch/arm/mach-sa1100/include/mach/uncompress.h delete mode 100644 arch/arm/mach-sa1100/jornada720.c delete mode 100644 arch/arm/mach-sa1100/jornada720_ssp.c delete mode 100644 arch/arm/mach-sa1100/neponset.c delete mode 100644 arch/arm/mach-sa1100/pm.c delete mode 100644 arch/arm/mach-sa1100/sleep.S delete mode 100644 arch/arm/mach-sa1100/ssp.c delete mode 100644 arch/arm/mach-versatile/v2m-mps2.c delete mode 100644 arch/arm/plat-orion/common.c delete mode 100644 arch/arm/plat-orion/include/plat/addr-map.h delete mode 100644 arch/arm/plat-orion/include/plat/common.h delete mode 100644 arch/arm/plat-orion/include/plat/time.h delete mode 100644 arch/arm/plat-orion/time.c
Signature · 45 lines
2.53.0 Cc: Krzysztof Kozlowski <[email protected]> Cc: Rob Herring <[email protected]> Cc: Conor Dooley <[email protected]> Cc: Russell King <[email protected]> Cc: Liviu Dudau <[email protected]> Cc: Sudeep Holla <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Frank Li <[email protected]> Cc: Sascha Hauer <[email protected]> Cc: Pengutronix Kernel Team <[email protected]> Cc: Fabio Estevam <[email protected]> Cc: Vladimir Zapolskiy <[email protected]> Cc: Stefan Agner <[email protected]> Cc: Maxime Coquelin <[email protected]> Cc: Alexandre Torgue <[email protected]> Cc: Aaro Koskinen <[email protected]> Cc: Andreas Kemnade <[email protected]> Cc: Kevin Hilman <[email protected]> Cc: Roger Quadros <[email protected]> Cc: Tony Lindgren <[email protected]> Cc: Nicolas Ferre <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Claudiu Beznea <[email protected]> Cc: Andrew Lunn <[email protected]> Cc: Sebastian Hesselbarth <[email protected]> Cc: Gregory Clement <[email protected]> Cc: Robert Jarzmik <[email protected]> Cc: Kristoffer Ericson <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Ethan Nelson-Moore <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Cc: Alexander Sverdlin <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Karl Mehltretter <[email protected]> Cc: "David Hildenbrand (Arm)" <[email protected]> Cc: Nicolas Pitre <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected]
PATCH 1/13 ARM: remove sa1100 platform
From: Arnd Bergmann <[email protected]>
Most sa1100 platforms were removed a few years, with the remaining ones left as a starting point for a conversion to devicetree.
Nothing ever happened on that front, so remove the rest now, including the sa1111 and locomo drivers that were once shared with pxa but are already sa1100-exclusive now.
--- Documentation/arch/arm/index.rst | 3 - Documentation/arch/arm/sa1100/assabet.rst | 301 --- Documentation/arch/arm/sa1100/cerf.rst | 35 - Documentation/arch/arm/sa1100/index.rst | 13 - Documentation/arch/arm/sa1100/lart.rst | 15 - Documentation/arch/arm/sa1100/serial_uart.rst | 51 - MAINTAINERS | 8 - arch/arm/Kconfig | 16 +- arch/arm/Kconfig.debug | 13 +- arch/arm/Makefile | 6 - arch/arm/boot/bootp/Makefile | 1 - arch/arm/boot/compressed/Makefile | 4 - arch/arm/boot/compressed/head-sa1100.S | 45 - arch/arm/boot/compressed/head.S | 7 - arch/arm/common/Kconfig | 7 - arch/arm/common/Makefile | 2 - arch/arm/common/locomo.c | 886 -------- arch/arm/common/sa1111.c | 1413 ------------- arch/arm/configs/assabet_defconfig | 57 - arch/arm/configs/collie_defconfig | 87 - arch/arm/configs/h3600_defconfig | 63 - arch/arm/configs/jornada720_defconfig | 95 - arch/arm/configs/neponset_defconfig | 88 - arch/arm/include/asm/cputype.h | 4 - arch/arm/include/asm/hardware/locomo.h | 217 -- arch/arm/include/asm/hardware/sa1111.h | 442 ---- arch/arm/include/asm/hardware/ssp.h | 25 - arch/arm/include/debug/sa1100.S | 67 - arch/arm/mach-sa1100/Kconfig | 92 - arch/arm/mach-sa1100/Makefile | 20 - arch/arm/mach-sa1100/assabet.c | 770 ------- arch/arm/mach-sa1100/clock.c | 145 -- arch/arm/mach-sa1100/collie.c | 447 ---- arch/arm/mach-sa1100/generic.c | 470 ----- arch/arm/mach-sa1100/generic.h | 58 - arch/arm/mach-sa1100/h3600.c | 134 -- arch/arm/mach-sa1100/h3xxx.c | 305 --- arch/arm/mach-sa1100/include/mach/SA-1100.h | 1798 ----------------- arch/arm/mach-sa1100/include/mach/assabet.h | 99 - arch/arm/mach-sa1100/include/mach/bitfield.h | 113 -- arch/arm/mach-sa1100/include/mach/collie.h | 94 - arch/arm/mach-sa1100/include/mach/generic.h | 1 - arch/arm/mach-sa1100/include/mach/h3xxx.h | 81 - arch/arm/mach-sa1100/include/mach/hardware.h | 56 - arch/arm/mach-sa1100/include/mach/irqs.h | 101 - .../arm/mach-sa1100/include/mach/jornada720.h | 28 - arch/arm/mach-sa1100/include/mach/memory.h | 37 - arch/arm/mach-sa1100/include/mach/mtd-xip.h | 23 - arch/arm/mach-sa1100/include/mach/neponset.h | 31 - arch/arm/mach-sa1100/include/mach/reset.h | 18 - .../arm/mach-sa1100/include/mach/uncompress.h | 52 - arch/arm/mach-sa1100/jornada720.c | 380 ---- arch/arm/mach-sa1100/jornada720_ssp.c | 202 -- arch/arm/mach-sa1100/neponset.c | 438 ---- arch/arm/mach-sa1100/pm.c | 128 -- arch/arm/mach-sa1100/sleep.S | 143 -- arch/arm/mach-sa1100/ssp.c | 240 --- arch/arm/mm/init.c | 5 - arch/arm/mm/mmu.c | 8 - drivers/rtc/Kconfig | 4 +- drivers/rtc/rtc-sa1100.c | 16 +- drivers/watchdog/Kconfig | 12 +- 62 files changed, 19 insertions(+), 10501 deletions(-) delete mode 100644 Documentation/arch/arm/sa1100/assabet.rst delete mode 100644 Documentation/arch/arm/sa1100/cerf.rst delete mode 100644 Documentation/arch/arm/sa1100/index.rst delete mode 100644 Documentation/arch/arm/sa1100/lart.rst delete mode 100644 Documentation/arch/arm/sa1100/serial_uart.rst delete mode 100644 arch/arm/boot/compressed/head-sa1100.S delete mode 100644 arch/arm/common/locomo.c delete mode 100644 arch/arm/common/sa1111.c delete mode 100644 arch/arm/configs/assabet_defconfig delete mode 100644 arch/arm/configs/collie_defconfig delete mode 100644 arch/arm/configs/h3600_defconfig delete mode 100644 arch/arm/configs/jornada720_defconfig delete mode 100644 arch/arm/configs/neponset_defconfig delete mode 100644 arch/arm/include/asm/hardware/locomo.h delete mode 100644 arch/arm/include/asm/hardware/sa1111.h delete mode 100644 arch/arm/include/asm/hardware/ssp.h delete mode 100644 arch/arm/include/debug/sa1100.S delete mode 100644 arch/arm/mach-sa1100/Kconfig delete mode 100644 arch/arm/mach-sa1100/Makefile delete mode 100644 arch/arm/mach-sa1100/assabet.c delete mode 100644 arch/arm/mach-sa1100/clock.c delete mode 100644 arch/arm/mach-sa1100/collie.c delete mode 100644 arch/arm/mach-sa1100/generic.c delete mode 100644 arch/arm/mach-sa1100/generic.h delete mode 100644 arch/arm/mach-sa1100/h3600.c delete mode 100644 arch/arm/mach-sa1100/h3xxx.c delete mode 100644 arch/arm/mach-sa1100/include/mach/SA-1100.h delete mode 100644 arch/arm/mach-sa1100/include/mach/assabet.h delete mode 100644 arch/arm/mach-sa1100/include/mach/bitfield.h delete mode 100644 arch/arm/mach-sa1100/include/mach/collie.h delete mode 100644 arch/arm/mach-sa1100/include/mach/generic.h delete mode 100644 arch/arm/mach-sa1100/include/mach/h3xxx.h delete mode 100644 arch/arm/mach-sa1100/include/mach/hardware.h delete mode 100644 arch/arm/mach-sa1100/include/mach/irqs.h delete mode 100644 arch/arm/mach-sa1100/include/mach/jornada720.h delete mode 100644 arch/arm/mach-sa1100/include/mach/memory.h delete mode 100644 arch/arm/mach-sa1100/include/mach/mtd-xip.h delete mode 100644 arch/arm/mach-sa1100/include/mach/neponset.h delete mode 100644 arch/arm/mach-sa1100/include/mach/reset.h delete mode 100644 arch/arm/mach-sa1100/include/mach/uncompress.h delete mode 100644 arch/arm/mach-sa1100/jornada720.c delete mode 100644 arch/arm/mach-sa1100/jornada720_ssp.c delete mode 100644 arch/arm/mach-sa1100/neponset.c delete mode 100644 arch/arm/mach-sa1100/pm.c delete mode 100644 arch/arm/mach-sa1100/sleep.S delete mode 100644 arch/arm/mach-sa1100/ssp.c
Documentation/arch/arm/index.rst +0 -3
@@ -48,9 +48,6 @@ SoC-specific documents pxa/mfp - - sa1100/index - stm32/stm32f746-overview stm32/overview stm32/stm32h743-overview
Documentation/arch/arm/sa1100/assabet.rst deleted +0 -301
301 lines not on this page · raw message
Documentation/arch/arm/sa1100/cerf.rst deleted +0 -35
@@ -1,35 +0,0 @@ -============== -CerfBoard/Cube -============== - -*** The StrongARM version of the CerfBoard/Cube has been discontinued *** - -The Intrinsyc CerfBoard is a StrongARM 1110-based computer on a board -that measures approximately 2" square. It includes an Ethernet -controller, an RS232-compatible serial port, a USB function port, and -one CompactFlash+ slot on the back. Pictures can be found at the -Intrinsyc website, http://www.intrinsyc.com. - -This document describes the support in the Linux kernel for the -Intrinsyc CerfBoard. - -Supported in this version -========================= - - - CompactFlash+ slot (select PCMCIA in General Setup and any options - that may be required) - - Onboard Crystal CS8900 Ethernet controller (Cerf CS8900A support in - Network Devices) - - Serial ports with a serial console (hardcoded to 38400 8N1) - -In order to get this kernel onto your Cerf, you need a server that runs -both BOOTP and TFTP. Detailed instructions should have come with your -evaluation kit on how to use the bootloader. This series of commands -will suffice:: - - make ARCH=arm CROSS_COMPILE=arm-linux- cerfcube_defconfig - make ARCH=arm CROSS_COMPILE=arm-linux- zImage - make ARCH=arm CROSS_COMPILE=arm-linux- modules - cp arch/arm/boot/zImage <TFTP directory> - [email protected]
Documentation/arch/arm/sa1100/index.rst deleted +0 -13
@@ -1,13 +0,0 @@ -.. SPDX-License-Identifier: GPL-2.0 - -==================== -Intel StrongARM 1100 -==================== - -.. toctree:: - :maxdepth: 1 - - assabet - cerf - lart - serial_uart
Documentation/arch/arm/sa1100/lart.rst deleted +0 -15
@@ -1,15 +0,0 @@ -==================================== -Linux Advanced Radio Terminal (LART) -==================================== - -The LART is a small (7.5 x 10cm) SA-1100 board, designed for embedded -applications. It has 32 MB DRAM, 4MB Flash ROM, double RS232 and all -other StrongARM-gadgets. Almost all SA signals are directly accessible -through a number of connectors. The powersupply accepts voltages -between 3.5V and 16V and is overdimensioned to support a range of -daughterboards. A quad Ethernet / IDE / PS2 / sound daughterboard -is under development, with plenty of others in different stages of -planning. - -The hardware designs for this board have been released under an open license; -see the LART page at http://www.lartmaker.nl/ for more information.
Documentation/arch/arm/sa1100/serial_uart.rst deleted +0 -51
51 lines not on this page · raw message
MAINTAINERS +0 -8
@@ -2977,14 +2977,6 @@ F: arch/arm/boot/dts/hisilicon/ F: arch/arm/mach-hisi/ F: arch/arm64/boot/dts/hisilicon/ -ARM/HP JORNADA 7XX MACHINE SUPPORT -M: Kristoffer Ericson <[email protected]> -S: Maintained -W: www.jlime.com -T: git git://git.kernel.org/pub/scm/linux/kernel/git/kristoffer/linux-hpc.git -F: arch/arm/mach-sa1100/include/mach/jornada720.h -F: arch/arm/mach-sa1100/jornada720.c - ARM/HPE GXP ARCHITECTURE M: Jean-Marie Verdun <[email protected]> M: Nick Hawkins <[email protected]>
arch/arm/Kconfig +5 -11
@@ -161,7 +161,7 @@ config ARM select TIMER_OF if OF select HAVE_ARCH_VMAP_STACK if MMU && ARM_HAS_GROUP_RELOCS select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M - select USE_OF if !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100) + select USE_OF if !(ARCH_FOOTBRIDGE || ARCH_RPC) # Above selects are sorted alphabetically; please add new ones # according to that. Thanks. help
@@ -261,9 +261,6 @@ config GENERIC_ISA_DMA config FIQ bool -config ARCH_MTD_XIP - bool - config ARM_PATCH_PHYS_VIRT bool "Patch physical to virtual translations at runtime" if !ARCH_MULTIPLATFORM default y
@@ -301,7 +298,7 @@ config PHYS_OFFSET default 0x00000000 if ARCH_FOOTBRIDGE default 0x10000000 if ARCH_OMAP1 || ARCH_RPC default 0xa0000000 if ARCH_PXA - default 0xc0000000 if ARCH_EP93XX || ARCH_SA1100 + default 0xc0000000 if ARCH_EP93XX default 0 help Please provide the physical address corresponding to the
@@ -341,7 +338,7 @@ config ARCH_MMAP_RND_BITS_MAX config ARCH_MULTIPLATFORM bool "Require kernel to be portable to multiple machines" if EXPERT - depends on MMU && !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100) + depends on MMU && !(ARCH_FOOTBRIDGE || ARCH_RPC) default y help In general, all Arm machines can be supported in a single
@@ -445,8 +442,6 @@ source "arch/arm/mach-s3c/Kconfig" source "arch/arm/mach-s5pv210/Kconfig" -source "arch/arm/mach-sa1100/Kconfig" - source "arch/arm/mach-shmobile/Kconfig" source "arch/arm/mach-socfpga/Kconfig"
@@ -1201,7 +1196,7 @@ config ARCH_SELECT_MEMORY_MODEL def_bool y config ARCH_FLATMEM_ENABLE - def_bool !(ARCH_RPC || ARCH_SA1100) + def_bool !ARCH_RPC config ARCH_SPARSEMEM_ENABLE def_bool !ARCH_FOOTBRIDGE
@@ -1293,7 +1288,6 @@ config ARM_MODULE_PLTS config ARCH_FORCE_MAX_ORDER int "Order of maximal physically contiguous allocations" default "11" if SOC_AM33XX - default "8" if SA1111 default "10" help The kernel page allocator limits the size of maximal physically
@@ -1605,7 +1599,7 @@ config ARCH_DEFAULT_CRASH_DUMP config AUTO_ZRELADDR bool "Auto calculation of the decompressed kernel image address" if !ARCH_MULTIPLATFORM - default !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100) + default !(ARCH_FOOTBRIDGE || ARCH_RPC) help ZRELADDR is the physical address where the decompressed kernel image will be placed. If AUTO_ZRELADDR is selected, the address
arch/arm/Kconfig.debug +2 -11
@@ -1048,14 +1048,6 @@ choice their output to UART 3. The port must have been initialised by the boot-loader before use. - config DEBUG_SA1100 - depends on ARCH_SA1100 - bool "Use SA1100 UARTs for low-level debug" - help - Say Y here if you want kernel low-level debugging support - on SA-11x0 UART ports. The kernel will check for the first - enabled UART in a sequence 3-1-2. - config DEBUG_SD5203_UART bool "Hisilicon SD5203 Debug UART" depends on ARCH_SD5203
@@ -1479,7 +1471,6 @@ config DEBUG_UART_FLOW_CONTROL config DEBUG_LL_INCLUDE string - default "debug/sa1100.S" if DEBUG_SA1100 default "debug/palmchip.S" if DEBUG_UART_8250_PALMCHIP default "debug/8250.S" if DEBUG_LL_UART_8250 || DEBUG_UART_8250 default "debug/at91.S" if DEBUG_AT91_UART
@@ -1807,7 +1798,7 @@ config DEBUG_UART_8250_PALMCHIP config DEBUG_UNCOMPRESS bool "Enable decompressor debugging via DEBUG_LL output" depends on !ARCH_MULTIPLATFORM - depends on !(ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100) + depends on !(ARCH_FOOTBRIDGE || ARCH_RPC) depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \ !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
@@ -1817,7 +1808,7 @@ config DEBUG_UNCOMPRESS config UNCOMPRESS_INCLUDE string - default "mach/uncompress.h" if ARCH_FOOTBRIDGE || ARCH_RPC || ARCH_SA1100 + default "mach/uncompress.h" if ARCH_FOOTBRIDGE || ARCH_RPC default "debug/uncompress.h" config EARLY_PRINTK
arch/arm/Makefile +0 -6
@@ -162,10 +162,6 @@ CHECKFLAGS += -D__arm__ textofs-y := 0x00008000 # RTD1195 has Boot ROM at start of address space textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000 -# SA1111 DMA bug: we don't want the kernel to live in precious DMA-able memory -ifeq ($(CONFIG_ARCH_SA1100),y) -textofs-$(CONFIG_SA1111) := 0x00208000 -endif textofs-$(CONFIG_ARCH_QCOM_RESERVE_SMEM) := 0x00208000 textofs-$(CONFIG_ARCH_MESON) := 0x00208000 textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000
@@ -214,7 +210,6 @@ machine-$(CONFIG_ARCH_ROCKCHIP) += rockchip machine-$(CONFIG_ARCH_RPC) += rpc machine-$(CONFIG_PLAT_SAMSUNG) += s3c machine-$(CONFIG_ARCH_S5PV210) += s5pv210 -machine-$(CONFIG_ARCH_SA1100) += sa1100 machine-$(CONFIG_ARCH_RENESAS) += shmobile machine-$(CONFIG_ARCH_INTEL_SOCFPGA) += socfpga machine-$(CONFIG_ARCH_STI) += sti
@@ -232,7 +227,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear # these three are mutually exclusive machdirs-$(CONFIG_ARCH_FOOTBRIDGE) += arch/arm/mach-footbridge machdirs-$(CONFIG_ARCH_RPC) += arch/arm/mach-rpc -machdirs-$(CONFIG_ARCH_SA1100) += arch/arm/mach-sa1100 KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%/include,$(machdirs-y)) # The byte offset of the kernel image in RAM from the start of RAM.
arch/arm/boot/bootp/Makefile +0 -1
@@ -20,7 +20,6 @@ PARAMS_PHYS := $(call add_hex, $(PHYS_OFFSET), 0x100) # guess an initrd location if possible initrd_offset-$(CONFIG_ARCH_FOOTBRIDGE) += 0x00800000 -initrd_offset-$(CONFIG_ARCH_SA1100) += 0x00800000 initrd_offset-$(CONFIG_ARCH_RPC) += 0x08000000 INITRD_OFFSET := $(initrd_offset-y) ifdef INITRD_OFFSET
arch/arm/boot/compressed/Makefile +0 -4
@@ -29,10 +29,6 @@ ifeq ($(CONFIG_ARCH_ACORN),y) OBJS += ll_char_wr.o font.o endif -ifeq ($(CONFIG_ARCH_SA1100),y) -OBJS += head-sa1100.o -endif - ifeq ($(CONFIG_CPU_XSCALE),y) OBJS += head-xscale.o endif
arch/arm/boot/compressed/head-sa1100.S deleted +0 -45
45 lines not on this page · raw message
arch/arm/boot/compressed/head.S +0 -7
@@ -64,17 +64,10 @@ busyuart \tmp, \rb .endm -#if defined(CONFIG_ARCH_SA1100) - .macro loadsp, rb, tmp1, tmp2 - mov \rb, #0x80000000 @ physical base address - add \rb, \rb, #0x00010000 @ Ser1 - .endm -#else .macro loadsp, rb, tmp1, tmp2 addruart \rb, \tmp1, \tmp2 .endm #endif -#endif #endif .macro kputc,val
arch/arm/common/Kconfig +0 -7
@@ -1,14 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -config SA1111 - bool - select ZONE_DMA if ARCH_SA1100 - config KRAIT_L2_ACCESSORS bool -config SHARP_LOCOMO - bool - config SHARP_PARAM bool
arch/arm/common/Makefile +0 -2
@@ -5,9 +5,7 @@ obj-y += firmware.o -obj-$(CONFIG_SA1111) += sa1111.o obj-$(CONFIG_KRAIT_L2_ACCESSORS) += krait-l2-accessors.o -obj-$(CONFIG_SHARP_LOCOMO) += locomo.o obj-$(CONFIG_SHARP_PARAM) += sharpsl_param.o obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_CPU_V7) += secure_cntvoff.o
arch/arm/common/locomo.c deleted +0 -886
886 lines not on this page · raw message
arch/arm/common/sa1111.c deleted +0 -1413
1,413 lines not on this page · raw message
arch/arm/configs/assabet_defconfig deleted +0 -57
36 lines not on this page · raw message
arch/arm/configs/collie_defconfig deleted +0 -87
87 lines not on this page · raw message
arch/arm/configs/h3600_defconfig deleted +0 -63
63 lines not on this page · raw message
arch/arm/configs/jornada720_defconfig deleted +0 -95
95 lines not on this page · raw message
arch/arm/configs/neponset_defconfig deleted +0 -88
88 lines not on this page · raw message
arch/arm/include/asm/hardware/locomo.h deleted +0 -217
217 lines not on this page · raw message
arch/arm/include/asm/hardware/sa1111.h deleted +0 -442
442 lines not on this page · raw message
arch/arm/include/asm/hardware/ssp.h deleted +0 -25
Lines of this file are not shown. View the raw message.
arch/arm/include/debug/sa1100.S deleted +0 -67
67 lines not on this page · raw message
arch/arm/mach-sa1100/Kconfig deleted +0 -92
92 lines not on this page · raw message
arch/arm/mach-sa1100/assabet.c deleted +0 -770
770 lines not on this page · raw message
arch/arm/mach-sa1100/clock.c deleted +0 -145
145 lines not on this page · raw message
arch/arm/mach-sa1100/collie.c deleted +0 -447
447 lines not on this page · raw message
arch/arm/mach-sa1100/generic.c deleted +0 -470
470 lines not on this page · raw message
arch/arm/mach-sa1100/generic.h deleted +0 -58
58 lines not on this page · raw message
arch/arm/mach-sa1100/h3600.c deleted +0 -134
134 lines not on this page · raw message
arch/arm/mach-sa1100/h3xxx.c deleted +0 -305
305 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/SA-1100.h deleted +0 -1798
1,798 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/assabet.h deleted +0 -99
99 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/bitfield.h deleted +0 -113
113 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/collie.h deleted +0 -94
94 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/generic.h deleted +0 -1
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/h3xxx.h deleted +0 -81
81 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/hardware.h deleted +0 -56
56 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/irqs.h deleted +0 -101
101 lines not on this page · raw message
arch/arm/mach-sa1100/include/mach/jornada720.h deleted +0 -28
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/memory.h deleted +0 -37
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/mtd-xip.h deleted +0 -23
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/neponset.h deleted +0 -31
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/reset.h deleted +0 -18
Lines of this file are not shown. View the raw message.
arch/arm/mach-sa1100/include/mach/uncompress.h deleted +0 -52
52 lines not on this page · raw message
arch/arm/mach-sa1100/jornada720.c deleted +0 -380
380 lines not on this page · raw message
arch/arm/mach-sa1100/jornada720_ssp.c deleted +0 -202
202 lines not on this page · raw message
arch/arm/mach-sa1100/neponset.c deleted +0 -438
438 lines not on this page · raw message
arch/arm/mach-sa1100/pm.c deleted +0 -128
128 lines not on this page · raw message
arch/arm/mach-sa1100/sleep.S deleted +0 -143
143 lines not on this page · raw message
arch/arm/mach-sa1100/ssp.c deleted +0 -240
240 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 2/13 ARM: remove footbridge
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
Footbridge was deprecated in 7.3 to be removed along with the other StrongARM platforms and most remaining board files.
The main machine here is the NetWinder, which was a popular Arm based desktop PC in the late 1990s and contributed to Arm's later success as an embedded Linux platform, but was discontinued over 25 years ago and is no longer all that useful.
I previously tried to convert this to devicetree in a sensible way but gave up due to the platform being too different from modern SoC based targets.
--- Documentation/arch/arm/index.rst | 1 - Documentation/arch/arm/netwinder.rst | 85 -- MAINTAINERS | 8 - arch/arm/Kconfig | 17 +- arch/arm/Kconfig.debug | 27 +- arch/arm/Makefile | 2 - arch/arm/boot/bootp/Makefile | 1 - arch/arm/configs/footbridge_defconfig | 114 --- arch/arm/configs/netwinder_defconfig | 88 -- arch/arm/include/asm/hardware/dec21285.h | 138 ---- arch/arm/include/asm/mach/pci.h | 14 - arch/arm/include/debug/dc21285.S | 41 - arch/arm/kernel/atags_parse.c | 18 - arch/arm/kernel/bios32.c | 12 - arch/arm/kernel/head.S | 10 - arch/arm/mach-footbridge/Kconfig | 57 -- arch/arm/mach-footbridge/Makefile | 18 - arch/arm/mach-footbridge/common.c | 280 ------- arch/arm/mach-footbridge/common.h | 15 - arch/arm/mach-footbridge/dc21285-timer.c | 136 --- arch/arm/mach-footbridge/dc21285.c | 360 -------- arch/arm/mach-footbridge/dma-isa.c | 230 ------ arch/arm/mach-footbridge/ebsa285-pci.c | 48 -- arch/arm/mach-footbridge/ebsa285.c | 124 --- .../mach-footbridge/include/mach/hardware.h | 90 -- arch/arm/mach-footbridge/include/mach/irqs.h | 97 --- .../mach-footbridge/include/mach/isa-dma.h | 18 - .../arm/mach-footbridge/include/mach/memory.h | 26 - .../mach-footbridge/include/mach/uncompress.h | 34 - arch/arm/mach-footbridge/isa-irq.c | 177 ---- arch/arm/mach-footbridge/isa-rtc.c | 57 -- arch/arm/mach-footbridge/isa-timer.c | 36 - arch/arm/mach-footbridge/isa.c | 94 --- arch/arm/mach-footbridge/netwinder-hw.c | 772 ------------------ arch/arm/mach-footbridge/netwinder-pci.c | 62 -- drivers/video/console/Kconfig | 6 +- drivers/video/console/dummycon.c | 6 - drivers/video/fbdev/cyber2000fb.c | 10 - 38 files changed, 12 insertions(+), 3317 deletions(-) delete mode 100644 Documentation/arch/arm/netwinder.rst delete mode 100644 arch/arm/configs/footbridge_defconfig delete mode 100644 arch/arm/configs/netwinder_defconfig delete mode 100644 arch/arm/include/asm/hardware/dec21285.h delete mode 100644 arch/arm/include/debug/dc21285.S delete mode 100644 arch/arm/mach-footbridge/Kconfig delete mode 100644 arch/arm/mach-footbridge/Makefile delete mode 100644 arch/arm/mach-footbridge/common.c delete mode 100644 arch/arm/mach-footbridge/common.h delete mode 100644 arch/arm/mach-footbridge/dc21285-timer.c delete mode 100644 arch/arm/mach-footbridge/dc21285.c delete mode 100644 arch/arm/mach-footbridge/dma-isa.c delete mode 100644 arch/arm/mach-footbridge/ebsa285-pci.c delete mode 100644 arch/arm/mach-footbridge/ebsa285.c delete mode 100644 arch/arm/mach-footbridge/include/mach/hardware.h delete mode 100644 arch/arm/mach-footbridge/include/mach/irqs.h delete mode 100644 arch/arm/mach-footbridge/include/mach/isa-dma.h delete mode 100644 arch/arm/mach-footbridge/include/mach/memory.h delete mode 100644 arch/arm/mach-footbridge/include/mach/uncompress.h delete mode 100644 arch/arm/mach-footbridge/isa-irq.c delete mode 100644 arch/arm/mach-footbridge/isa-rtc.c delete mode 100644 arch/arm/mach-footbridge/isa-timer.c delete mode 100644 arch/arm/mach-footbridge/isa.c delete mode 100644 arch/arm/mach-footbridge/netwinder-hw.c delete mode 100644 arch/arm/mach-footbridge/netwinder-pci.c
Documentation/arch/arm/index.rst +0 -1
@@ -38,7 +38,6 @@ SoC-specific documents marvell microchip - netwinder nwfpe/index keystone/overview
Documentation/arch/arm/netwinder.rst deleted +0 -85
85 lines not on this page · raw message
MAINTAINERS +0 -8
@@ -2924,14 +2924,6 @@ S: Maintained T: git git://git.berlios.de/gemini-board F: arch/arm/mm/*-fa* -ARM/FOOTBRIDGE ARCHITECTURE -M: Russell King <[email protected]> -L: [email protected] (moderated for non-subscribers) -S: Maintained -W: http://www.armlinux.org.uk/ -F: arch/arm/include/asm/hardware/dec21285.h -F: arch/arm/mach-footbridge/ - ARM/FREESCALE IMX / MXC / LAYERSCAPE ARM ARCHITECTURE M: Frank Li <[email protected]> M: Sascha Hauer <[email protected]>
arch/arm/Kconfig +6 -11
@@ -55,7 +55,7 @@ config ARM select ARCH_WANT_LD_ORPHAN_WARN select BINFMT_FLAT_ARGVP_ENVP_ON_STACK select BUILDTIME_TABLE_SORT if MMU - select COMMON_CLK if !(ARCH_RPC || ARCH_FOOTBRIDGE) + select COMMON_CLK if !ARCH_RPC select CLONE_BACKWARDS select CPU_PM if SUSPEND || CPU_IDLE select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
@@ -155,13 +155,13 @@ config ARM select PCI_SYSCALL if PCI select PERF_USE_VMALLOC select RTC_LIB - select SPARSE_IRQ if !(ARCH_FOOTBRIDGE || ARCH_RPC) + select SPARSE_IRQ if !ARCH_RPC select SYS_SUPPORTS_APM_EMULATION select THREAD_INFO_IN_TASK select TIMER_OF if OF select HAVE_ARCH_VMAP_STACK if MMU && ARM_HAS_GROUP_RELOCS select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M - select USE_OF if !(ARCH_FOOTBRIDGE || ARCH_RPC) + select USE_OF if !ARCH_RPC # Above selects are sorted alphabetically; please add new ones # according to that. Thanks. help
@@ -295,7 +295,6 @@ config PHYS_OFFSET hex "Physical address of main memory" if MMU depends on !ARM_PATCH_PHYS_VIRT || !AUTO_ZRELADDR default DRAM_BASE if !MMU - default 0x00000000 if ARCH_FOOTBRIDGE default 0x10000000 if ARCH_OMAP1 || ARCH_RPC default 0xa0000000 if ARCH_PXA default 0xc0000000 if ARCH_EP93XX
@@ -338,7 +337,7 @@ config ARCH_MMAP_RND_BITS_MAX config ARCH_MULTIPLATFORM bool "Require kernel to be portable to multiple machines" if EXPERT - depends on MMU && !(ARCH_FOOTBRIDGE || ARCH_RPC) + depends on MMU && !ARCH_RPC default y help In general, all Arm machines can be supported in a single
@@ -380,14 +379,10 @@ source "arch/arm/mach-davinci/Kconfig" source "arch/arm/mach-digicolor/Kconfig" -source "arch/arm/mach-dove/Kconfig" - source "arch/arm/mach-ep93xx/Kconfig" source "arch/arm/mach-exynos/Kconfig" -source "arch/arm/mach-footbridge/Kconfig" - source "arch/arm/mach-gemini/Kconfig" source "arch/arm/mach-highbank/Kconfig"
@@ -1199,7 +1194,7 @@ config ARCH_FLATMEM_ENABLE def_bool !ARCH_RPC config ARCH_SPARSEMEM_ENABLE - def_bool !ARCH_FOOTBRIDGE + def_bool y select SPARSEMEM_STATIC if SPARSEMEM config HIGHMEM
@@ -1599,7 +1594,7 @@ config ARCH_DEFAULT_CRASH_DUMP config AUTO_ZRELADDR bool "Auto calculation of the decompressed kernel image address" if !ARCH_MULTIPLATFORM - default !(ARCH_FOOTBRIDGE || ARCH_RPC) + default !ARCH_RPC help ZRELADDR is the physical address where the decompressed kernel image will be placed. If AUTO_ZRELADDR is selected, the address
arch/arm/Kconfig.debug +4 -23
@@ -324,13 +324,6 @@ choice Say Y here if you want the debug print routines to direct their output to UART2 serial port on DaVinci DA8XX devices. - config DEBUG_DC21285_PORT - bool "Kernel low-level debugging messages via footbridge serial port" - depends on FOOTBRIDGE - help - Say Y here if you want the debug print routines to direct - their output to the serial port in the DC21285 (Footbridge). - config DEBUG_DIGICOLOR_UA0 bool "Kernel low-level debugging messages via Digicolor UA0" depends on ARCH_DIGICOLOR
@@ -346,14 +339,6 @@ choice Say Y here if you want kernel low-level debugging support on Cirrus Logic EP93xx based platforms. - config DEBUG_FOOTBRIDGE_COM1 - bool "Kernel low-level debugging messages via footbridge 8250 at PCI COM1" - depends on FOOTBRIDGE - select DEBUG_UART_8250 - help - Say Y here if you want the debug print routines to direct - their output to the 8250 at PCI COM1. - config DEBUG_GEMINI bool "Kernel low-level debugging messages via Cortina Systems Gemini UART" depends on ARCH_GEMINI
@@ -1461,7 +1446,7 @@ config DEBUG_STM32_UART config DEBUG_UART_FLOW_CONTROL bool "Enable flow control (CTS) for the debug UART" depends on DEBUG_LL - default y if DEBUG_FOOTBRIDGE_COM1 || DEBUG_GEMINI || ARCH_RPC + default y if DEBUG_GEMINI || ARCH_RPC help Some UART ports are connected to terminals that will use modem control signals to indicate whether they are ready to receive text.
@@ -1476,7 +1461,6 @@ config DEBUG_LL_INCLUDE default "debug/at91.S" if DEBUG_AT91_UART default "debug/asm9260.S" if DEBUG_ASM9260_UART default "debug/clps711x.S" if DEBUG_CLPS711X_UART1 || DEBUG_CLPS711X_UART2 - default "debug/dc21285.S" if DEBUG_DC21285_PORT default "debug/meson.S" if DEBUG_MESON_UARTAO default "debug/pl01x.S" if DEBUG_LL_UART_PL01X || DEBUG_UART_PL01X default "debug/exynos.S" if DEBUG_EXYNOS_UART
@@ -1590,7 +1574,6 @@ config DEBUG_UART_PHYS default 0x4806e000 if DEBUG_OMAP2UART3 || DEBUG_OMAP4UART4 default 0x49020000 if DEBUG_OMAP3UART3 default 0x49042000 if DEBUG_OMAP3UART4 - default 0x7c0003f8 if DEBUG_FOOTBRIDGE_COM1 default 0x7f005000 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART0 default 0x7f005400 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART1 default 0x7f005800 if DEBUG_S3C64XX_UART && DEBUG_S3C_UART2
@@ -1748,7 +1731,6 @@ config DEBUG_UART_VIRT default 0xfed64000 if DEBUG_RK29_UART1 || DEBUG_RK3X_UART2 default 0xfed68000 if DEBUG_RK29_UART2 || DEBUG_RK3X_UART3 default 0xfedc0000 if DEBUG_EP93XX - default 0xfee003f8 if DEBUG_FOOTBRIDGE_COM1 default 0xfee20000 if DEBUG_NSPIRE_CLASSIC_UART || DEBUG_NSPIRE_CX_UART default 0xfec00000 if ARCH_IXP4XX && !CPU_BIG_ENDIAN default 0xfec00003 if ARCH_IXP4XX && CPU_BIG_ENDIAN
@@ -1771,8 +1753,7 @@ config DEBUG_UART_VIRT config DEBUG_UART_8250_SHIFT int "Register offset shift for the 8250 debug UART" depends on DEBUG_LL_UART_8250 || DEBUG_UART_8250 - default 0 if DEBUG_FOOTBRIDGE_COM1 || DEBUG_BCM_5301X || \ - DEBUG_BCM_HR2 + default 0 if DEBUG_BCM_5301X || DEBUG_BCM_HR2 default 3 if DEBUG_MSTARV7_PMUART default 2
@@ -1798,7 +1779,7 @@ config DEBUG_UART_8250_PALMCHIP config DEBUG_UNCOMPRESS bool "Enable decompressor debugging via DEBUG_LL output" depends on !ARCH_MULTIPLATFORM - depends on !(ARCH_FOOTBRIDGE || ARCH_RPC) + depends on !ARCH_RPC depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \ !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
@@ -1808,7 +1789,7 @@ config DEBUG_UNCOMPRESS config UNCOMPRESS_INCLUDE string - default "mach/uncompress.h" if ARCH_FOOTBRIDGE || ARCH_RPC + default "mach/uncompress.h" if ARCH_RPC default "debug/uncompress.h" config EARLY_PRINTK
arch/arm/Makefile +0 -2
@@ -181,7 +181,6 @@ machine-$(CONFIG_ARCH_DAVINCI) += davinci machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor machine-$(CONFIG_ARCH_DOVE) += dove machine-$(CONFIG_ARCH_EXYNOS) += exynos -machine-$(CONFIG_ARCH_FOOTBRIDGE) += footbridge machine-$(CONFIG_ARCH_GEMINI) += gemini machine-$(CONFIG_ARCH_HIGHBANK) += highbank machine-$(CONFIG_ARCH_HISI) += hisi
@@ -225,7 +224,6 @@ machine-$(CONFIG_PLAT_SPEAR) += spear # legacy platforms provide their own mach/*.h headers globally, # these three are mutually exclusive -machdirs-$(CONFIG_ARCH_FOOTBRIDGE) += arch/arm/mach-footbridge machdirs-$(CONFIG_ARCH_RPC) += arch/arm/mach-rpc KBUILD_CPPFLAGS += $(patsubst %,-I$(srctree)/%/include,$(machdirs-y))
arch/arm/boot/bootp/Makefile +0 -1
@@ -19,7 +19,6 @@ add_hex = $(shell printf 0x%x $$(( $(1) + $(2) )) ) PARAMS_PHYS := $(call add_hex, $(PHYS_OFFSET), 0x100) # guess an initrd location if possible -initrd_offset-$(CONFIG_ARCH_FOOTBRIDGE) += 0x00800000 initrd_offset-$(CONFIG_ARCH_RPC) += 0x08000000 INITRD_OFFSET := $(initrd_offset-y) ifdef INITRD_OFFSET
arch/arm/configs/footbridge_defconfig deleted +0 -114
114 lines not on this page · raw message
arch/arm/configs/netwinder_defconfig deleted +0 -88
88 lines not on this page · raw message
arch/arm/include/asm/hardware/dec21285.h deleted +0 -138
138 lines not on this page · raw message
arch/arm/include/asm/mach/pci.h +0 -14
@@ -61,15 +61,6 @@ static inline void pci_common_init(struct hw_pci *hw)pci_common_init_dev (NULL , hw); } -/* -* Setup early fixed I/O mapping. -*/ -#if defined(CONFIG_PCI ) -extern void pci_map_io_early (unsigned long pfn); -#else -static inline void pci_map_io_early (unsigned long pfn) {} -#endif -/* * PCI controllers */
@@ -78,9 +69,4 @@ extern int iop3xx_pci_setup(int nr, struct pci_sys_data *);extern void iop3xx_pci_preinit (void );extern void iop3xx_pci_preinit_cond (void ); -extern struct pci_ops dc21285_ops; -extern int dc21285_setup (int nr,struct pci_sys_data *); -extern void dc21285_preinit (void ); -extern void dc21285_postinit (void ); -#endif /* __ASM_MACH_PCI_H */
arch/arm/include/debug/dc21285.S deleted +0 -41
41 lines not on this page · raw message
arch/arm/kernel/atags_parse.c +0 -18
@@ -69,24 +69,6 @@ static int __init parse_tag_mem32(const struct tag *tag)__tagtable (ATAG_MEM , parse_tag_mem32); -#if defined(CONFIG_ARCH_FOOTBRIDGE ) && defined(CONFIG_VGA_CONSOLE ) -static int __init parse_tag_videotext (const struct tag *tag) -{ - vgacon_screen_info.orig_x = tag->u.videotext.x; - vgacon_screen_info.orig_y = tag->u.videotext.y; - vgacon_screen_info.orig_video_page = tag->u.videotext.video_page; - vgacon_screen_info.orig_video_mode = tag->u.videotext.video_mode; - vgacon_screen_info.orig_video_cols = tag->u.videotext.video_cols; - vgacon_screen_info.orig_video_ega_bx = tag->u.videotext.video_ega_bx; - vgacon_screen_info.orig_video_lines = tag->u.videotext.video_lines; - vgacon_screen_info.orig_video_isVGA = tag->u.videotext.video_isvga; - vgacon_screen_info.orig_video_points = tag->u.videotext.video_points; -return 0 ; -} - -__tagtable (ATAG_VIDEOTEXT , parse_tag_videotext); -#endif -#ifdef CONFIG_BLK_DEV_RAM static int __init parse_tag_ramdisk (const struct tag *tag) {
arch/arm/kernel/bios32.c +0 -12
@@ -582,15 +582,3 @@ resource_size_t pcibios_align_resource(void *data, const struct resource *res,return start; } - -void __init pci_map_io_early (unsigned long pfn) -{ -struct map_desc pci_io_desc = { - .virtual =PCI_IO_VIRT_BASE , - .type =MT_DEVICE , - .length =SZ_64K , - }; - - pci_io_desc.pfn = pfn; -iotable_init (&pci_io_desc,1 ); -}
arch/arm/kernel/head.S +0 -10
@@ -347,16 +347,6 @@ __create_page_tables: /* we don't need any serial debugging mappings */ ldr r7, [r10, #PROCINFO_IO_MMUFLAGS] @ io_mmuflags #endif - -#if defined(CONFIG_ARCH_NETWINDER) - /* - * If we're using the NetWinder or CATS, we also need to map - * in the 16550-type serial port for the debug messages - */ - add r0, r4, #0xff000000 >> (SECTION_SHIFT - PMD_ENTRY_ORDER) - orr r3, r7, #0x7c000000 - str r3, [r0] -#endif #ifdef CONFIG_ARCH_RPC /* * Map in screen at 0x02000000 & SCREEN2_BASE
arch/arm/mach-footbridge/Kconfig deleted +0 -57
57 lines not on this page · raw message
arch/arm/mach-footbridge/Makefile deleted +0 -18
@@ -1,18 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -# -# Makefile for the linux kernel. -# - -# Object file lists. - -obj-y := common.o isa-irq.o isa.o isa-rtc.o dma-isa.o - -pci-y += dc21285.o -pci-$(CONFIG_ARCH_EBSA285) += ebsa285-pci.o -pci-$(CONFIG_ARCH_NETWINDER) += netwinder-pci.o - -obj-$(CONFIG_ARCH_EBSA285) += ebsa285.o dc21285-timer.o -obj-$(CONFIG_ARCH_NETWINDER) += netwinder-hw.o isa-timer.o - -obj-$(CONFIG_PCI) +=$(pci-y) -
arch/arm/mach-footbridge/common.c deleted +0 -280
280 lines not on this page · raw message
arch/arm/mach-footbridge/common.h deleted +0 -15
@@ -1,15 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include <linux/reboot.h> - -extern void footbridge_timer_init (void ); -extern void isa_timer_init (void ); - -extern void isa_rtc_init (void ); - -extern void footbridge_map_io (void ); -extern void footbridge_init_irq (void ); - -extern void isa_init_irq (unsigned int irq); -extern void footbridge_restart (enum reboot_mode ,const char *); - -extern void footbridge_sched_clock (void );
arch/arm/mach-footbridge/dc21285-timer.c deleted +0 -136
136 lines not on this page · raw message
arch/arm/mach-footbridge/dc21285.c deleted +0 -360
360 lines not on this page · raw message
arch/arm/mach-footbridge/dma-isa.c deleted +0 -230
230 lines not on this page · raw message
arch/arm/mach-footbridge/ebsa285-pci.c deleted +0 -48
48 lines not on this page · raw message
arch/arm/mach-footbridge/ebsa285.c deleted +0 -124
124 lines not on this page · raw message
arch/arm/mach-footbridge/include/mach/hardware.h deleted +0 -90
90 lines not on this page · raw message
arch/arm/mach-footbridge/include/mach/irqs.h deleted +0 -97
97 lines not on this page · raw message
arch/arm/mach-footbridge/include/mach/isa-dma.h deleted +0 -18
@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -/* -* arch/arm/mach-footbridge/include/mach/isa-dma.h -* -* Architecture DMA routines -* -* Copyright (C) 1998,1999 Russell King -* Copyright (C) 1998,1999 Philip Blundell -*/ -#ifndef __ASM_ARCH_DMA_H -#define __ASM_ARCH_DMA_H - -#define MAX_DMA_CHANNELS 8 - -#define DMA_FLOPPY (2) -#define DMA_ISA_CASCADE (4) - -#endif /* _ASM_ARCH_DMA_H */
arch/arm/mach-footbridge/include/mach/memory.h deleted +0 -26
@@ -1,26 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/mach-footbridge/include/mach/memory.h -* -* Copyright (C) 1996-1999 Russell King. -* -* Changelog: -* 20-Oct-1996 RMK Created -* 31-Dec-1997 RMK Fixed definitions to reduce warnings. -* 17-May-1998 DAG Added __virt_to_bus and __bus_to_virt functions. -* 21-Nov-1998 RMK Changed __virt_to_bus and __bus_to_virt to macros. -* 21-Mar-1999 RMK Added PAGE_OFFSET for co285 architecture. -* Renamed to memory.h -* Moved PAGE_OFFSET and TASK_SIZE here -*/ -#ifndef __ASM_ARCH_MEMORY_H -#define __ASM_ARCH_MEMORY_H - -/* -* Cache flushing area. -*/ -#define FLUSH_BASE 0xf9000000 - -#define FLUSH_BASE_PHYS 0x50000000 - -#endif
arch/arm/mach-footbridge/include/mach/uncompress.h deleted +0 -34
@@ -1,34 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/mach-footbridge/include/mach/uncompress.h -* -* Copyright (C) 1996-1999 Russell King -*/ -#include <asm/mach-types.h> - -/* -* Note! This could cause problems on the NetWinder -*/ -#define DC21285_BASE ((volatile unsigned int *)0x42000160) -#define SER0_BASE ((volatile unsigned char *)0x7c0003f8) - -static inline void putc (char c) -{ -if (machine_is_netwinder ()) { -while ((SER0_BASE [5 ] &0x60 ) !=0x60 ) -barrier (); -SER0_BASE [0 ] = c; - }else { -while (DC21285_BASE [6 ] &8 ); -DC21285_BASE [0 ] = c; - } -} - -static inline void flush (void ) -{ -} - -/* -* nothing to do -*/ -#define arch_decomp_setup ()
arch/arm/mach-footbridge/isa-irq.c deleted +0 -177
177 lines not on this page · raw message
arch/arm/mach-footbridge/isa-rtc.c deleted +0 -57
57 lines not on this page · raw message
arch/arm/mach-footbridge/isa-timer.c deleted +0 -36
@@ -1,36 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/* -* linux/arch/arm/mach-footbridge/isa-timer.c -* -* Copyright (C) 1998 Russell King. -* Copyright (C) 1998 Phil Blundell -*/ -#include <linux/clockchips.h> -#include <linux/i8253.h> -#include <linux/init.h> -#include <linux/interrupt.h> -#include <linux/irq.h> -#include <linux/spinlock.h> -#include <linux/timex.h> - -#include <asm/irq.h> -#include <asm/mach/time.h> - -#include "common.h" - -static irqreturn_t pit_timer_interrupt (int irq,void *dev_id) -{ -struct clock_event_device *ce = dev_id; - ce->event_handler (ce); -return IRQ_HANDLED ; -} - -void __init isa_timer_init (void ) -{ -clocksource_i8253_init (); - -if (request_irq (i8253_clockevent.irq, pit_timer_interrupt, -IRQF_TIMER |IRQF_IRQPOLL ,"pit" , &i8253_clockevent)) -pr_err ("Failed to request irq %d(pit)\n" , i8253_clockevent.irq); -clockevent_i8253_init (false); -}
arch/arm/mach-footbridge/isa.c deleted +0 -94
94 lines not on this page · raw message
arch/arm/mach-footbridge/netwinder-hw.c deleted +0 -772
367 lines not on this page · raw message
arch/arm/mach-footbridge/netwinder-pci.c deleted +0 -62
62 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 3/13 ARM: remove riscpc
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The Acorn Risc PC is the oldest still support Arm machine in the kernel, originally shipped with an ARMv3 ARM610 support in 1994, it later allowed faster StrongARM CPUs.
The main limitation here is the CPU bus that does not allow 16-bit wide data transfers and hence requires the kernel to be built with the -march=armv3 compiler option that was discontinued in gcc-9.
As gcc-8 is barely supported for compiling the kernel, this one will not see another LTS kernel release, so remove it now.
--- MAINTAINERS | 20 - arch/arm/Kconfig | 33 +- arch/arm/Kconfig.debug | 8 +- arch/arm/boot/bootp/Makefile | 2 - arch/arm/boot/compressed/Makefile | 4 - arch/arm/boot/compressed/font.c | 2 - arch/arm/boot/compressed/head.S | 8 - arch/arm/boot/compressed/ll_char_wr.S | 131 --- arch/arm/configs/rpc_defconfig | 127 -- arch/arm/include/asm/ecard.h | 219 ---- arch/arm/include/asm/hardware/ioc.h | 69 -- arch/arm/include/asm/hardware/iomd.h | 182 --- arch/arm/include/asm/hardware/memc.h | 23 - arch/arm/include/asm/io.h | 5 +- arch/arm/include/asm/memory.h | 3 - arch/arm/kernel/head-common.S | 13 - arch/arm/kernel/head.S | 12 - arch/arm/lib/delay-loop.S | 4 - arch/arm/mach-rpc/Kconfig | 24 - arch/arm/mach-rpc/Makefile | 9 - arch/arm/mach-rpc/dma.c | 393 ------- arch/arm/mach-rpc/ecard-loader.S | 40 - arch/arm/mach-rpc/ecard.c | 1146 ------------------- arch/arm/mach-rpc/ecard.h | 66 -- arch/arm/mach-rpc/fiq.S | 18 - arch/arm/mach-rpc/floppydma.S | 29 - arch/arm/mach-rpc/include/mach/acornfb.h | 137 --- arch/arm/mach-rpc/include/mach/hardware.h | 73 -- arch/arm/mach-rpc/include/mach/io.h | 28 - arch/arm/mach-rpc/include/mach/irqs.h | 42 - arch/arm/mach-rpc/include/mach/isa-dma.h | 26 - arch/arm/mach-rpc/include/mach/memory.h | 32 - arch/arm/mach-rpc/include/mach/uncompress.h | 181 --- arch/arm/mach-rpc/io-acorn.S | 28 - arch/arm/mach-rpc/irq.c | 226 ---- arch/arm/mach-rpc/riscpc.c | 225 ---- arch/arm/mach-rpc/time.c | 97 -- arch/arm/mm/mmu.c | 2 +- block/partitions/Kconfig | 7 - drivers/tty/vt/keyboard.c | 2 +- lib/fonts/font_acorn_8x8.c | 4 - 41 files changed, 12 insertions(+), 3688 deletions(-) delete mode 100644 arch/arm/boot/compressed/font.c delete mode 100644 arch/arm/boot/compressed/ll_char_wr.S delete mode 100644 arch/arm/configs/rpc_defconfig delete mode 100644 arch/arm/include/asm/ecard.h delete mode 100644 arch/arm/include/asm/hardware/ioc.h delete mode 100644 arch/arm/include/asm/hardware/iomd.h delete mode 100644 arch/arm/include/asm/hardware/memc.h delete mode 100644 arch/arm/mach-rpc/Kconfig delete mode 100644 arch/arm/mach-rpc/Makefile delete mode 100644 arch/arm/mach-rpc/dma.c delete mode 100644 arch/arm/mach-rpc/ecard-loader.S delete mode 100644 arch/arm/mach-rpc/ecard.c delete mode 100644 arch/arm/mach-rpc/ecard.h delete mode 100644 arch/arm/mach-rpc/fiq.S delete mode 100644 arch/arm/mach-rpc/floppydma.S delete mode 100644 arch/arm/mach-rpc/include/mach/acornfb.h delete mode 100644 arch/arm/mach-rpc/include/mach/hardware.h delete mode 100644 arch/arm/mach-rpc/include/mach/io.h delete mode 100644 arch/arm/mach-rpc/include/mach/irqs.h delete mode 100644 arch/arm/mach-rpc/include/mach/isa-dma.h delete mode 100644 arch/arm/mach-rpc/include/mach/memory.h delete mode 100644 arch/arm/mach-rpc/include/mach/uncompress.h delete mode 100644 arch/arm/mach-rpc/io-acorn.S delete mode 100644 arch/arm/mach-rpc/irq.c delete mode 100644 arch/arm/mach-rpc/riscpc.c delete mode 100644 arch/arm/mach-rpc/time.c
MAINTAINERS +0 -20
@@ -2350,12 +2350,6 @@ F: Documentation/devicetree/bindings/display/arm,malidp.yaml F: Documentation/gpu/afbc.rst F: drivers/gpu/drm/arm/ -ARM MFM AND FLOPPY DRIVERS -M: Ian Molton <[email protected]> -S: Maintained -F: arch/arm/include/asm/floppy.h -F: arch/arm/mach-rpc/floppydma.S - ARM PMU PROFILING AND DEBUGGING M: Will Deacon <[email protected]> M: Mark Rutland <[email protected]>
@@ -3494,20 +3488,6 @@ F: include/linux/soc/renesas/ N: rcar K: \brenesas, -ARM/RISCPC ARCHITECTURE -M: Russell King <[email protected]> -L: [email protected] (moderated for non-subscribers) -S: Maintained -W: http://www.armlinux.org.uk/ -F: arch/arm/include/asm/hardware/ioc.h -F: arch/arm/include/asm/hardware/iomd.h -F: arch/arm/include/asm/hardware/memc.h -F: arch/arm/mach-rpc/ -F: drivers/net/ethernet/8390/etherh.c -F: drivers/net/ethernet/i825xx/ether1* -F: drivers/net/ethernet/seeq/ether3* -F: drivers/scsi/arm/ - ARM/Rockchip SoC support M: Heiko Stuebner <[email protected]> L: [email protected] (moderated for non-subscribers)
arch/arm/Kconfig +7 -26
@@ -55,7 +55,7 @@ config ARM select ARCH_WANT_LD_ORPHAN_WARN select BINFMT_FLAT_ARGVP_ENVP_ON_STACK select BUILDTIME_TABLE_SORT if MMU - select COMMON_CLK if !ARCH_RPC + select COMMON_CLK select CLONE_BACKWARDS select CPU_PM if SUSPEND || CPU_IDLE select DCACHE_WORD_ACCESS if HAVE_EFFICIENT_UNALIGNED_ACCESS
@@ -155,13 +155,13 @@ config ARM select PCI_SYSCALL if PCI select PERF_USE_VMALLOC select RTC_LIB - select SPARSE_IRQ if !ARCH_RPC + select SPARSE_IRQ select SYS_SUPPORTS_APM_EMULATION select THREAD_INFO_IN_TASK select TIMER_OF if OF select HAVE_ARCH_VMAP_STACK if MMU && ARM_HAS_GROUP_RELOCS select TRACE_IRQFLAGS_SUPPORT if !CPU_V7M - select USE_OF if !ARCH_RPC + select USE_OF # Above selects are sorted alphabetically; please add new ones # according to that. Thanks. help
@@ -277,25 +277,11 @@ config ARM_PATCH_PHYS_VIRT this feature (eg, building a kernel for a single machine) and you need to shrink the kernel to the minimal size. -config NEED_MACH_IO_H - bool - help - Select this when mach/io.h is required to provide special - definitions for this platform. The need for mach/io.h should - be avoided when possible. - -config NEED_MACH_MEMORY_H - bool - help - Select this when mach/memory.h is required to provide special - definitions for this platform. The need for mach/memory.h should - be avoided when possible. - config PHYS_OFFSET hex "Physical address of main memory" if MMU depends on !ARM_PATCH_PHYS_VIRT || !AUTO_ZRELADDR default DRAM_BASE if !MMU - default 0x10000000 if ARCH_OMAP1 || ARCH_RPC + default 0x10000000 if ARCH_OMAP1 default 0xa0000000 if ARCH_PXA default 0xc0000000 if ARCH_EP93XX default 0
@@ -337,7 +323,7 @@ config ARCH_MMAP_RND_BITS_MAX config ARCH_MULTIPLATFORM bool "Require kernel to be portable to multiple machines" if EXPERT - depends on MMU && !ARCH_RPC + depends on MMU default y help In general, all Arm machines can be supported in a single
@@ -429,8 +415,6 @@ source "arch/arm/mach-qcom/Kconfig" source "arch/arm/mach-realtek/Kconfig" -source "arch/arm/mach-rpc/Kconfig" - source "arch/arm/mach-rockchip/Kconfig" source "arch/arm/mach-s3c/Kconfig"
@@ -490,9 +474,6 @@ config ARCH_MPS2 This platform is scheduled for removal in early 2027 # Definitions to make life easier -config ARCH_ACORN - bool - config PLAT_ORION bool select CLKSRC_MMIO
@@ -1191,7 +1172,7 @@ config ARCH_SELECT_MEMORY_MODEL def_bool y config ARCH_FLATMEM_ENABLE - def_bool !ARCH_RPC + def_bool y config ARCH_SPARSEMEM_ENABLE def_bool y
@@ -1594,7 +1575,7 @@ config ARCH_DEFAULT_CRASH_DUMP config AUTO_ZRELADDR bool "Auto calculation of the decompressed kernel image address" if !ARCH_MULTIPLATFORM - default !ARCH_RPC + default y help ZRELADDR is the physical address where the decompressed kernel image will be placed. If AUTO_ZRELADDR is selected, the address
arch/arm/Kconfig.debug +2 -6
@@ -1446,7 +1446,7 @@ config DEBUG_STM32_UART config DEBUG_UART_FLOW_CONTROL bool "Enable flow control (CTS) for the debug UART" depends on DEBUG_LL - default y if DEBUG_GEMINI || ARCH_RPC + default y if DEBUG_GEMINI help Some UART ports are connected to terminals that will use modem control signals to indicate whether they are ready to receive text.
@@ -1516,7 +1516,7 @@ config DEBUG_UART_PL01X # Compatibility options for 8250 config DEBUG_UART_8250 - def_bool ARCH_IXP4XX || ARCH_RPC + def_bool ARCH_IXP4XX config DEBUG_UART_PHYS hex "Physical base address of debug UART"
@@ -1527,7 +1527,6 @@ config DEBUG_UART_PHYS default 0x01f02800 if DEBUG_SUNXI_R_UART default 0x02530c00 if DEBUG_KEYSTONE_UART0 default 0x02531000 if DEBUG_KEYSTONE_UART1 - default 0x03010fe0 if ARCH_RPC default 0x07000000 if DEBUG_SUN9I_UART0 default 0x09530000 if DEBUG_STIH418_SBC_ASC0 default 0x10009000 if DEBUG_REALVIEW_STD_PORT || \
@@ -1654,7 +1653,6 @@ config DEBUG_UART_VIRT default 0xc881f000 if DEBUG_RV1108_UART2 default 0xc8821000 if DEBUG_RV1108_UART1 default 0xc8912000 if DEBUG_RV1108_UART0 - default 0xe0010fe0 if ARCH_RPC default 0xe0824200 if DEBUG_AT91_SAMA7G5_FLEXCOM3 default 0xf0010000 if DEBUG_ASM9260_UART default 0xf0100000 if DEBUG_DIGICOLOR_UA0
@@ -1779,7 +1777,6 @@ config DEBUG_UART_8250_PALMCHIP config DEBUG_UNCOMPRESS bool "Enable decompressor debugging via DEBUG_LL output" depends on !ARCH_MULTIPLATFORM - depends on !ARCH_RPC depends on DEBUG_LL && !DEBUG_OMAP2PLUS_UART && \ (!DEBUG_TEGRA_UART || !ZBOOT_ROM) && \ !DEBUG_BRCMSTB_UART && !DEBUG_SEMIHOSTING
@@ -1789,7 +1786,6 @@ config DEBUG_UNCOMPRESS config UNCOMPRESS_INCLUDE string - default "mach/uncompress.h" if ARCH_RPC default "debug/uncompress.h" config EARLY_PRINTK
arch/arm/boot/bootp/Makefile +0 -2
@@ -19,8 +19,6 @@ add_hex = $(shell printf 0x%x $$(( $(1) + $(2) )) ) PARAMS_PHYS := $(call add_hex, $(PHYS_OFFSET), 0x100) # guess an initrd location if possible -initrd_offset-$(CONFIG_ARCH_RPC) += 0x08000000 -INITRD_OFFSET := $(initrd_offset-y) ifdef INITRD_OFFSET INITRD_PHYS := $(call add_hex, $(PHYS_OFFSET), $(INITRD_OFFSET)) endif
arch/arm/boot/compressed/Makefile +0 -4
@@ -25,10 +25,6 @@ endif # # Architecture dependencies # -ifeq ($(CONFIG_ARCH_ACORN),y) -OBJS += ll_char_wr.o font.o -endif - ifeq ($(CONFIG_CPU_XSCALE),y) OBJS += head-xscale.o endif
arch/arm/boot/compressed/font.c deleted +0 -2
@@ -1,2 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -#include "../../../../lib/fonts/font_acorn_8x8.c"
arch/arm/boot/compressed/head.S +0 -8
@@ -668,14 +668,6 @@ LC1: .word .L_user_stack_end - LC1 @ sp .Linflated_image_size_offset: .long (input_data_end - 4) - . -#ifdef CONFIG_ARCH_RPC - .globl params -params: ldr r0, =0x10000100 @ params_phys for RPC - mov pc, lr - .ltorg - .align -#endif - /* * dcache_line_size - get the minimum D-cache line size from the CTR register * on ARMv7.
arch/arm/boot/compressed/ll_char_wr.S deleted +0 -131
131 lines not on this page · raw message
arch/arm/configs/rpc_defconfig deleted +0 -127
127 lines not on this page · raw message
arch/arm/include/asm/ecard.h deleted +0 -219
219 lines not on this page · raw message
arch/arm/include/asm/hardware/ioc.h deleted +0 -69
69 lines not on this page · raw message
arch/arm/include/asm/hardware/iomd.h deleted +0 -182
182 lines not on this page · raw message
arch/arm/include/asm/hardware/memc.h deleted +0 -23
@@ -1,23 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/include/asm/hardware/memc.h -* -* Copyright (C) Russell King. -*/ -#define VDMA_ALIGNMENT PAGE_SIZE -#define VDMA_XFERSIZE 16 -#define VDMA_INIT 0 -#define VDMA_START 1 -#define VDMA_END 2 - -#ifndef __ASSEMBLY__ -extern void memc_write (unsigned int reg,unsigned long val); - -#define video_set_dma (start,end,offset) \ -do { \ - memc_write (VDMA_START, (start >> 2)); \ - memc_write (VDMA_END, (end - VDMA_XFERSIZE) >> 2); \ - memc_write (VDMA_INIT, (offset >> 2)); \ -} while (0) - -#endif
arch/arm/include/asm/io.h +1 -4
@@ -207,16 +207,13 @@ void __iomem *pci_remap_cfgspace(resource_size_t res_cookie, size_t size);/* * Now, pick up the machine-defined IO definitions */ -#ifdef CONFIG_NEED_MACH_IO_H -#include <mach/io.h> -#else #if IS_ENABLED (CONFIG_PCMCIA ) || defined(CONFIG_PCI )#define IO_SPACE_LIMIT ((resource_size_t)0xfffff)#else #define IO_SPACE_LIMIT ((resource_size_t)0)#endif +#define __io (a) __typesafe_io(PCI_IO_VIRT_BASE + ((a) & IO_SPACE_LIMIT)) -#endif /* * IO port access primitives
arch/arm/include/asm/memory.h +0 -3
@@ -20,9 +20,6 @@#include <linux/types.h> #include <linux/sizes.h> -#ifdef CONFIG_NEED_MACH_MEMORY_H -#include <mach/memory.h> -#endif #include <asm/kasan_def.h> /*
arch/arm/kernel/head-common.S +0 -13
@@ -221,19 +221,6 @@ str_p2: .asciz ").\n" ENDPROC(__error_p) __error: -#ifdef CONFIG_ARCH_RPC -/* - * Turn the screen red on a error - RiscPC only. - */ - mov r0, #0x02000000 - mov r3, #0x11 - orr r3, r3, r3, lsl #8 - orr r3, r3, r3, lsl #16 - str r3, [r0], #4 - str r3, [r0], #4 - str r3, [r0], #4 - str r3, [r0], #4 -#endif 1: mov r0, r0 b 1b ENDPROC(__error)
arch/arm/kernel/head.S +0 -12
@@ -347,18 +347,6 @@ __create_page_tables: /* we don't need any serial debugging mappings */ ldr r7, [r10, #PROCINFO_IO_MMUFLAGS] @ io_mmuflags #endif -#ifdef CONFIG_ARCH_RPC - /* - * Map in screen at 0x02000000 & SCREEN2_BASE - * Similar reasons here - for debug. This is - * only for Acorn RiscPC architectures. - */ - add r0, r4, #0x02000000 >> (SECTION_SHIFT - PMD_ENTRY_ORDER) - orr r3, r7, #0x02000000 - str r3, [r0] - add r0, r4, #0xd8000000 >> (SECTION_SHIFT - PMD_ENTRY_ORDER) - str r3, [r0] -#endif #endif #ifdef CONFIG_ARM_LPAE sub r4, r4, #0x1000 @ point to the PGD table
arch/arm/lib/delay-loop.S +0 -4
@@ -9,10 +9,6 @@ #include <asm/assembler.h> #include <asm/delay.h> -#ifdef CONFIG_ARCH_RPC - .arch armv4 -#endif - .text .LC0: .word loops_per_jiffy
arch/arm/mach-rpc/Kconfig deleted +0 -24
@@ -1,24 +0,0 @@ -config ARCH_RPC - bool "RiscPC (DEPRECATED)" - depends on ARCH_MULTI_V4 && !(ARCH_MULTI_V4T || ARCH_MULTI_V5) - depends on !(ARCH_FOOTBRIDGE || ARCH_SA1100 || ARCH_MOXART || ARCH_GEMINI) - depends on !CC_IS_CLANG && GCC_VERSION < 90100 && GCC_VERSION >= 60000 - depends on CPU_LITTLE_ENDIAN - depends on ATAGS - depends on MMU - select ARCH_ACORN - select ARCH_MAY_HAVE_PC_FDC - select CPU_SA110 - select FIQ - select HAVE_PATA_PLATFORM - select ISA_DMA_API - select LEGACY_TIMER_TICK - select NEED_MACH_IO_H - select NEED_MACH_MEMORY_H - select NO_IOPORT_MAP - help - On the Acorn Risc-PC, Linux can support the internal IDE disk and - CD-ROM interface, serial and parallel port, and the floppy drive. - - Support for these machines will go away in 2027, - unless there are any remaining users that speak up.
arch/arm/mach-rpc/Makefile deleted +0 -9
@@ -1,9 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -# -# Makefile for the linux kernel. -# - -# Object file lists. - -obj-y :=dma.o ecard.o ecard-loader.o fiq.o floppydma.o io-acorn.o irq.o \ - riscpc.o time.o
arch/arm/mach-rpc/dma.c deleted +0 -393
393 lines not on this page · raw message
arch/arm/mach-rpc/ecard-loader.S deleted +0 -40
@@ -1,40 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/ecard.S - * - * Copyright (C) 1995, 1996 Russell King - * - * 27/03/03 Ian Molton Clean up CONFIG_CPU - */ -#include <linux/linkage.h> -#include <asm/assembler.h> - -#define CPSR2SPSR(rt) \ - mrs rt, cpsr; \ - msr spsr_cxsf, rt - -@ Purpose: call an expansion card loader to read bytes. -@ Proto : char read_loader(int offset, char *card_base, char *loader); -@ Returns: byte read - -ENTRY(ecard_loader_read) - stmfd sp!, {r4 - r12, lr} - mov r11, r1 - mov r1, r0 - CPSR2SPSR(r0) - mov lr, pc - mov pc, r2 - ldmfd sp!, {r4 - r12, pc} - -@ Purpose: call an expansion card loader to reset the card -@ Proto : void read_loader(int card_base, char *loader); -@ Returns: byte read - -ENTRY(ecard_loader_reset) - stmfd sp!, {r4 - r12, lr} - mov r11, r0 - CPSR2SPSR(r0) - mov lr, pc - add pc, r1, #8 - ldmfd sp!, {r4 - r12, pc} -
arch/arm/mach-rpc/ecard.c deleted +0 -1146
1,146 lines not on this page · raw message
arch/arm/mach-rpc/ecard.h deleted +0 -66
66 lines not on this page · raw message
arch/arm/mach-rpc/fiq.S deleted +0 -18
@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#include <linux/linkage.h> -#include <asm/assembler.h> -#include <mach/hardware.h> - - .equ ioc_base_high, IOC_BASE & 0xff000000 - .equ ioc_base_low, IOC_BASE & 0x00ff0000 - - .text - .global rpc_default_fiq_end -ENTRY(rpc_default_fiq_start) - mov r12, #ioc_base_high - .if ioc_base_low - orr r12, r12, #ioc_base_low - .endif - strb r12, [r12, #0x38] @ Disable FIQ register - subs pc, lr, #4 -rpc_default_fiq_end:
arch/arm/mach-rpc/floppydma.S deleted +0 -29
@@ -1,29 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* - * linux/arch/arm/lib/floppydma.S - * - * Copyright (C) 1995, 1996 Russell King - */ -#include <linux/linkage.h> -#include <asm/assembler.h> - .text - - .global floppy_fiqin_end -ENTRY(floppy_fiqin_start) - subs r9, r9, #1 - ldrbgt r12, [r11, #-4] - ldrble r12, [r11], #0 - strb r12, [r10], #1 - subs pc, lr, #4 -floppy_fiqin_end: - - .global floppy_fiqout_end -ENTRY(floppy_fiqout_start) - subs r9, r9, #1 - ldrbge r12, [r10], #1 - movlt r12, #0 - strble r12, [r11], #0 - subsle pc, lr, #4 - strb r12, [r11, #-4] - subs pc, lr, #4 -floppy_fiqout_end:
arch/arm/mach-rpc/include/mach/acornfb.h deleted +0 -137
137 lines not on this page · raw message
arch/arm/mach-rpc/include/mach/hardware.h deleted +0 -73
73 lines not on this page · raw message
arch/arm/mach-rpc/include/mach/io.h deleted +0 -28
@@ -1,28 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/mach-rpc/include/mach/io.h -* -* Copyright (C) 1997 Russell King -* -* Modifications: -* 06-Dec-1997 RMK Created. -*/ -#ifndef __ASM_ARM_ARCH_IO_H -#define __ASM_ARM_ARCH_IO_H - -#include <mach/hardware.h> - -#define IO_SPACE_LIMIT 0xffff - -/* -* We need PC style IO addressing for: -* - floppy (at 0x3f2,0x3f4,0x3f5,0x3f7) -* - parport (at 0x278-0x27a, 0x27b-0x27f, 0x778-0x77a) -* - 8250 serial (only for compile) -* -* These peripherals are found in an area of MMIO which looks very much -* like an ISA bus, but with registers at the low byte of each word. -*/ -#define __io (a) (PCIO_BASE + ((a) << 2)) - -#endif
arch/arm/mach-rpc/include/mach/irqs.h deleted +0 -42
13 lines not on this page · raw message
arch/arm/mach-rpc/include/mach/isa-dma.h deleted +0 -26
Lines of this file are not shown. View the raw message.
arch/arm/mach-rpc/include/mach/memory.h deleted +0 -32
Lines of this file are not shown. View the raw message.
arch/arm/mach-rpc/include/mach/uncompress.h deleted +0 -181
181 lines not on this page · raw message
arch/arm/mach-rpc/irq.c deleted +0 -226
226 lines not on this page · raw message
arch/arm/mach-rpc/riscpc.c deleted +0 -225
225 lines not on this page · raw message
arch/arm/mach-rpc/time.c deleted +0 -97
97 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 4/13 ARM: remove legacy pxa board files
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The PXA platform supports devicetree based booting, but still has a few traditional board files, which were left as a starting point for a possible conversion to devicetree during the last mass purge of board files in 2022.
None of these boards were actually converted, so drop support for these now, along with the 'scoop' support chip that was used on some PDAs that are no longer usable now.
The only remaining board support is for the "Raumfeld" speaker system based on PXA300 SoC, though basic support for PXA250 and PXA270 is still there and may work with external dts files.
--- arch/arm/boot/compressed/Makefile | 4 - arch/arm/boot/compressed/head-sharpsl.S | 151 --- arch/arm/common/Kconfig | 6 - arch/arm/common/Makefile | 2 - arch/arm/common/scoop.c | 269 ----- arch/arm/common/sharpsl_param.c | 63 -- arch/arm/configs/am200epdkit_defconfig | 91 -- arch/arm/configs/spitz_defconfig | 237 ----- arch/arm/include/asm/hardware/scoop.h | 67 -- arch/arm/include/asm/mach/sharpsl_param.h | 33 - arch/arm/mach-pxa/Kconfig | 89 -- arch/arm/mach-pxa/Makefile | 8 - arch/arm/mach-pxa/am200epd.c | 395 ------- arch/arm/mach-pxa/am300epd.c | 296 ------ arch/arm/mach-pxa/devices.c | 705 ------------- arch/arm/mach-pxa/devices.h | 68 -- arch/arm/mach-pxa/generic.h | 5 - arch/arm/mach-pxa/gumstix.c | 237 ----- arch/arm/mach-pxa/gumstix.h | 89 -- arch/arm/mach-pxa/pxa25x.c | 59 -- arch/arm/mach-pxa/pxa27x.c | 77 -- arch/arm/mach-pxa/pxa300.c | 1 - arch/arm/mach-pxa/pxa320.c | 1 - arch/arm/mach-pxa/pxa3xx.c | 6 - arch/arm/mach-pxa/sharpsl_pm.c | 941 ----------------- arch/arm/mach-pxa/sharpsl_pm.h | 108 -- arch/arm/mach-pxa/spitz.c | 1174 --------------------- arch/arm/mach-pxa/spitz.h | 185 ---- arch/arm/mach-pxa/spitz_pm.c | 257 ----- 29 files changed, 5624 deletions(-) delete mode 100644 arch/arm/boot/compressed/head-sharpsl.S delete mode 100644 arch/arm/common/scoop.c delete mode 100644 arch/arm/common/sharpsl_param.c delete mode 100644 arch/arm/configs/am200epdkit_defconfig delete mode 100644 arch/arm/configs/spitz_defconfig delete mode 100644 arch/arm/include/asm/hardware/scoop.h delete mode 100644 arch/arm/include/asm/mach/sharpsl_param.h delete mode 100644 arch/arm/mach-pxa/am200epd.c delete mode 100644 arch/arm/mach-pxa/am300epd.c delete mode 100644 arch/arm/mach-pxa/devices.h delete mode 100644 arch/arm/mach-pxa/gumstix.c delete mode 100644 arch/arm/mach-pxa/gumstix.h delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.c delete mode 100644 arch/arm/mach-pxa/sharpsl_pm.h delete mode 100644 arch/arm/mach-pxa/spitz.c delete mode 100644 arch/arm/mach-pxa/spitz.h delete mode 100644 arch/arm/mach-pxa/spitz_pm.c
arch/arm/boot/compressed/Makefile +0 -4
@@ -29,10 +29,6 @@ ifeq ($(CONFIG_CPU_XSCALE),y) OBJS += head-xscale.o endif -ifeq ($(CONFIG_PXA_SHARPSL_DETECT_MACH_ID),y) -OBJS += head-sharpsl.o -endif - ifeq ($(CONFIG_CPU_ENDIAN_BE32),y) ifeq ($(CONFIG_CPU_CP15),y) OBJS += big-endian.o
arch/arm/boot/compressed/head-sharpsl.S deleted +0 -151
151 lines not on this page · raw message
arch/arm/common/Kconfig +0 -6
@@ -1,9 +1,3 @@ # SPDX-License-Identifier: GPL-2.0 config KRAIT_L2_ACCESSORS bool - -config SHARP_PARAM - bool - -config SHARP_SCOOP - bool
arch/arm/common/Makefile +0 -2
@@ -6,8 +6,6 @@ obj-y += firmware.o obj-$(CONFIG_KRAIT_L2_ACCESSORS) += krait-l2-accessors.o -obj-$(CONFIG_SHARP_PARAM) += sharpsl_param.o -obj-$(CONFIG_SHARP_SCOOP) += scoop.o obj-$(CONFIG_CPU_V7) += secure_cntvoff.o obj-$(CONFIG_MCPM) += mcpm_head.o mcpm_entry.o mcpm_platsmp.o vlock.o CFLAGS_REMOVE_mcpm_entry.o = -pg
arch/arm/common/scoop.c deleted +0 -269
269 lines not on this page · raw message
arch/arm/common/sharpsl_param.c deleted +0 -63
63 lines not on this page · raw message
arch/arm/configs/am200epdkit_defconfig deleted +0 -91
91 lines not on this page · raw message
arch/arm/configs/spitz_defconfig deleted +0 -237
237 lines not on this page · raw message
arch/arm/include/asm/hardware/scoop.h deleted +0 -67
67 lines not on this page · raw message
arch/arm/include/asm/mach/sharpsl_param.h deleted +0 -33
@@ -1,33 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* Hardware parameter area specific to Sharp SL series devices -* -* Copyright (c) 2005 Richard Purdie -* -* Based on Sharp's 2.4 kernel patches -*/ - -struct sharpsl_param_info { -unsigned int comadj_keyword; -unsigned int comadj; - -unsigned int uuid_keyword; -unsigned char uuid[16 ]; - -unsigned int touch_keyword; -unsigned int touch_xp; -unsigned int touch_yp; -unsigned int touch_xd; -unsigned int touch_yd; - -unsigned int adadj_keyword; -unsigned int adadj; - -unsigned int phad_keyword; -unsigned int phadadj; -} __attribute__((packed)); - - -extern struct sharpsl_param_info sharpsl_param; -extern void sharpsl_save_param (void ); -
arch/arm/mach-pxa/Kconfig +0 -89
99 lines not on this page · raw message
arch/arm/mach-pxa/Makefile +0 -8
@@ -22,11 +22,3 @@ obj-$(CONFIG_CPU_PXA320) += pxa320.o obj-$(CONFIG_MACH_PXA25X_DT) += pxa-dt.o obj-$(CONFIG_MACH_PXA27X_DT) += pxa-dt.o obj-$(CONFIG_MACH_PXA3XX_DT) += pxa-dt.o - -# 3rd Party Dev Platforms -obj-$(CONFIG_ARCH_GUMSTIX) += gumstix.o -obj-$(CONFIG_GUMSTIX_AM200EPD) += am200epd.o -obj-$(CONFIG_GUMSTIX_AM300EPD) += am300epd.o - -# End-user Products -obj-$(CONFIG_PXA_SHARP_Cxx00) += spitz.o sharpsl_pm.o spitz_pm.o
arch/arm/mach-pxa/am200epd.c deleted +0 -395
395 lines not on this page · raw message
arch/arm/mach-pxa/am300epd.c deleted +0 -296
296 lines not on this page · raw message
arch/arm/mach-pxa/devices.c +0 -705
715 lines not on this page · raw message
arch/arm/mach-pxa/devices.h deleted +0 -68
68 lines not on this page · raw message
arch/arm/mach-pxa/generic.h +0 -5
@@ -38,11 +38,6 @@ extern struct syscore pxa_irq_syscore;extern struct syscore pxa2xx_mfp_syscore;extern struct syscore pxa3xx_mfp_syscore; -void __init pxa_set_ffuart_info (void *info); -void __init pxa_set_btuart_info (void *info); -void __init pxa_set_stuart_info (void *info); -void __init pxa_set_hwuart_info (void *info); -void pxa_restart (enum reboot_mode ,const char *);#if defined(CONFIG_PXA25x) || defined(CONFIG_PXA27x)
arch/arm/mach-pxa/gumstix.c deleted +0 -237
237 lines not on this page · raw message
arch/arm/mach-pxa/gumstix.h deleted +0 -89
89 lines not on this page · raw message
arch/arm/mach-pxa/pxa25x.c +0 -59
83 lines not on this page · raw message
arch/arm/mach-pxa/pxa27x.c +0 -77
58 lines not on this page · raw message
arch/arm/mach-pxa/sharpsl_pm.c deleted +0 -941
941 lines not on this page · raw message
arch/arm/mach-pxa/sharpsl_pm.h deleted +0 -108
108 lines not on this page · raw message
arch/arm/mach-pxa/spitz.c deleted +0 -1174
1,174 lines not on this page · raw message
arch/arm/mach-pxa/spitz.h deleted +0 -185
185 lines not on this page · raw message
arch/arm/mach-pxa/spitz_pm.c deleted +0 -257
257 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 5/13 ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.
--- MAINTAINERS | 2 - arch/arm/Kconfig | 2 - arch/arm/Kconfig.debug | 2 +- arch/arm/Makefile | 2 - arch/arm/configs/dove_defconfig | 134 --- arch/arm/configs/mv78xx0_defconfig | 120 --- arch/arm/mach-dove/Kconfig | 32 - arch/arm/mach-dove/Makefile | 7 - arch/arm/mach-dove/bridge-regs.h | 50 -- arch/arm/mach-dove/cm-a510.c | 94 -- arch/arm/mach-dove/common.c | 449 ---------- arch/arm/mach-dove/common.h | 46 - arch/arm/mach-dove/dove.h | 185 ---- arch/arm/mach-dove/irq.c | 81 -- arch/arm/mach-dove/irqs.h | 89 -- arch/arm/mach-dove/mpp.c | 159 ---- arch/arm/mach-dove/mpp.h | 197 ----- arch/arm/mach-dove/pcie.c | 226 ----- arch/arm/mach-dove/pm.h | 58 -- arch/arm/mach-mv78xx0/Kconfig | 27 - arch/arm/mach-mv78xx0/Makefile | 5 - arch/arm/mach-mv78xx0/bridge-regs.h | 31 - arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 183 ---- arch/arm/mach-mv78xx0/common.c | 444 ---------- arch/arm/mach-mv78xx0/common.h | 54 -- arch/arm/mach-mv78xx0/irq.c | 69 -- arch/arm/mach-mv78xx0/irqs.h | 87 -- arch/arm/mach-mv78xx0/mpp.c | 34 - arch/arm/mach-mv78xx0/mpp.h | 337 ------- arch/arm/mach-mv78xx0/mv78xx0.h | 134 --- arch/arm/mach-mv78xx0/pcie.c | 280 ------ arch/arm/mach-orion5x/Kconfig | 95 -- arch/arm/mach-orion5x/Makefile | 9 - arch/arm/mach-orion5x/board-dt.c | 3 +- arch/arm/mach-orion5x/common.c | 238 +---- arch/arm/mach-orion5x/common.h | 15 - arch/arm/mach-orion5x/dns323-setup.c | 757 ---------------- arch/arm/mach-orion5x/kurobox_pro-setup.c | 407 --------- arch/arm/mach-orion5x/mv2120-setup.c | 256 ------ arch/arm/mach-orion5x/net2big-setup.c | 444 ---------- arch/arm/mach-orion5x/pci.c | 1 - .../arm/mach-orion5x/terastation_pro2-setup.c | 366 -------- arch/arm/mach-orion5x/ts209-setup.c | 331 ------- arch/arm/mach-orion5x/ts409-setup.c | 329 ------- arch/arm/mach-orion5x/ts78xx-fpga.h | 42 - arch/arm/mach-orion5x/ts78xx-setup.c | 574 ------------ arch/arm/mach-orion5x/tsx09-common.c | 129 --- arch/arm/mach-orion5x/tsx09-common.h | 21 - arch/arm/mm/Kconfig | 2 +- arch/arm/plat-orion/Makefile | 2 +- arch/arm/plat-orion/common.c | 826 ------------------ arch/arm/plat-orion/include/plat/addr-map.h | 54 -- arch/arm/plat-orion/include/plat/common.h | 104 --- arch/arm/plat-orion/include/plat/time.h | 20 - arch/arm/plat-orion/pcie.c | 1 - arch/arm/plat-orion/time.c | 238 ----- drivers/ata/Kconfig | 3 +- drivers/mmc/host/Kconfig | 2 +- drivers/pci/controller/Kconfig | 2 +- drivers/phy/marvell/Kconfig | 2 +- drivers/rtc/Kconfig | 2 +- drivers/soc/Makefile | 1 - drivers/thermal/Kconfig | 2 +- drivers/watchdog/Kconfig | 2 +- sound/soc/kirkwood/Kconfig | 2 +- 65 files changed, 14 insertions(+), 8888 deletions(-) delete mode 100644 arch/arm/configs/dove_defconfig delete mode 100644 arch/arm/configs/mv78xx0_defconfig delete mode 100644 arch/arm/mach-dove/Kconfig delete mode 100644 arch/arm/mach-dove/Makefile delete mode 100644 arch/arm/mach-dove/bridge-regs.h delete mode 100644 arch/arm/mach-dove/cm-a510.c delete mode 100644 arch/arm/mach-dove/common.c delete mode 100644 arch/arm/mach-dove/common.h delete mode 100644 arch/arm/mach-dove/dove.h delete mode 100644 arch/arm/mach-dove/irq.c delete mode 100644 arch/arm/mach-dove/irqs.h delete mode 100644 arch/arm/mach-dove/mpp.c delete mode 100644 arch/arm/mach-dove/mpp.h delete mode 100644 arch/arm/mach-dove/pcie.c delete mode 100644 arch/arm/mach-dove/pm.h delete mode 100644 arch/arm/mach-mv78xx0/Kconfig delete mode 100644 arch/arm/mach-mv78xx0/Makefile delete mode 100644 arch/arm/mach-mv78xx0/bridge-regs.h delete mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c delete mode 100644 arch/arm/mach-mv78xx0/common.c delete mode 100644 arch/arm/mach-mv78xx0/common.h delete mode 100644 arch/arm/mach-mv78xx0/irq.c delete mode 100644 arch/arm/mach-mv78xx0/irqs.h delete mode 100644 arch/arm/mach-mv78xx0/mpp.c delete mode 100644 arch/arm/mach-mv78xx0/mpp.h delete mode 100644 arch/arm/mach-mv78xx0/mv78xx0.h delete mode 100644 arch/arm/mach-mv78xx0/pcie.c delete mode 100644 arch/arm/mach-orion5x/dns323-setup.c delete mode 100644 arch/arm/mach-orion5x/kurobox_pro-setup.c delete mode 100644 arch/arm/mach-orion5x/mv2120-setup.c delete mode 100644 arch/arm/mach-orion5x/net2big-setup.c delete mode 100644 arch/arm/mach-orion5x/terastation_pro2-setup.c delete mode 100644 arch/arm/mach-orion5x/ts209-setup.c delete mode 100644 arch/arm/mach-orion5x/ts409-setup.c delete mode 100644 arch/arm/mach-orion5x/ts78xx-fpga.h delete mode 100644 arch/arm/mach-orion5x/ts78xx-setup.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.h delete mode 100644 arch/arm/plat-orion/common.c delete mode 100644 arch/arm/plat-orion/include/plat/addr-map.h delete mode 100644 arch/arm/plat-orion/include/plat/common.h delete mode 100644 arch/arm/plat-orion/include/plat/time.h delete mode 100644 arch/arm/plat-orion/time.c
MAINTAINERS +0 -2
@@ -3080,8 +3080,6 @@ F: Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml F: Documentation/devicetree/bindings/soc/dove/ F: arch/arm/boot/dts/marvell/dove* F: arch/arm/boot/dts/marvell/orion5x* -F: arch/arm/mach-dove/ -F: arch/arm/mach-mv78xx0/ F: arch/arm/mach-orion5x/ F: arch/arm/plat-orion/ F: drivers/bus/mvebu-mbus.c
arch/arm/Kconfig +0 -2
@@ -393,8 +393,6 @@ source "arch/arm/mach-mmp/Kconfig" source "arch/arm/mach-mstar/Kconfig" -source "arch/arm/mach-mv78xx0/Kconfig" - source "arch/arm/mach-mvebu/Kconfig" source "arch/arm/mach-mxs/Kconfig"
arch/arm/Kconfig.debug +1 -1
@@ -583,7 +583,7 @@ choice config DEBUG_MVEBU_UART0_ALTERNATE bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)" - depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X + depends on ARCH_MVEBU || ARCH_ORION5X select DEBUG_UART_8250 help Say Y here if you want kernel low-level debugging support
arch/arm/Makefile +0 -2
@@ -179,7 +179,6 @@ machine-$(CONFIG_ARCH_BERLIN) += berlin machine-$(CONFIG_ARCH_CLPS711X) += clps711x machine-$(CONFIG_ARCH_DAVINCI) += davinci machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor -machine-$(CONFIG_ARCH_DOVE) += dove machine-$(CONFIG_ARCH_EXYNOS) += exynos machine-$(CONFIG_ARCH_GEMINI) += gemini machine-$(CONFIG_ARCH_HIGHBANK) += highbank
@@ -190,7 +189,6 @@ machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx machine-$(CONFIG_ARCH_MESON) += meson machine-$(CONFIG_ARCH_MMP) += mmp -machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0 machine-$(CONFIG_ARCH_MVEBU) += mvebu machine-$(CONFIG_ARCH_MXC) += imx machine-$(CONFIG_ARCH_MEDIATEK) += mediatek
arch/arm/configs/dove_defconfig deleted +0 -134
134 lines not on this page · raw message
arch/arm/configs/mv78xx0_defconfig deleted +0 -120
120 lines not on this page · raw message
arch/arm/mach-dove/Kconfig deleted +0 -32
@@ -1,32 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_DOVE - bool "Marvell Dove (DEPRECATED)" if ARCH_MULTI_V7 - depends on ATAGS - select CPU_PJ4 - select GPIOLIB - select MVEBU_MBUS - select PINCTRL - select PINCTRL_DOVE - select PLAT_ORION_LEGACY - select PM_GENERIC_DOMAINS if PM - select PCI_QUIRKS if PCI - help - Support for the Marvell Dove SoC 88AP510 using board files. - - Support for this machine will be removed in early 2027, unless - there is a strong reason to keep it. Users should migrate to - the devicetree-enabled version (CONFIG_MACH_DOVE) instead. - -if ARCH_DOVE - -config DOVE_LEGACY - bool - -config MACH_CM_A510 - bool "CompuLab CM-A510 Board" - select DOVE_LEGACY - help - Say 'Y' here if you want your kernel to support the - CompuLab CM-A510 Board. - -endif
arch/arm/mach-dove/Makefile deleted +0 -7
@@ -1,7 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o -obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o -obj-$(CONFIG_PCI) += pcie.o -obj-$(CONFIG_MACH_CM_A510) += cm-a510.o
arch/arm/mach-dove/bridge-regs.h deleted +0 -50
50 lines not on this page · raw message
arch/arm/mach-dove/cm-a510.c deleted +0 -94
94 lines not on this page · raw message
arch/arm/mach-dove/common.c deleted +0 -449
449 lines not on this page · raw message
arch/arm/mach-dove/common.h deleted +0 -46
46 lines not on this page · raw message
arch/arm/mach-dove/dove.h deleted +0 -185
185 lines not on this page · raw message
arch/arm/mach-dove/irq.c deleted +0 -81
81 lines not on this page · raw message
arch/arm/mach-dove/irqs.h deleted +0 -89
89 lines not on this page · raw message
arch/arm/mach-dove/mpp.c deleted +0 -159
159 lines not on this page · raw message
arch/arm/mach-dove/mpp.h deleted +0 -197
197 lines not on this page · raw message
arch/arm/mach-dove/pcie.c deleted +0 -226
226 lines not on this page · raw message
arch/arm/mach-dove/pm.h deleted +0 -58
58 lines not on this page · raw message
arch/arm/mach-mv78xx0/Kconfig deleted +0 -27
@@ -1,27 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_MV78XX0 - bool "Marvell MV78xx0 (DEPRECATED)" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - depends on ATAGS - select CPU_FEROCEON - select GPIOLIB - select GPIOLIB_LEGACY - select MVEBU_MBUS - select FORCE_PCI - select PLAT_ORION_LEGACY - help - Support for the following Marvell MV78xx0 series SoCs: - MV781x0, MV782x0. - - This platform is scheduled for removal in early 2027. - -if ARCH_MV78XX0 - -config MACH_TERASTATION_WXL - bool "Buffalo WLX (Terastation Duo) NAS" - help - Say 'Y' here if you want your kernel to support the - Buffalo WXL Nas. - -endif
arch/arm/mach-mv78xx0/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o mpp.o irq.o pcie.o -obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.o
arch/arm/mach-mv78xx0/bridge-regs.h deleted +0 -31
@@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_ARCH_BRIDGE_REGS_H -#define __ASM_ARCH_BRIDGE_REGS_H - -#include "mv78xx0.h" - -#define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) -#define L2_WRITETHROUGH 0x00020000 - -#define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) -#define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x0108) -#define SOFT_RESET_OUT_EN 0x00000004 - -#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) -#define SOFT_RESET 0x00000001 - -#define BRIDGE_INT_TIMER1_CLR (~0x0004) - -#define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) -#define IRQ_CAUSE_ERR_OFF 0x0000 -#define IRQ_CAUSE_LOW_OFF 0x0004 -#define IRQ_CAUSE_HIGH_OFF 0x0008 -#define IRQ_MASK_ERR_OFF 0x000c -#define IRQ_MASK_LOW_OFF 0x0010 -#define IRQ_MASK_HIGH_OFF 0x0014 - -#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0300) -#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE + 0x0300) - -#endif
arch/arm/mach-mv78xx0/buffalo-wxl-setup.c deleted +0 -183
183 lines not on this page · raw message
arch/arm/mach-mv78xx0/common.c deleted +0 -444
444 lines not on this page · raw message
arch/arm/mach-mv78xx0/common.h deleted +0 -54
54 lines not on this page · raw message
arch/arm/mach-mv78xx0/irq.c deleted +0 -69
69 lines not on this page · raw message
arch/arm/mach-mv78xx0/irqs.h deleted +0 -87
87 lines not on this page · raw message
arch/arm/mach-mv78xx0/mpp.c deleted +0 -34
@@ -1,34 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-mv78x00/mpp.c -* -* MPP functions for Marvell MV78x00 SoCs -*/ -#include <linux/gpio/consumer.h> -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/io.h> -#include <plat/mpp.h> -#include "mv78xx0.h" -#include "common.h" -#include "mpp.h" - -static unsigned int __init mv78xx0_variant (void ) -{ -u32 dev, rev; - -mv78xx0_pcie_id (&dev, &rev); - -if (dev ==MV78100_DEV_ID && rev >=MV78100_REV_A0 ) -return MPP_78100_A0_MASK ; - -printk (KERN_ERR "MPP setup: unknown mv78x00 variant " -"(dev %#x rev %#x)\n" , dev, rev); -return 0 ; -} - -void __init mv78xx0_mpp_conf (unsigned int *mpp_list) -{ -orion_mpp_conf (mpp_list,mv78xx0_variant (), -MPP_MAX ,DEV_BUS_VIRT_BASE ); -}
arch/arm/mach-mv78xx0/mpp.h deleted +0 -337
101 lines not on this page · raw message
arch/arm/mach-mv78xx0/mv78xx0.h deleted +0 -134
134 lines not on this page · raw message
arch/arm/mach-mv78xx0/pcie.c deleted +0 -280
280 lines not on this page · raw message
arch/arm/mach-orion5x/Kconfig +0 -95
95 lines not on this page · raw message
arch/arm/mach-orion5x/common.c +2 -236
238 lines not on this page · raw message
arch/arm/mach-orion5x/dns323-setup.c deleted +0 -757
757 lines not on this page · raw message
arch/arm/mach-orion5x/kurobox_pro-setup.c deleted +0 -407
407 lines not on this page · raw message
arch/arm/mach-orion5x/mv2120-setup.c deleted +0 -256
256 lines not on this page · raw message
arch/arm/mach-orion5x/net2big-setup.c deleted +0 -444
444 lines not on this page · raw message
arch/arm/mach-orion5x/terastation_pro2-setup.c deleted +0 -366
366 lines not on this page · raw message
arch/arm/mach-orion5x/ts209-setup.c deleted +0 -331
331 lines not on this page · raw message
arch/arm/mach-orion5x/ts409-setup.c deleted +0 -329
329 lines not on this page · raw message
arch/arm/mach-orion5x/ts78xx-fpga.h deleted +0 -42
42 lines not on this page · raw message
arch/arm/mach-orion5x/ts78xx-setup.c deleted +0 -574
574 lines not on this page · raw message
arch/arm/mach-orion5x/tsx09-common.c deleted +0 -129
129 lines not on this page · raw message
arch/arm/mach-orion5x/tsx09-common.h deleted +0 -21
Lines of this file are not shown. View the raw message.
arch/arm/plat-orion/common.c deleted +0 -826
826 lines not on this page · raw message
arch/arm/plat-orion/include/plat/addr-map.h deleted +0 -54
54 lines not on this page · raw message
arch/arm/plat-orion/include/plat/common.h deleted +0 -104
104 lines not on this page · raw message
arch/arm/plat-orion/include/plat/time.h deleted +0 -20
Lines of this file are not shown. View the raw message.
arch/arm/plat-orion/time.c deleted +0 -238
238 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 6/13 ARM: omap2: remove omap24xx support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.
Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.
Drop the support for this SoC in order to allow removing ARM1136r0.
--- MAINTAINERS | 2 - arch/arm/boot/dts/ti/omap/Makefile | 6 - arch/arm/boot/dts/ti/omap/omap2.dtsi | 338 ----- .../arm/boot/dts/ti/omap/omap2420-clocks.dtsi | 267 ---- arch/arm/boot/dts/ti/omap/omap2420-h4.dts | 63 - arch/arm/boot/dts/ti/omap/omap2420-n800.dts | 9 - .../boot/dts/ti/omap/omap2420-n810-wimax.dts | 9 - arch/arm/boot/dts/ti/omap/omap2420-n810.dts | 75 - .../dts/ti/omap/omap2420-n8x0-common.dtsi | 123 -- arch/arm/boot/dts/ti/omap/omap2420.dtsi | 262 ---- .../arm/boot/dts/ti/omap/omap2430-clocks.dtsi | 341 ----- arch/arm/boot/dts/ti/omap/omap2430-sdp.dts | 70 - arch/arm/boot/dts/ti/omap/omap2430.dtsi | 366 ----- .../arm/boot/dts/ti/omap/omap24xx-clocks.dtsi | 1241 ----------------- arch/arm/configs/omap2plus_defconfig | 2 - arch/arm/mach-omap2/Kconfig | 62 +- arch/arm/mach-omap2/Makefile | 63 +- arch/arm/mach-omap2/board-generic.c | 34 - arch/arm/mach-omap2/board-n8x0.c | 512 ------- arch/arm/mach-omap2/clkt2xxx_dpll.c | 56 - arch/arm/mach-omap2/clkt2xxx_dpllcore.c | 194 --- arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c | 259 ---- arch/arm/mach-omap2/clock.c | 12 +- arch/arm/mach-omap2/clock2xxx.h | 17 - arch/arm/mach-omap2/clockdomain.c | 4 +- arch/arm/mach-omap2/clockdomain.h | 5 - arch/arm/mach-omap2/clockdomains2420_data.c | 154 -- arch/arm/mach-omap2/clockdomains2430_data.c | 181 --- .../mach-omap2/clockdomains2xxx_3xxx_data.c | 29 +- arch/arm/mach-omap2/cm-regbits-24xx.h | 51 - arch/arm/mach-omap2/cm2xxx.c | 302 ---- arch/arm/mach-omap2/cm2xxx.h | 60 - arch/arm/mach-omap2/cm_common.c | 12 - arch/arm/mach-omap2/common-board-devices.h | 11 - arch/arm/mach-omap2/common.h | 12 - arch/arm/mach-omap2/control.h | 56 - arch/arm/mach-omap2/display.c | 4 +- arch/arm/mach-omap2/dma.c | 53 +- arch/arm/mach-omap2/fb.c | 14 +- arch/arm/mach-omap2/gpmc.h | 10 - arch/arm/mach-omap2/i2c.c | 2 +- arch/arm/mach-omap2/id.c | 80 +- arch/arm/mach-omap2/io.c | 140 +- arch/arm/mach-omap2/iomap.h | 46 - arch/arm/mach-omap2/l3_2xxx.h | 15 - arch/arm/mach-omap2/l4_2xxx.h | 19 - arch/arm/mach-omap2/mmc.h | 18 - arch/arm/mach-omap2/msdi.c | 75 - arch/arm/mach-omap2/omap2-restart.c | 62 - arch/arm/mach-omap2/omap24xx.h | 73 - arch/arm/mach-omap2/omap_hwmod.c | 18 +- arch/arm/mach-omap2/omap_hwmod.h | 2 - arch/arm/mach-omap2/omap_hwmod_2420_data.c | 402 ------ arch/arm/mach-omap2/omap_hwmod_2430_data.c | 606 -------- .../omap_hwmod_2xxx_interconnect_data.c | 256 ---- .../mach-omap2/omap_hwmod_2xxx_ipblock_data.c | 668 --------- arch/arm/mach-omap2/omap_hwmod_common_data.h | 66 - arch/arm/mach-omap2/opp2420_data.c | 131 -- arch/arm/mach-omap2/opp2430_data.c | 136 -- arch/arm/mach-omap2/opp2xxx.h | 430 ------ arch/arm/mach-omap2/pdata-quirks.c | 35 +- arch/arm/mach-omap2/pm.h | 5 - arch/arm/mach-omap2/powerdomain.h | 3 - arch/arm/mach-omap2/powerdomains2xxx_data.c | 134 -- arch/arm/mach-omap2/prcm-common.h | 147 -- arch/arm/mach-omap2/prm-regbits-24xx.h | 39 - arch/arm/mach-omap2/prm2xxx.c | 229 --- arch/arm/mach-omap2/prm2xxx.h | 128 -- arch/arm/mach-omap2/prm2xxx_3xxx.c | 1 - arch/arm/mach-omap2/prm_common.c | 11 - arch/arm/mach-omap2/sdrc.h | 21 - arch/arm/mach-omap2/sdrc2xxx.c | 164 --- arch/arm/mach-omap2/sleep24xx.S | 91 -- arch/arm/mach-omap2/soc.h | 59 - arch/arm/mach-omap2/sram.c | 159 +-- arch/arm/mach-omap2/sram.h | 32 - arch/arm/mach-omap2/sram242x.S | 317 ----- arch/arm/mach-omap2/sram243x.S | 317 ----- arch/arm/mach-omap2/usb-tusb6010.c | 217 --- arch/arm/mach-omap2/usb-tusb6010.h | 12 - arch/arm/mach-omap2/voltagedomains2xxx_data.c | 29 - drivers/crypto/Kconfig | 2 +- drivers/media/platform/ti/omap/Kconfig | 4 +- drivers/mtd/nand/onenand/Kconfig | 4 +- drivers/video/fbdev/omap2/omapfb/Kconfig | 2 +- include/linux/clk/ti.h | 8 - 86 files changed, 60 insertions(+), 10696 deletions(-) delete mode 100644 arch/arm/boot/dts/ti/omap/omap2.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-h4.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n800.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n810.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2420.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430-sdp.dts delete mode 100644 arch/arm/boot/dts/ti/omap/omap2430.dtsi delete mode 100644 arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi delete mode 100644 arch/arm/mach-omap2/board-n8x0.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpll.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_dpllcore.c delete mode 100644 arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c delete mode 100644 arch/arm/mach-omap2/clock2xxx.h delete mode 100644 arch/arm/mach-omap2/clockdomains2420_data.c delete mode 100644 arch/arm/mach-omap2/clockdomains2430_data.c delete mode 100644 arch/arm/mach-omap2/cm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/cm2xxx.c delete mode 100644 arch/arm/mach-omap2/cm2xxx.h delete mode 100644 arch/arm/mach-omap2/common-board-devices.h delete mode 100644 arch/arm/mach-omap2/gpmc.h delete mode 100644 arch/arm/mach-omap2/l3_2xxx.h delete mode 100644 arch/arm/mach-omap2/l4_2xxx.h delete mode 100644 arch/arm/mach-omap2/mmc.h delete mode 100644 arch/arm/mach-omap2/msdi.c delete mode 100644 arch/arm/mach-omap2/omap2-restart.c delete mode 100644 arch/arm/mach-omap2/omap24xx.h delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2420_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2430_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c delete mode 100644 arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c delete mode 100644 arch/arm/mach-omap2/opp2420_data.c delete mode 100644 arch/arm/mach-omap2/opp2430_data.c delete mode 100644 arch/arm/mach-omap2/opp2xxx.h delete mode 100644 arch/arm/mach-omap2/powerdomains2xxx_data.c delete mode 100644 arch/arm/mach-omap2/prm-regbits-24xx.h delete mode 100644 arch/arm/mach-omap2/prm2xxx.c delete mode 100644 arch/arm/mach-omap2/prm2xxx.h delete mode 100644 arch/arm/mach-omap2/sdrc2xxx.c delete mode 100644 arch/arm/mach-omap2/sleep24xx.S delete mode 100644 arch/arm/mach-omap2/sram242x.S delete mode 100644 arch/arm/mach-omap2/sram243x.S delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.c delete mode 100644 arch/arm/mach-omap2/usb-tusb6010.h delete mode 100644 arch/arm/mach-omap2/voltagedomains2xxx_data.c
MAINTAINERS +0 -2
@@ -19874,7 +19874,6 @@ M: Jarkko Nikula <[email protected]> L: [email protected] L: [email protected] S: Maintained -F: sound/soc/ti/n810.c F: sound/soc/ti/omap* F: sound/soc/ti/rx51.c F: sound/soc/ti/sdma-pcm.*
@@ -20027,7 +20026,6 @@ F: drivers/gpio/gpio-tps65219.c F: drivers/i2c/busses/i2c-omap.c F: drivers/irqchip/irq-omap-intc.c F: drivers/mfd/*omap*.c -F: drivers/mfd/menelaus.c F: drivers/mfd/palmas.c F: drivers/mfd/tps65217.c F: drivers/mfd/tps65218.c
arch/arm/boot/dts/ti/omap/Makefile +0 -6
@@ -1,10 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_OMAP2) += \ - omap2420-h4.dtb \ - omap2420-n800.dtb \ - omap2420-n810.dtb \ - omap2420-n810-wimax.dtb \ - omap2430-sdp.dtb dtb-$(CONFIG_ARCH_OMAP3) += \ am3517-craneboard.dtb \ am3517-evm.dtb \
arch/arm/boot/dts/ti/omap/omap2.dtsi deleted +0 -338
338 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2420-clocks.dtsi deleted +0 -267
267 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2420-h4.dts deleted +0 -63
63 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2420-n800.dts deleted +0 -9
@@ -1,9 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "omap2420-n8x0-common.dtsi" - -/ { - model = "Nokia N800"; - compatible = "nokia,n800", "nokia,n8x0", "ti,omap2420", "ti,omap2"; -};
arch/arm/boot/dts/ti/omap/omap2420-n810-wimax.dts deleted +0 -9
@@ -1,9 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -/dts-v1/; - -#include "omap2420-n8x0-common.dtsi" - -/ { - model = "Nokia N810 WiMax"; - compatible = "nokia,n810-wimax", "nokia,n8x0", "ti,omap2420", "ti,omap2"; -};
arch/arm/boot/dts/ti/omap/omap2420-n810.dts deleted +0 -75
75 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2420-n8x0-common.dtsi deleted +0 -123
123 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2420.dtsi deleted +0 -262
262 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2430-clocks.dtsi deleted +0 -341
341 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2430-sdp.dts deleted +0 -70
70 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap2430.dtsi deleted +0 -366
366 lines not on this page · raw message
arch/arm/boot/dts/ti/omap/omap24xx-clocks.dtsi deleted +0 -1241
1,053 lines not on this page · raw message
arch/arm/mach-omap2/Kconfig +4 -58
62 lines not on this page · raw message
arch/arm/mach-omap2/Makefile +6 -57
63 lines not on this page · raw message
arch/arm/mach-omap2/board-n8x0.c deleted +0 -512
512 lines not on this page · raw message
arch/arm/mach-omap2/clkt2xxx_dpll.c deleted +0 -56
56 lines not on this page · raw message
arch/arm/mach-omap2/clkt2xxx_dpllcore.c deleted +0 -194
194 lines not on this page · raw message
arch/arm/mach-omap2/clkt2xxx_virt_prcm_set.c deleted +0 -259
259 lines not on this page · raw message
arch/arm/mach-omap2/clock2xxx.h deleted +0 -17
Lines of this file are not shown. View the raw message.
arch/arm/mach-omap2/clockdomains2420_data.c deleted +0 -154
154 lines not on this page · raw message
arch/arm/mach-omap2/clockdomains2430_data.c deleted +0 -181
181 lines not on this page · raw message
arch/arm/mach-omap2/clockdomains2xxx_3xxx_data.c +2 -27
Lines of this file are not shown. View the raw message.
arch/arm/mach-omap2/cm-regbits-24xx.h deleted +0 -51
51 lines not on this page · raw message
arch/arm/mach-omap2/cm2xxx.c deleted +0 -302
302 lines not on this page · raw message
arch/arm/mach-omap2/cm2xxx.h deleted +0 -60
60 lines not on this page · raw message
arch/arm/mach-omap2/common-board-devices.h deleted +0 -11
Lines of this file are not shown. View the raw message.
arch/arm/mach-omap2/control.h +0 -56
56 lines not on this page · raw message
arch/arm/mach-omap2/dma.c +1 -52
53 lines not on this page · raw message
arch/arm/mach-omap2/id.c +2 -78
80 lines not on this page · raw message
arch/arm/mach-omap2/io.c +5 -135
140 lines not on this page · raw message
arch/arm/mach-omap2/iomap.h +0 -46
46 lines not on this page · raw message
arch/arm/mach-omap2/msdi.c deleted +0 -75
75 lines not on this page · raw message
arch/arm/mach-omap2/omap2-restart.c deleted +0 -62
62 lines not on this page · raw message
arch/arm/mach-omap2/omap24xx.h deleted +0 -73
73 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_2420_data.c deleted +0 -402
402 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_2430_data.c deleted +0 -606
606 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c deleted +0 -256
256 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c deleted +0 -668
668 lines not on this page · raw message
arch/arm/mach-omap2/omap_hwmod_common_data.h +0 -66
66 lines not on this page · raw message
arch/arm/mach-omap2/opp2420_data.c deleted +0 -131
131 lines not on this page · raw message
arch/arm/mach-omap2/opp2430_data.c deleted +0 -136
136 lines not on this page · raw message
arch/arm/mach-omap2/opp2xxx.h deleted +0 -430
430 lines not on this page · raw message
arch/arm/mach-omap2/powerdomains2xxx_data.c deleted +0 -134
134 lines not on this page · raw message
arch/arm/mach-omap2/prcm-common.h +0 -147
147 lines not on this page · raw message
arch/arm/mach-omap2/prm-regbits-24xx.h deleted +0 -39
Lines of this file are not shown. View the raw message.
arch/arm/mach-omap2/prm2xxx.c deleted +0 -229
229 lines not on this page · raw message
arch/arm/mach-omap2/prm2xxx.h deleted +0 -128
128 lines not on this page · raw message
arch/arm/mach-omap2/sdrc2xxx.c deleted +0 -164
164 lines not on this page · raw message
arch/arm/mach-omap2/sleep24xx.S deleted +0 -91
91 lines not on this page · raw message
arch/arm/mach-omap2/soc.h +0 -59
59 lines not on this page · raw message
arch/arm/mach-omap2/sram.c +23 -136
159 lines not on this page · raw message
arch/arm/mach-omap2/sram242x.S deleted +0 -317
317 lines not on this page · raw message
arch/arm/mach-omap2/sram243x.S deleted +0 -317
317 lines not on this page · raw message
arch/arm/mach-omap2/usb-tusb6010.c deleted +0 -217
217 lines not on this page · raw message
arch/arm/mach-omap2/usb-tusb6010.h deleted +0 -12
Lines of this file are not shown. View the raw message.
arch/arm/mach-omap2/voltagedomains2xxx_data.c deleted +0 -29
Lines of this file are not shown. View the raw message.
drivers/video/fbdev/omap2/omapfb/Kconfig +1 -1
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 7/13 ARM: imx: remove i.MX31 SoC support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The Freescale i.MX31 was an early SoC based on the ARM1136r0 CPU core. It was used in the Bug Labs modular computer but ultimately much less popular than most other i.MX SoCs.
As the ARM1136r0 support is causing a lot of extra maintenance effort to keep alive and there are no known users, remove i.MX31 in order to allow removing support for that CPU core altogether.
The related i.MX35 is based on a slightly newer ARM1136r1 CPU core that does not have this problem, so there is no reason to remove that.
--- arch/arm/Kconfig.debug | 9 - arch/arm/boot/dts/nxp/imx/Makefile | 3 - arch/arm/boot/dts/nxp/imx/imx31-bug.dts | 22 -- arch/arm/boot/dts/nxp/imx/imx31-lite.dts | 178 ----------- arch/arm/boot/dts/nxp/imx/imx31.dtsi | 371 ----------------------- arch/arm/configs/imx_v6_v7_defconfig | 1 - arch/arm/mach-imx/Kconfig | 11 - arch/arm/mach-imx/Makefile | 1 - arch/arm/mach-imx/cpu-imx31.c | 72 ----- arch/arm/mach-imx/mach-imx31.c | 18 -- arch/arm/mach-imx/mm-imx3.c | 44 --- 11 files changed, 730 deletions(-) delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-bug.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31-lite.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imx31.dtsi delete mode 100644 arch/arm/mach-imx/cpu-imx31.c delete mode 100644 arch/arm/mach-imx/mach-imx31.c
arch/arm/Kconfig.debug +0 -9
@@ -424,13 +424,6 @@ choice Say Y here if you want kernel low-level debugging support on i.MX28. - config DEBUG_IMX31_UART - bool "i.MX31 Debug UART" - depends on SOC_IMX31 - help - Say Y here if you want kernel low-level debugging support - on i.MX31. - config DEBUG_IMX35_UART bool "i.MX35 Debug UART" depends on SOC_IMX35
@@ -1411,7 +1404,6 @@ config DEBUG_IMX_UART_PORT depends on DEBUG_IMX1_UART || \ DEBUG_IMX25_UART || \ DEBUG_IMX27_UART || \ - DEBUG_IMX31_UART || \ DEBUG_IMX35_UART || \ DEBUG_IMX50_UART || \ DEBUG_IMX51_UART || \
@@ -1468,7 +1460,6 @@ config DEBUG_LL_INCLUDE default "debug/imx.S" if DEBUG_IMX1_UART || \ DEBUG_IMX25_UART || \ DEBUG_IMX27_UART || \ - DEBUG_IMX31_UART || \ DEBUG_IMX35_UART || \ DEBUG_IMX50_UART || \ DEBUG_IMX51_UART || \
arch/arm/boot/dts/nxp/imx/Makefile +0 -3
@@ -16,9 +16,6 @@ dtb-$(CONFIG_SOC_IMX27) += \ imx27-pdk.dtb \ imx27-phytec-phycore-rdk.dtb \ imx27-phytec-phycard-s-rdk.dtb -dtb-$(CONFIG_SOC_IMX31) += \ - imx31-bug.dtb \ - imx31-lite.dtb dtb-$(CONFIG_SOC_IMX35) += \ imx35-eukrea-mbimxsd35-baseboard.dtb \ imx35-pdk.dtb
arch/arm/boot/dts/nxp/imx/imx31-bug.dts deleted +0 -22
@@ -1,22 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* - * Copyright 2012 Denis 'GNUtoo' Carikli <[email protected]> - */ - -/dts-v1/; -#include "imx31.dtsi" - -/ { - model = "Buglabs i.MX31 Bug 1.x"; - compatible = "buglabs,imx31-bug", "fsl,imx31"; - - memory@80000000 { - device_type = "memory"; - reg = <0x80000000 0x8000000>; /* 128M */ - }; -}; - -&uart5 { - uart-has-rtscts; - status = "okay"; -};
arch/arm/boot/dts/nxp/imx/imx31-lite.dts deleted +0 -178
178 lines not on this page · raw message
arch/arm/boot/dts/nxp/imx/imx31.dtsi deleted +0 -371
371 lines not on this page · raw message
arch/arm/configs/imx_v6_v7_defconfig +0 -1
@@ -15,7 +15,6 @@ CONFIG_PERF_EVENTS=y CONFIG_KEXEC=y CONFIG_ARCH_MULTI_V6=y CONFIG_ARCH_MXC=y -CONFIG_SOC_IMX31=y CONFIG_SOC_IMX35=y CONFIG_SOC_IMX50=y CONFIG_SOC_IMX51=y
arch/arm/mach-imx/Kconfig +0 -11
@@ -39,17 +39,6 @@ if ARCH_MULTI_V6 comment "ARM1136 platforms" -config SOC_IMX31 - bool "i.MX31 support (DEPRECATED)" - depends on !SMP - select CPU_ARM1136R0 - select MXC_AVIC - help - This enables support for Freescale i.MX31 processor - - This SoC is scheduled for removal in early 2027, - since it uses the ARM1136r0 CPU revision. - config SOC_IMX35 bool "i.MX35 support" select CPU_ARM1136R1
arch/arm/mach-imx/Makefile +0 -1
@@ -5,7 +5,6 @@ obj-$(CONFIG_SOC_IMX25) += cpu-imx25.o mach-imx25.o pm-imx25.o obj-$(CONFIG_SOC_IMX27) += cpu-imx27.o pm-imx27.o mach-imx27.o -obj-$(CONFIG_SOC_IMX31) += mm-imx3.o cpu-imx31.o mach-imx31.o obj-$(CONFIG_SOC_IMX35) += mm-imx3.o cpu-imx35.o mach-imx35.o imx5-pm-$(CONFIG_PM) += pm-imx5.o
arch/arm/mach-imx/cpu-imx31.c deleted +0 -72
72 lines not on this page · raw message
arch/arm/mach-imx/mach-imx31.c deleted +0 -18
@@ -1,18 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* -* Copyright 2012 Sascha Hauer, Pengutronix -*/ - -#include <asm/mach/arch.h> -#include "common.h" - -static const char *const imx31_dt_board_compat[]__initconst = { -"fsl,imx31" , -NULL -}; - -DT_MACHINE_START (IMX31_DT ,"Freescale i.MX31 (Device Tree Support)" ) - .map_io = mx31_map_io, - .init_early = imx31_init_early, - .dt_compat = imx31_dt_board_compat, -MACHINE_END
arch/arm/mach-imx/mm-imx3.c +0 -44
53 lines not on this page · raw message
Signature · 1 line
2.53.0
PATCH 8/13 ARM: imx: remove nommu support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The i.MX platform has grown support for three separate product lines using Cortex-M based microcontrollers over the years:
- i.MX RT1050, a high-end microcontroller
- Vybrid vf610 suppors running Linux on either the Cortex-A5 CPU or the Cortex-M4 MCU
- i.MX7D similarly can run Linux on the Cortex-A7 or the Cortex-M4
There are no known upstream users of any of those three, so drop support and simplify the platform to assume that an MMU is present.
--- arch/arm/boot/dts/nxp/imx/Makefile | 2 - arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts | 72 - arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h | 993 ----------- arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi | 160 -- arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h | 1561 ----------------- arch/arm/boot/dts/nxp/vf/Makefile | 2 - arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts | 61 - arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts | 88 - arch/arm/boot/dts/nxp/vf/vf610m4.dtsi | 61 - arch/arm/configs/imxrt_defconfig | 35 - arch/arm/configs/vf610m4_defconfig | 39 - arch/arm/mach-imx/Kconfig | 27 +- arch/arm/mach-imx/Makefile | 3 - arch/arm/mach-imx/mach-imx7d-cm4.c | 18 - arch/arm/mach-imx/mach-imxrt.c | 19 - arch/arm/mach-imx/mach-vf610.c | 1 - 16 files changed, 6 insertions(+), 3136 deletions(-) delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi delete mode 100644 arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts delete mode 100644 arch/arm/boot/dts/nxp/vf/vf610m4.dtsi delete mode 100644 arch/arm/configs/imxrt_defconfig delete mode 100644 arch/arm/configs/vf610m4_defconfig delete mode 100644 arch/arm/mach-imx/mach-imx7d-cm4.c delete mode 100644 arch/arm/mach-imx/mach-imxrt.c
arch/arm/boot/dts/nxp/imx/Makefile +0 -2
@@ -452,5 +452,3 @@ dtb-$(CONFIG_SOC_IMX7D) += \ dtb-$(CONFIG_SOC_IMX7ULP) += \ imx7ulp-com.dtb \ imx7ulp-evk.dtb -dtb-$(CONFIG_SOC_IMXRT) += \ - imxrt1050-evk.dtb
arch/arm/boot/dts/nxp/imx/imxrt1050-evk.dts deleted +0 -72
72 lines not on this page · raw message
arch/arm/boot/dts/nxp/imx/imxrt1050-pinfunc.h deleted +0 -993
993 lines not on this page · raw message
arch/arm/boot/dts/nxp/imx/imxrt1050.dtsi deleted +0 -160
160 lines not on this page · raw message
arch/arm/boot/dts/nxp/imx/imxrt1170-pinfunc.h deleted +0 -1561
1,561 lines not on this page · raw message
arch/arm/boot/dts/nxp/vf/Makefile +0 -2
@@ -3,9 +3,7 @@ dtb-$(CONFIG_SOC_VF610) += \ vf500-colibri-eval-v3.dtb \ vf610-bk4.dtb \ vf610-colibri-eval-v3.dtb \ - vf610m4-colibri.dtb \ vf610-cosmic.dtb \ - vf610m4-cosmic.dtb \ vf610-twr.dtb \ vf610-zii-cfu1.dtb \ vf610-zii-dev-rev-b.dtb \
arch/arm/boot/dts/nxp/vf/vf610m4-colibri.dts deleted +0 -61
61 lines not on this page · raw message
arch/arm/boot/dts/nxp/vf/vf610m4-cosmic.dts deleted +0 -88
88 lines not on this page · raw message
arch/arm/boot/dts/nxp/vf/vf610m4.dtsi deleted +0 -61
51 lines not on this page · raw message
arch/arm/configs/imxrt_defconfig deleted +0 -35
Lines of this file are not shown. View the raw message.
arch/arm/configs/vf610m4_defconfig deleted +0 -39
Lines of this file are not shown. View the raw message.
arch/arm/mach-imx/mach-imx7d-cm4.c deleted +0 -18
Lines of this file are not shown. View the raw message.
arch/arm/mach-imx/mach-imxrt.c deleted +0 -19
Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 9/13 ARM: lpc18xx: remove entire platform
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The NXP LPC18xx and LPC43xx microcontrollers are the more modern version of the classic LPC32xx line, but they lack memory management units.
These microcontrollers all remain in production as of 2026, but there are no known users running Linux on them.
The platform was marked deprecated in the 7.3-LTS release, which will remain supported for a few more years.
Remove support for both LPC18xx and LPC43xx.
--- MAINTAINERS | 12 - arch/arm/Kconfig | 14 - arch/arm/Kconfig.debug | 9 - arch/arm/Makefile | 1 - arch/arm/boot/dts/nxp/lpc/Makefile | 5 - arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi | 543 --------------- arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts | 221 ------- .../boot/dts/nxp/lpc/lpc4350-hitex-eval.dts | 485 -------------- arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi | 48 -- .../dts/nxp/lpc/lpc4357-ea4357-devkit.dts | 624 ------------------ .../boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts | 621 ----------------- arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi | 52 -- arch/arm/configs/lpc18xx_defconfig | 158 ----- arch/arm/mach-lpc18xx/Makefile | 2 - arch/arm/mach-lpc18xx/board-dt.c | 19 - 15 files changed, 2814 deletions(-) delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350-hitex-eval.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-ea4357-devkit.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts delete mode 100644 arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi delete mode 100644 arch/arm/configs/lpc18xx_defconfig delete mode 100644 arch/arm/mach-lpc18xx/Makefile delete mode 100644 arch/arm/mach-lpc18xx/board-dt.c
MAINTAINERS +0 -12
@@ -3032,18 +3032,6 @@ L: [email protected] (moderated for non-subscribers) S: Maintained F: arch/arm64/boot/dts/lg/ -ARM/LPC18XX ARCHITECTURE -M: Vladimir Zapolskiy <[email protected]> -L: [email protected] (moderated for non-subscribers) -S: Maintained -F: Documentation/devicetree/bindings/i2c/nxp,lpc1788-i2c.yaml -F: arch/arm/boot/dts/nxp/lpc/lpc43* -F: drivers/i2c/busses/i2c-lpc2k.c -F: drivers/memory/pl172.c -F: drivers/mtd/spi-nor/controllers/nxp-spifi.c -F: drivers/rtc/rtc-lpc24xx.c -N: lpc18xx - ARM/LPC32XX SOC SUPPORT M: Vladimir Zapolskiy <[email protected]> M: Piotr Wojtaszczyk <[email protected]>
arch/arm/Kconfig +0 -14
@@ -443,20 +443,6 @@ source "arch/arm/mach-zte/Kconfig" source "arch/arm/mach-zynq/Kconfig" -# ARMv7-M architecture -config ARCH_LPC18XX - bool "NXP LPC18xx/LPC43xx (DEPRECATED)" - depends on ARM_SINGLE_ARMV7M - select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select CLKSRC_LPC32XX - select PINCTRL - help - Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4 - high performance microcontrollers. - - This platform is scheduled for removal in early 2027 - config ARCH_MPS2 bool "ARM MPS2 platform (DEPRECATED)" depends on ARM_SINGLE_ARMV7M
arch/arm/Kconfig.debug +0 -9
@@ -511,14 +511,6 @@ choice Say Y here if you want the debug print routines to direct their output to UART1 serial port on KEYSTONE2 devices. - config DEBUG_LPC18XX_UART0 - bool "Kernel low-level debugging via LPC18xx/43xx UART0" - depends on ARCH_LPC18XX - select DEBUG_UART_8250 - help - Say Y here if you want kernel low-level debugging support - on NXP LPC18xx/43xx UART0. - config DEBUG_LPC32XX bool "Kernel low-level debugging messages via NXP LPC32xx UART" depends on ARCH_LPC32XX
@@ -1551,7 +1543,6 @@ config DEBUG_UART_PHYS default 0x40011000 if STM32F4_DEBUG_UART || STM32F7_DEBUG_UART || \ STM32H7_DEBUG_UART default 0x40028000 if DEBUG_AT91_SAMV7_USART1 - default 0x40081000 if DEBUG_LPC18XX_UART0 default 0x40090000 if DEBUG_LPC32XX default 0x40100000 if DEBUG_PXA_UART1 default 0x42000000 if DEBUG_GEMINI
arch/arm/Makefile +0 -1
@@ -185,7 +185,6 @@ machine-$(CONFIG_ARCH_HIGHBANK) += highbank machine-$(CONFIG_ARCH_HISI) += hisi machine-$(CONFIG_ARCH_IXP4XX) += ixp4xx machine-$(CONFIG_ARCH_KEYSTONE) += keystone -machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx machine-$(CONFIG_ARCH_MESON) += meson machine-$(CONFIG_ARCH_MMP) += mmp
arch/arm/boot/dts/nxp/lpc/Makefile +0 -5
@@ -1,9 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_LPC18XX) += \ - lpc4337-ciaa.dtb \ - lpc4350-hitex-eval.dtb \ - lpc4357-ea4357-devkit.dtb \ - lpc4357-myd-lpc4357.dtb dtb-$(CONFIG_ARCH_LPC32XX) += \ lpc3250-ea3250.dtb \ lpc3250-phy3250.dtb
arch/arm/boot/dts/nxp/lpc/lpc18xx.dtsi deleted +0 -543
543 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4337-ciaa.dts deleted +0 -221
221 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4350-hitex-eval.dts deleted +0 -485
485 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4350.dtsi deleted +0 -48
48 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4357-ea4357-devkit.dts deleted +0 -624
624 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4357-myd-lpc4357.dts deleted +0 -621
621 lines not on this page · raw message
arch/arm/boot/dts/nxp/lpc/lpc4357.dtsi deleted +0 -52
52 lines not on this page · raw message
arch/arm/configs/lpc18xx_defconfig deleted +0 -158
158 lines not on this page · raw message
arch/arm/mach-lpc18xx/Makefile deleted +0 -2
@@ -1,2 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -obj-y += board-dt.o
arch/arm/mach-lpc18xx/board-dt.c deleted +0 -19
@@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* Device Tree board file for NXP LPC18xx/43xx -* -* Copyright (C) 2015 Joachim Eastwood <[email protected]> -*/ - -#include <asm/mach/arch.h> - -static const char *const lpc18xx_43xx_compat[]__initconst = { -"nxp,lpc1850" , -"nxp,lpc4350" , -"nxp,lpc4370" , -NULL -}; - -DT_MACHINE_START (LPC18XXDT ,"NXP LPC18xx/43xx (Device Tree)" ) - .dt_compat = lpc18xx_43xx_compat, -MACHINE_END
Signature · 1 line
2.53.0
PATCH 10/13 ARM: stm32: remove stm32f4/f7/h7 MCU support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The stm32 platform started out as a Cortex-M based microcontoller platform in 2007, with a few of the older products gaining Linux kernel support in 2016. These days, the only relevant chips for Linux are the stm32mp1 (Cortex-A7) and stm32mp2 (Cortex-A35) product lines, with the microcontrollers running smaller RTOSs on new products.
The microcontrollers were marked as deprecated in the linux-7.3LTS release, which will remain supported for a few more years and is expected to be sufficient for any of the remaining original users.
Remove the MCU support now, leaving only the stm32mp SoCs in the platform.
--- Documentation/arch/arm/index.rst | 5 - Documentation/arch/arm/stm32/overview.rst | 8 +- .../arch/arm/stm32/stm32f429-overview.rst | 25 - .../arch/arm/stm32/stm32f746-overview.rst | 32 - .../arch/arm/stm32/stm32f769-overview.rst | 34 - .../arch/arm/stm32/stm32h743-overview.rst | 33 - .../arch/arm/stm32/stm32h750-overview.rst | 34 - arch/arm/Kconfig.debug | 38 - arch/arm/boot/dts/st/Makefile | 11 - arch/arm/boot/dts/st/stm32429i-eval.dts | 349 -------- arch/arm/boot/dts/st/stm32746g-eval.dts | 236 ------ arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi | 482 ----------- arch/arm/boot/dts/st/stm32f429-disco.dts | 243 ------ arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi | 91 -- arch/arm/boot/dts/st/stm32f429.dtsi | 800 ------------------ arch/arm/boot/dts/st/stm32f469-disco.dts | 260 ------ arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi | 92 -- arch/arm/boot/dts/st/stm32f469.dtsi | 18 - arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi | 436 ---------- arch/arm/boot/dts/st/stm32f746-disco.dts | 234 ----- arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi | 55 -- arch/arm/boot/dts/st/stm32f746.dtsi | 727 ---------------- .../dts/st/stm32f769-disco-mb1166-reva09.dts | 13 - arch/arm/boot/dts/st/stm32f769-disco.dts | 243 ------ arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi | 55 -- arch/arm/boot/dts/st/stm32f769.dtsi | 37 - arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi | 301 ------- arch/arm/boot/dts/st/stm32h743.dtsi | 738 ---------------- arch/arm/boot/dts/st/stm32h743i-disco.dts | 145 ---- arch/arm/boot/dts/st/stm32h743i-eval.dts | 185 ---- arch/arm/boot/dts/st/stm32h747i-disco.dts | 149 ---- arch/arm/boot/dts/st/stm32h750.dtsi | 6 - arch/arm/boot/dts/st/stm32h750i-art-pi.dts | 229 ----- arch/arm/configs/stm32_defconfig | 80 -- arch/arm/mach-stm32/Kconfig | 38 +- arch/arm/mach-stm32/board-dt.c | 7 - 36 files changed, 7 insertions(+), 6462 deletions(-) delete mode 100644 Documentation/arch/arm/stm32/stm32f429-overview.rst delete mode 100644 Documentation/arch/arm/stm32/stm32f746-overview.rst delete mode 100644 Documentation/arch/arm/stm32/stm32f769-overview.rst delete mode 100644 Documentation/arch/arm/stm32/stm32h743-overview.rst delete mode 100644 Documentation/arch/arm/stm32/stm32h750-overview.rst delete mode 100644 arch/arm/boot/dts/st/stm32429i-eval.dts delete mode 100644 arch/arm/boot/dts/st/stm32746g-eval.dts delete mode 100644 arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f429-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f429.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f469-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f469.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f746-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f746.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts delete mode 100644 arch/arm/boot/dts/st/stm32f769-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32f769.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h743.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h743i-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32h743i-eval.dts delete mode 100644 arch/arm/boot/dts/st/stm32h747i-disco.dts delete mode 100644 arch/arm/boot/dts/st/stm32h750.dtsi delete mode 100644 arch/arm/boot/dts/st/stm32h750i-art-pi.dts delete mode 100644 arch/arm/configs/stm32_defconfig
Documentation/arch/arm/index.rst +0 -5
@@ -47,12 +47,7 @@ SoC-specific documents pxa/mfp - stm32/stm32f746-overview stm32/overview - stm32/stm32h743-overview - stm32/stm32h750-overview - stm32/stm32f769-overview - stm32/stm32f429-overview stm32/stm32mp13-overview stm32/stm32mp151-overview stm32/stm32mp157-overview
Documentation/arch/arm/stm32/overview.rst +3 -5
@@ -5,15 +5,13 @@ STM32 ARM Linux Overview Introduction ------------ -The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and -Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of -ARM Linux. +The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) is +supported by the 'STM32' platform of ARM Linux, support for the Cortex-M +based MCUs is has been removed. Configuration ------------- -For MCUs, use the provided default configuration: - make stm32_defconfig For MPUs, use multi_v7 configuration: make multi_v7_defconfig
Documentation/arch/arm/stm32/stm32f429-overview.rst deleted +0 -25
@@ -1,25 +0,0 @@ -================== -STM32F429 Overview -================== - -Introduction ------------- - -The STM32F429 is a Cortex-M4 MCU aimed at various applications. -It features: - -- ARM Cortex-M4 up to 180MHz with FPU -- 2MB internal Flash Memory -- External memory support through FMC controller (PSRAM, SDRAM, NOR, NAND) -- I2C, SPI, SAI, CAN, USB OTG, Ethernet controllers -- LCD controller & Camera interface -- Cryptographic processor - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F429_). - -.. _STM32F429: http://www.st.com/web/en/catalog/mmc/FM141/SC1169/SS1577/LN1806?ecmp=stm32f429-439_pron_pr-ces2014_nov2013 - -:Authors: Maxime Coquelin <[email protected]>
Documentation/arch/arm/stm32/stm32f746-overview.rst deleted +0 -32
@@ -1,32 +0,0 @@ -================== -STM32F746 Overview -================== - -Introduction ------------- - -The STM32F746 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @216MHz -- 1MB internal flash, 320KBytes internal RAM (+4KB of backup SRAM) -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN buses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F746_). - -.. _STM32F746: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32f7-series/stm32f7x6/stm32f746ng.html - -:Authors: Alexandre Torgue <[email protected]>
Documentation/arch/arm/stm32/stm32f769-overview.rst deleted +0 -34
@@ -1,34 +0,0 @@ -================== -STM32F769 Overview -================== - -Introduction ------------- - -The STM32F769 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @216MHz -- 2MB internal flash, 512KBytes internal RAM (+4KB of backup SRAM) -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support*2 -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C*4, SPI*6, CAN*3 buses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface*2 -- LCD controller -- HDMI-CEC -- DSI -- SPDIFRX -- MDIO salave interface - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32F769_). - -.. _STM32F769: http://www.st.com/content/st_com/en/products/microcontrollers/stm32-32-bit-arm-cortex-mcus/stm32-high-performance-mcus/stm32f7-series/stm32f7x9/stm32f769ni.html - -:Authors: Alexandre Torgue <[email protected]>
Documentation/arch/arm/stm32/stm32h743-overview.rst deleted +0 -33
@@ -1,33 +0,0 @@ -================== -STM32H743 Overview -================== - -Introduction ------------- - -The STM32H743 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @400MHz -- 2MB internal flash, 1MBytes internal RAM -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN buses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX -- DFSDM - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32H743_). - -.. _STM32H743: http://www.st.com/en/microcontrollers/stm32h7x3.html?querycriteria=productId=LN2033 - -:Authors: Alexandre Torgue <[email protected]>
Documentation/arch/arm/stm32/stm32h750-overview.rst deleted +0 -34
@@ -1,34 +0,0 @@ -================== -STM32H750 Overview -================== - -Introduction ------------- - -The STM32H750 is a Cortex-M7 MCU aimed at various applications. -It features: - -- Cortex-M7 core running up to @480MHz -- 128K internal flash, 1MBytes internal RAM -- FMC controller to connect SDRAM, NOR and NAND memories -- Dual mode QSPI -- SD/MMC/SDIO support -- Ethernet controller -- USB OTFG FS & HS controllers -- I2C, SPI, CAN buses support -- Several 16 & 32 bits general purpose timers -- Serial Audio interface -- LCD controller -- HDMI-CEC -- SPDIFRX -- DFSDM - -Resources ---------- - -Datasheet and reference manual are publicly available on ST website (STM32H750_). - -.. _STM32H750: https://www.st.com/en/microcontrollers-microprocessors/stm32h750-value-line.html - -:Authors: Dillon Min <[email protected]> -
arch/arm/Kconfig.debug +0 -38
@@ -1128,42 +1128,6 @@ choice If unsure, say N. - config STM32F4_DEBUG_UART - bool "Use STM32F4 UART for low-level debug" - depends on MACH_STM32F429 || MACH_STM32F469 - select DEBUG_STM32_UART - help - Say Y here if you want kernel low-level debugging support - on STM32F4 based platforms, which default UART is wired on - USART1, but another UART instance can be selected by modifying - CONFIG_DEBUG_UART_PHYS. - - If unsure, say N. - - config STM32F7_DEBUG_UART - bool "Use STM32F7 UART for low-level debug" - depends on MACH_STM32F746 || MACH_STM32F769 - select DEBUG_STM32_UART - help - Say Y here if you want kernel low-level debugging support - on STM32F7 based platforms, which default UART is wired on - USART1, but another UART instance can be selected by modifying - CONFIG_DEBUG_UART_PHYS. - - If unsure, say N. - - config STM32H7_DEBUG_UART - bool "Use STM32H7 UART for low-level debug" - depends on MACH_STM32H743 - select DEBUG_STM32_UART - help - Say Y here if you want kernel low-level debugging support - on STM32H7 based platforms, which default UART is wired on - USART1, but another UART instance can be selected by modifying - CONFIG_DEBUG_UART_PHYS. - - If unsure, say N. - config STM32MP1_DEBUG_UART bool "Use STM32MP1 UART for low-level debug" depends on MACH_STM32MP157
@@ -1540,8 +1504,6 @@ config DEBUG_UART_PHYS default 0x3e000000 if DEBUG_BCM_KONA_UART default 0x3f201000 if DEBUG_BCM2836 default 0x40010000 if STM32MP1_DEBUG_UART - default 0x40011000 if STM32F4_DEBUG_UART || STM32F7_DEBUG_UART || \ - STM32H7_DEBUG_UART default 0x40028000 if DEBUG_AT91_SAMV7_USART1 default 0x40090000 if DEBUG_LPC32XX default 0x40100000 if DEBUG_PXA_UART1
arch/arm/boot/dts/st/Makefile +0 -11
@@ -102,17 +102,6 @@ stm32mp15xx-dhcom-picoitx-overlay-626-100-x2-ch101olhlwh-dtbs := \ stm32mp15xx-dhcom-picoitx-overlay-626-100-x2-ch101olhlwh.dtbo \ dtb-$(CONFIG_ARCH_STM32) += \ - stm32f429-disco.dtb \ - stm32f469-disco.dtb \ - stm32f746-disco.dtb \ - stm32f769-disco.dtb \ - stm32f769-disco-mb1166-reva09.dtb \ - stm32429i-eval.dtb \ - stm32746g-eval.dtb \ - stm32h743i-eval.dtb \ - stm32h743i-disco.dtb \ - stm32h747i-disco.dtb \ - stm32h750i-art-pi.dtb \ stm32mp133c-prihmb.dtb \ stm32mp135f-dhcor-dhsbc.dtb \ stm32mp13xx-dhcor-dhsbc-overlay-rb-tft32-v2.dtb \
arch/arm/boot/dts/st/stm32429i-eval.dts deleted +0 -349
349 lines not on this page · raw message
arch/arm/boot/dts/st/stm32746g-eval.dts deleted +0 -236
236 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f4-pinctrl.dtsi deleted +0 -482
482 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f429-disco.dts deleted +0 -243
243 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f429-pinctrl.dtsi deleted +0 -91
91 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f429.dtsi deleted +0 -800
800 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f469-disco.dts deleted +0 -260
260 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f469-pinctrl.dtsi deleted +0 -92
92 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f469.dtsi deleted +0 -18
@@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */ -/* Copyright (C) STMicroelectronics 2017 - All Rights Reserved */ - -#include "stm32f429.dtsi" - -/ { - soc { - dsi: dsi@40016c00 { - compatible = "st,stm32-dsi"; - reg = <0x40016c00 0x800>; - resets = <&rcc STM32F4_APB2_RESET(DSI)>; - reset-names = "apb"; - clocks = <&rcc 1 CLK_F469_DSI>, <&clk_hse>; - clock-names = "pclk", "ref"; - status = "disabled"; - }; - }; -};
arch/arm/boot/dts/st/stm32f7-pinctrl.dtsi deleted +0 -436
174 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f746-disco.dts deleted +0 -234
234 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f746-pinctrl.dtsi deleted +0 -55
55 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f746.dtsi deleted +0 -727
727 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f769-disco-mb1166-reva09.dts deleted +0 -13
Lines of this file are not shown. View the raw message.
arch/arm/boot/dts/st/stm32f769-disco.dts deleted +0 -243
243 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f769-pinctrl.dtsi deleted +0 -55
55 lines not on this page · raw message
arch/arm/boot/dts/st/stm32f769.dtsi deleted +0 -37
Lines of this file are not shown. View the raw message.
arch/arm/boot/dts/st/stm32h7-pinctrl.dtsi deleted +0 -301
301 lines not on this page · raw message
arch/arm/boot/dts/st/stm32h743.dtsi deleted +0 -738
738 lines not on this page · raw message
arch/arm/boot/dts/st/stm32h743i-disco.dts deleted +0 -145
145 lines not on this page · raw message
arch/arm/boot/dts/st/stm32h743i-eval.dts deleted +0 -185
185 lines not on this page · raw message
arch/arm/boot/dts/st/stm32h747i-disco.dts deleted +0 -149
149 lines not on this page · raw message
arch/arm/boot/dts/st/stm32h750.dtsi deleted +0 -6
Lines of this file are not shown. View the raw message.
arch/arm/boot/dts/st/stm32h750i-art-pi.dts deleted +0 -229
229 lines not on this page · raw message
arch/arm/configs/stm32_defconfig deleted +0 -80
80 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.53.0
Part of the diff is not shown here. View the raw message.
PATCH 11/13 ARM: versatile: remove mps2 support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The Arm mps2 platform is the reference implementation for Arm microcontrollers and is useful for testing but not expected to be used as a production device.
With all the Cortex-M based products gone, there is no longer a need for a reference platform either, so remove it as well.
--- arch/arm/Kconfig | 14 -- arch/arm/boot/dts/arm/Makefile | 3 - arch/arm/boot/dts/arm/mps2-an385.dts | 92 ----------- arch/arm/boot/dts/arm/mps2-an399.dts | 92 ----------- arch/arm/boot/dts/arm/mps2.dtsi | 220 --------------------------- arch/arm/configs/mps2_defconfig | 102 ------------- arch/arm/mach-versatile/Makefile | 3 - arch/arm/mach-versatile/v2m-mps2.c | 17 --- drivers/i2c/busses/Kconfig | 2 +- 9 files changed, 1 insertion(+), 544 deletions(-) delete mode 100644 arch/arm/boot/dts/arm/mps2-an385.dts delete mode 100644 arch/arm/boot/dts/arm/mps2-an399.dts delete mode 100644 arch/arm/boot/dts/arm/mps2.dtsi delete mode 100644 arch/arm/configs/mps2_defconfig delete mode 100644 arch/arm/mach-versatile/v2m-mps2.c
arch/arm/Kconfig +0 -14
@@ -443,20 +443,6 @@ source "arch/arm/mach-zte/Kconfig" source "arch/arm/mach-zynq/Kconfig" -config ARCH_MPS2 - bool "ARM MPS2 platform (DEPRECATED)" - depends on ARM_SINGLE_ARMV7M - select ARM_AMBA - select CLKSRC_MPS2 - help - Support for Cortex-M Prototyping System (or V2M-MPS2) which comes - with a range of available cores like Cortex-M3/M4/M7. - - Please, note that depends which Application Note is used memory map - for the platform may vary, so adjustment of RAM base might be needed. - - This platform is scheduled for removal in early 2027 - # Definitions to make life easier config PLAT_ORION bool
arch/arm/boot/dts/arm/Makefile +0 -3
@@ -3,9 +3,6 @@ dtb-$(CONFIG_ARCH_INTEGRATOR) += \ integratorap.dtb \ integratorap-im-pd1.dtb \ integratorcp.dtb -dtb-$(CONFIG_ARCH_MPS2) += \ - mps2-an385.dtb \ - mps2-an399.dtb dtb-$(CONFIG_ARCH_REALVIEW) += \ arm-realview-pb1176.dtb \ arm-realview-pb11mp.dtb \
arch/arm/boot/dts/arm/mps2-an385.dts deleted +0 -92
92 lines not on this page · raw message
arch/arm/boot/dts/arm/mps2-an399.dts deleted +0 -92
92 lines not on this page · raw message
arch/arm/boot/dts/arm/mps2.dtsi deleted +0 -220
220 lines not on this page · raw message
arch/arm/configs/mps2_defconfig deleted +0 -102
102 lines not on this page · raw message
arch/arm/mach-versatile/Makefile +0 -3
@@ -22,9 +22,6 @@ obj-$(CONFIG_ARCH_VEXPRESS_TC2_PM) += tc2_pm.o CFLAGS_tc2_pm.o += -march=armv7-a CFLAGS_REMOVE_tc2_pm.o = -pg -# mps2 -obj-$(CONFIG_ARCH_MPS2) += v2m-mps2.o - ifdef CONFIG_SMP obj-y += headsmp.o platsmp.o obj-$(CONFIG_ARCH_REALVIEW) += platsmp-realview.o
arch/arm/mach-versatile/v2m-mps2.c deleted +0 -17
@@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* Copyright (C) 2015 ARM Limited -* -* Author: Vladimir Murzin <[email protected]> -*/ - -#include <asm/mach/arch.h> - -static const char *const mps2_compat[]__initconst = { -"arm,mps2" , -NULL -}; - -DT_MACHINE_START (MPS2DT ,"MPS2 (Device Tree Support)" ) - .dt_compat = mps2_compat, -MACHINE_END
drivers/i2c/busses/Kconfig +1 -1
@@ -1260,7 +1260,7 @@ config I2C_UNIPHIER_F config I2C_VERSATILE tristate "ARM Versatile/Realview I2C bus support" - depends on ARCH_MPS2 || ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || COMPILE_TEST + depends on ARCH_VERSATILE || ARCH_REALVIEW || ARCH_VEXPRESS || COMPILE_TEST select I2C_ALGOBIT help Say yes if you want to support the I2C serial bus on ARMs Versatile
Signature · 1 line
2.53.0
PATCH 12/13 ARM: at91: remove samv7 support
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The Atmel at91 line, now known as Microchip SAM contains both SoCs using ARM926 and Cortex-A CPUs as well as a number of microcontrollers. Only a single one of those MCUs currently has Linux support, and has no known users.
The samv7 platform was deprecated in Linux-7.3LTS, which will remain supported a while longer after it is gone from mainline.
--- arch/arm/Kconfig.debug | 10 ---------- arch/arm/mach-at91/Kconfig | 11 +---------- arch/arm/mach-at91/Makefile | 1 - arch/arm/mach-at91/samv7.c | 17 ----------------- drivers/soc/atmel/soc.c | 36 ------------------------------------ 5 files changed, 1 insertion(+), 74 deletions(-) delete mode 100644 arch/arm/mach-at91/samv7.c
arch/arm/Kconfig.debug +0 -10
@@ -190,15 +190,6 @@ choice Say Y here if you want kernel low-level debugging support on the USART3 port of sama5d4. - config DEBUG_AT91_SAMV7_USART1 - bool "Kernel low-level debugging via SAMV7 USART1" - select DEBUG_AT91_UART - depends on SOC_SAMV7 - help - Say Y here if you want the debug print routines to direct - their output to the USART1 port on SAMV7 based - machines. - config DEBUG_AT91_SAMA7G5_FLEXCOM3 bool "Kernel low-level debugging on SAMA7G5 FLEXCOM3" select DEBUG_AT91_UART
@@ -1504,7 +1495,6 @@ config DEBUG_UART_PHYS default 0x3e000000 if DEBUG_BCM_KONA_UART default 0x3f201000 if DEBUG_BCM2836 default 0x40010000 if STM32MP1_DEBUG_UART - default 0x40028000 if DEBUG_AT91_SAMV7_USART1 default 0x40090000 if DEBUG_LPC32XX default 0x40100000 if DEBUG_PXA_UART1 default 0x42000000 if DEBUG_GEMINI
arch/arm/mach-at91/Kconfig +1 -10
@@ -5,7 +5,7 @@ config ARCH_MICROCHIP menuconfig ARCH_AT91 bool "AT91/Microchip SoCs" depends on (CPU_LITTLE_ENDIAN && (ARCH_MULTI_V4T || ARCH_MULTI_V5)) || \ - ARCH_MULTI_V7 || ARM_SINGLE_ARMV7M + ARCH_MULTI_V7 select ARM_CPU_SUSPEND if PM && ARCH_MULTI_V7 select COMMON_CLK_AT91 select GPIOLIB
@@ -14,15 +14,6 @@ menuconfig ARCH_AT91 select ARCH_MICROCHIP if ARCH_AT91 -config SOC_SAMV7 - bool "SAM Cortex-M7 family (DEPRECATED)" if ARM_SINGLE_ARMV7M - select COMMON_CLK_AT91 - select PINCTRL_AT91 - help - Select this if you are using an SoC from Microchip's SAME7, SAMS7 or SAMV7 - families. - - This platform is scheduled for removal in early 2027 config SOC_SAMA5D2 bool "SAMA5D2 family"
arch/arm/mach-at91/Makefile +0 -1
@@ -10,7 +10,6 @@ obj-$(CONFIG_SOC_SAM9X60) += sam9x60.o obj-$(CONFIG_SOC_SAM9X7) += sam9x7.o obj-$(CONFIG_SOC_SAMA5) += sama5.o sam_secure.o obj-$(CONFIG_SOC_SAMA7) += sama7.o -obj-$(CONFIG_SOC_SAMV7) += samv7.o # Power Management obj-$(CONFIG_ATMEL_PM) += pm.o pm_suspend.o
arch/arm/mach-at91/samv7.c deleted +0 -17
@@ -1,17 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* -* Setup code for SAMv7x -* -* Copyright (C) 2013 Atmel, -* 2016 Andras Szemzo <[email protected]> -*/ -#include <asm/mach/arch.h> - -static const char *const samv7_dt_board_compat[]__initconst = { -"atmel,samv7" , -NULL -}; - -DT_MACHINE_START (samv7_dt,"Atmel SAMV7" ) - .dt_compat = samv7_dt_board_compat, -MACHINE_END
drivers/soc/atmel/soc.c +0 -36
@@ -210,41 +210,6 @@ static const struct at91_soc socs[] __initconst = { AT91_CIDR_VERSION_MASK, SAMA5D44_EXID_MATCH, "sama5d44", "sama5d4"),#endif -#ifdef CONFIG_SOC_SAMV7 -AT91_SOC (SAME70Q21_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAME70Q21_EXID_MATCH , -"same70q21" ,"same7" ), -AT91_SOC (SAME70Q20_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAME70Q20_EXID_MATCH , -"same70q20" ,"same7" ), -AT91_SOC (SAME70Q19_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAME70Q19_EXID_MATCH , -"same70q19" ,"same7" ), -AT91_SOC (SAMS70Q21_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMS70Q21_EXID_MATCH , -"sams70q21" ,"sams7" ), -AT91_SOC (SAMS70Q20_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMS70Q20_EXID_MATCH , -"sams70q20" ,"sams7" ), -AT91_SOC (SAMS70Q19_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMS70Q19_EXID_MATCH , -"sams70q19" ,"sams7" ), -AT91_SOC (SAMV71Q21_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMV71Q21_EXID_MATCH , -"samv71q21" ,"samv7" ), -AT91_SOC (SAMV71Q20_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMV71Q20_EXID_MATCH , -"samv71q20" ,"samv7" ), -AT91_SOC (SAMV71Q19_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMV71Q19_EXID_MATCH , -"samv71q19" ,"samv7" ), -AT91_SOC (SAMV70Q20_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMV70Q20_EXID_MATCH , -"samv70q20" ,"samv7" ), -AT91_SOC (SAMV70Q19_CIDR_MATCH ,AT91_CIDR_MATCH_MASK , -AT91_CIDR_VERSION_MASK ,SAMV70Q19_EXID_MATCH , -"samv70q19" ,"samv7" ), -#endif#ifdef CONFIG_SOC_SAMA7 AT91_SOC(SAMA7D65_CIDR_MATCH, AT91_CIDR_MASK_SAMA7G5, AT91_CIDR_VERSION_MASK_SAMA7G5, SAMA7D65_EXID_MATCH,
@@ -396,7 +361,6 @@ static const struct of_device_id at91_soc_allowed_list[] __initconst = { { .compatible = "atmel,at91rm9200", }, { .compatible = "atmel,at91sam9", }, { .compatible = "atmel,sama5", }, - { .compatible = "atmel,samv7", }, { .compatible = "microchip,sama7d65", }, { .compatible = "microchip,sama7g5", }, { }
Signature · 1 line
2.53.0
PATCH 13/13 ARM: axxia: remove entire platform
In reply to Arnd BergmannFrom: Arnd Bergmann <[email protected]>
The initial Axxia port was contributed by LSI in 2014, but never completed after the sale of the business unit to Intel, which kept supporting the bulk of the drivers in their own downstream BSP.
The downstream work has also ended now, and there is no realistic chance that anyone would rewrite it all into an upstreamable port.
Remove it now that the 7.3LTS release is out and can be used as the base for one more downstream rebase of the downstream patches if needed.
--- .../devicetree/bindings/arm/axxia.yaml | 23 -- MAINTAINERS | 8 - arch/arm/Kconfig | 2 - arch/arm/Makefile | 2 - arch/arm/boot/dts/intel/Makefile | 1 - arch/arm/boot/dts/intel/axm/Makefile | 5 - .../boot/dts/intel/axm/axm5516-amarillo.dts | 47 ---- arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi | 200 --------------- arch/arm/boot/dts/intel/axm/axm55xx.dtsi | 200 --------------- arch/arm/configs/axm55xx_defconfig | 231 ------------------ arch/arm/mach-axxia/Kconfig | 17 -- arch/arm/mach-axxia/Makefile | 3 - arch/arm/mach-axxia/axxia.c | 19 -- arch/arm/mach-axxia/platsmp.c | 87 ------- 14 files changed, 845 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/axxia.yaml delete mode 100644 arch/arm/boot/dts/intel/axm/Makefile delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts delete mode 100644 arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi delete mode 100644 arch/arm/boot/dts/intel/axm/axm55xx.dtsi delete mode 100644 arch/arm/configs/axm55xx_defconfig delete mode 100644 arch/arm/mach-axxia/Kconfig delete mode 100644 arch/arm/mach-axxia/Makefile delete mode 100644 arch/arm/mach-axxia/axxia.c delete mode 100644 arch/arm/mach-axxia/platsmp.c
Documentation/devicetree/bindings/arm/axxia.yaml deleted +0 -23
@@ -1,23 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/axxia.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: Axxia AXM55xx - -maintainers: - - Anders Berg <[email protected]> - -properties: - $nodename: - const: "/" - compatible: - description: LSI AXM5516 Validation board (Amarillo) - items: - - const: lsi,axm5516-amarillo - - const: lsi,axm5516 - -additionalProperties: true - -...
MAINTAINERS +0 -8
@@ -2742,14 +2742,6 @@ F: Documentation/devicetree/bindings/arm/axiado.yaml F: arch/arm64/boot/dts/axiado/ N: axiado -ARM/AXM LSI SOC -M: Krzysztof Kozlowski <[email protected]> -L: [email protected] (moderated for non-subscribers) -S: Odd Fixes -F: Documentation/devicetree/bindings/arm/axxia.yaml -F: arch/arm/boot/dts/intel/axm/ -F: arch/arm/mach-axxia/ - ARM/BITMAIN ARCHITECTURE M: Manivannan Sadhasivam <[email protected]> L: [email protected] (moderated for non-subscribers)
arch/arm/Kconfig +0 -2
@@ -353,8 +353,6 @@ source "arch/arm/mach-aspeed/Kconfig" source "arch/arm/mach-at91/Kconfig" -source "arch/arm/mach-axxia/Kconfig" - source "arch/arm/mach-bcm/Kconfig" source "arch/arm/mach-berlin/Kconfig"
arch/arm/Makefile +0 -2
@@ -164,7 +164,6 @@ textofs-y := 0x00008000 textofs-$(CONFIG_ARCH_REALTEK) := 0x00108000 textofs-$(CONFIG_ARCH_QCOM_RESERVE_SMEM) := 0x00208000 textofs-$(CONFIG_ARCH_MESON) := 0x00208000 -textofs-$(CONFIG_ARCH_AXXIA) := 0x00308000 # Machine directory name. This list is sorted alphanumerically # by CONFIG_* macro name.
@@ -173,7 +172,6 @@ machine-$(CONFIG_ARCH_ALPINE) += alpine machine-$(CONFIG_ARCH_ARTPEC) += artpec machine-$(CONFIG_ARCH_ASPEED) += aspeed machine-$(CONFIG_ARCH_AT91) += at91 -machine-$(CONFIG_ARCH_AXXIA) += axxia machine-$(CONFIG_ARCH_BCM) += bcm machine-$(CONFIG_ARCH_BERLIN) += berlin machine-$(CONFIG_ARCH_CLPS711X) += clps711x
arch/arm/boot/dts/intel/Makefile +0 -1
@@ -1,5 +1,4 @@ # SPDX-License-Identifier: GPL-2.0 -subdir-y += axm subdir-y += ixp subdir-y += pxa subdir-y += socfpga
arch/arm/boot/dts/intel/axm/Makefile deleted +0 -5
@@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -dtb-$(CONFIG_ARCH_AXXIA) += \ - axm5516-amarillo.dtb -dtb-$(CONFIG_ARCH_AXXIA) += \ - axm5516-amarillo.dtb
arch/arm/boot/dts/intel/axm/axm5516-amarillo.dts deleted +0 -47
47 lines not on this page · raw message
arch/arm/boot/dts/intel/axm/axm5516-cpus.dtsi deleted +0 -200
200 lines not on this page · raw message
arch/arm/boot/dts/intel/axm/axm55xx.dtsi deleted +0 -200
200 lines not on this page · raw message
arch/arm/configs/axm55xx_defconfig deleted +0 -231
231 lines not on this page · raw message
arch/arm/mach-axxia/Kconfig deleted +0 -17
@@ -1,17 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_AXXIA - bool "LSI Axxia platforms (DEPRECATED)" - depends on ARCH_MULTI_V7 && ARM_LPAE - select ARM_AMBA - select ARM_GIC - select ARM_TIMER_SP804 - select HAVE_ARM_ARCH_TIMER - select MFD_SYSCON - select ZONE_DMA - help - This enables support for the LSI Axxia devices. - - The LSI Axxia platforms require a Flattened Device Tree to be passed - to the kernel. - - This platform is scheduled for removal in early 2027
arch/arm/mach-axxia/Makefile deleted +0 -3
@@ -1,3 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -obj-y += axxia.o -obj-$(CONFIG_SMP) += platsmp.o
arch/arm/mach-axxia/axxia.c deleted +0 -19
@@ -1,19 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-or-later -/* -* Support for the LSI Axxia SoC devices based on ARM cores. -* -* Copyright (C) 2012 LSI -*/ -#include <linux/init.h> -#include <asm/mach/arch.h> - -static const char *const axxia_dt_match[]__initconst = { -"lsi,axm5516" , -"lsi,axm5516-sim" , -"lsi,axm5516-emu" , -NULL -}; - -DT_MACHINE_START (AXXIA_DT ,"LSI Axxia AXM55XX" ) - .dt_compat = axxia_dt_match, -MACHINE_END
arch/arm/mach-axxia/platsmp.c deleted +0 -87
87 lines not on this page · raw message
Signature · 1 line
2.53.0
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannQuoted 6 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Re: [PATCH 11/13] ARM: versatile: remove mps2 support
In reply to Arnd BergmannQuoted 21 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The Arm mps2 platform is the reference implementation for Arm microcontrollers and is useful for testing but not expected to be used as a production device.
With all the Cortex-M based products gone, there is no longer a need for a reference platform either, so remove it as well.
Cc Liviu Dudau <[email protected]>Cc Sudeep Holla <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Cc Linus Walleij <[email protected]>Cc Rob Herring <[email protected]>Cc Krzysztof Kozlowski <[email protected]>Cc Conor Dooley <[email protected]>Cc Andi Shyti <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Quoted 16 lines
--- arch/arm/Kconfig | 14 -- arch/arm/boot/dts/arm/Makefile | 3 - arch/arm/boot/dts/arm/mps2-an385.dts | 92 ----------- arch/arm/boot/dts/arm/mps2-an399.dts | 92 ----------- arch/arm/boot/dts/arm/mps2.dtsi | 220 --------------------------- arch/arm/configs/mps2_defconfig | 102 ------------- arch/arm/mach-versatile/Makefile | 3 - arch/arm/mach-versatile/v2m-mps2.c | 17 --- drivers/i2c/busses/Kconfig | 2 +- 9 files changed, 1 insertion(+), 544 deletions(-) delete mode 100644 arch/arm/boot/dts/arm/mps2-an385.dts delete mode 100644 arch/arm/boot/dts/arm/mps2-an399.dts delete mode 100644 arch/arm/boot/dts/arm/mps2.dtsi delete mode 100644 arch/arm/configs/mps2_defconfig delete mode 100644 arch/arm/mach-versatile/v2m-mps2.c
[email protected]
AI reviewRe: [PATCH 09/13] ARM: lpc18xx: remove entire platform
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Incomplete platform removal leaves orphaned Kconfig references and dead driver code. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Incomplete platform removal leaves orphaned Kconfig references and dead driver code. --
commit 4fd816877e2bb7047a8b9bdb89bde42225376a14
Author: Arnd Bergmann <[email protected]>
ARM: lpc18xx: remove entire platform
This commit removes the architecture support for the NXP LPC18xx and LPC43xx microcontrollers since there are no known users running Linux on them. It deletes the corresponding platform directory, device tree sources, and removes the ARCH_LPC18XX Kconfig symbol.
Quoted 12 lines
arch/arm/Kconfig +0
-4@@ -443,20 +443,6 @@ source "arch/arm/mach-zte/Kconfig" source "arch/arm/mach-zynq/Kconfig" -# ARMv7-M architecture -config ARCH_LPC18XX - bool "NXP LPC18xx/LPC43xx (DEPRECATED)" - depends on ARM_SINGLE_ARMV7M
arch/arm/Kconfig source "arch/arm/mach-zte/Kconfig" · line 459
Quoted 10 lines
arch/arm/Kconfig +0
-10- select ARCH_HAS_RESET_CONTROLLER - select ARM_AMBA - select CLKSRC_LPC32XX - select PINCTRL - help - Support for NXP's LPC18xx Cortex-M3 and LPC43xx Cortex-M4 - high performance microcontrollers. - - This platform is scheduled for removal in early 2027 -
[Severity: Medium]
Does this removal leave several driver Kconfig entries and Makefiles with unmet dependencies?
Removing ARCH_LPC18XX here without also cleaning up the corresponding driver references causes Kconfig evaluation to check against a non-existent symbol. For example, in drivers/gpio/Kconfig, GPIO_LPC18XX has:
depends on ARCH_LPC18XX || COMPILE_TEST
Similar orphaned references to ARCH_LPC18XX are left behind in:
- drivers/clk/Kconfig (COMMON_CLK_NXP)
- drivers/i2c/busses/Kconfig (I2C_LPC2K)
- drivers/dma/Kconfig (LPC18XX_DMAMUX)
- drivers/iio/adc/Kconfig (LPC18XX_ADC)
Additionally, it seems platform-specific driver code is left behind as dead code. For instance, drivers/clk/nxp/Makefile continues to gate builds on the deleted config:
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-cgu.o
obj-$(CONFIG_ARCH_LPC18XX) += clk-lpc18xx-ccu.oShould the associated drivers, such as drivers/pinctrl/pinctrl-lpc18xx.c, be removed in this patch series as well to prevent unmaintained dead code from lingering in the tree?
Quoted 3 lines
arch/arm/Kconfig +0
-0config ARCH_MPS2 bool "ARM MPS2 platform (DEPRECATED)" depends on ARM_SINGLE_ARMV7M
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=9
[email protected]
AI reviewRe: [PATCH 08/13] ARM: imx: remove nommu support
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] Orphaned Kconfig dependencies on the removed `SOC_IMXRT` symbol leave drivers silently disabled. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] Orphaned Kconfig dependencies on the removed SOC_IMXRT symbol leave drivers silently disabled. --
commit ecf588322c385f47ce74ce1a3a67ac11cf5204d7
Author: Arnd Bergmann <[email protected]>
ARM: imx: remove nommu support
This commit drops support for three Cortex-M based microcontrollers on the i.MX platform (i.MX RT1050, Vybrid vf610 M4, and i.MX7D M4). It removes the relevant device trees, configs, and Kconfig entries to simplify the platform by assuming an MMU is present.
[ ... ]
Quoted 4 lines
arch/arm/mach-imx/Kconfig +0
-0
[ ... ]
arch/arm/mach-imx/Kconfig config SOC_IMX7D_CA7 · line 218
Quoted 9 lines
arch/arm/mach-imx/Kconfig +0
-9-config SOC_IMXRT - bool "i.MXRT support (DEPRECATED)" - depends on ARM_SINGLE_ARMV7M - select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M - help - This enables support for Freescale i.MXRT Crossover processor. - - This platform is scheduled for removal in early 2027 -
[Severity: High]
Does removing SOC_IMXRT leave Kconfig dependencies orphaned in other subsystems?
There appear to be a few config symbols that still depend on SOC_IMXRT:
drivers/clk/imx/Kconfig:
config CLK_IMXRT1050
depends on SOC_IMXRT || COMPILE_TEST
drivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1050
depends on SOC_IMXRT || COMPILE_TEST
default SOC_IMXRTdrivers/pinctrl/freescale/Kconfig:
config PINCTRL_IMXRT1170
depends on SOC_IMXRT || COMPILE_TEST
Since SOC_IMXRT is removed here, these drivers might be left silently disabled on normal builds. Should these drivers and their Kconfig entries also be removed?
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=8
[email protected]
AI reviewRe: [PATCH 10/13] ARM: stm32: remove stm32f4/f7/h7 MCU support
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] Incomplete removal of STM32 MCU platform leaves orphaned drivers and dangling Kconfig references…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Incomplete removal of STM32 MCU platform leaves orphaned drivers and dangling Kconfig references
- [Low] Grammatical typo in documentation update
--
commit b3d9699b653730bdc87f076ae9ec5792bb7764a3
Author: Arnd Bergmann <[email protected]>
ARM: stm32: remove stm32f4/f7/h7 MCU support
The stm32 platform started out as a Cortex-M based microcontoller platform in 2007, with a few of the older products gaining Linux kernel support in 2016. These days, the only relevant chips for Linux are the stm32mp1 (Cortex-A7) and stm32mp2 (Cortex-A35) product lines, with the microcontrollers running smaller RTOSs on new products.
The microcontrollers were marked as deprecated in the linux-7.3LTS release, which will remain supported for a few more years and is expected to be sufficient for any of the remaining original users.
Remove the MCU support now, leaving only the stm32mp SoCs in the platform.
Quoted 5 lines
Documentation/arch/arm/stm32/overview.rst +0
-0
Documentation/arch/arm/stm32/overview.rst STM32 ARM Linux Overview · line 10
Quoted 9 lines
Documentation/arch/arm/stm32/overview.rst +3
-3@@ -5,15 +5,13 @@ STM32 ARM Linux Overview Introduction ------------ -The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and -Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of -ARM Linux. +The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) is +supported by the 'STM32' platform of ARM Linux, support for the Cortex-M +based MCUs is has been removed.
[Severity: Low]
Is there a grammatical typo here? Should it be "has been removed" instead of "is has been removed"?
[ ... ]
Quoted 13 lines
arch/arm/mach-stm32/Kconfig +0
-5@@ -1,17 +1,15 @@ # SPDX-License-Identifier: GPL-2.0-only menuconfig ARCH_STM32 bool "STMicroelectronics STM32 family" - depends on ARM_SINGLE_ARMV7M || ARCH_MULTI_V7 - select ARMV7M_SYSTICK if ARM_SINGLE_ARMV7M - select HAVE_ARM_ARCH_TIMER if ARCH_MULTI_V7 - select ARM_GIC if ARCH_MULTI_V7 - select ARM_PSCI if ARCH_MULTI_V7
arch/arm/mach-stm32/Kconfig line 14
Quoted 10 lines
arch/arm/mach-stm32/Kconfig +4
-1+ depends on ARCH_MULTI_V7 + select HAVE_ARM_ARCH_TIMER + select ARM_GIC + select ARM_PSCI select ARM_AMBA select ARCH_HAS_RESET_CONTROLLER select CLKSRC_STM32 select PINCTRL select RESET_CONTROLLER - select STM32_EXTI if ARM_SINGLE_ARMV7M
[Severity: Medium]
This is a pre-existing issue, but does removing this selection of STM32_EXTI permanently disable the irq-stm32-exti.c driver?
Looking at drivers/irqchip/Kconfig on line 485, STM32_EXTI is defined as an invisible boolean config symbol. Without being selected here, the driver will never be built. Could the corresponding driver and Kconfig entry be removed as well?
Quoted 18 lines
arch/arm/mach-stm32/Kconfig +0
-11select STM32_FIREWALL help Support for STMicroelectronics STM32MP1 processors using Cortex-A7@@ -20,32 +18,6 @@ menuconfig ARCH_STM32 if ARCH_STM32 -if ARM_SINGLE_ARMV7M - -config MACH_STM32F429 - bool "STMicroelectronics STM32F429 (DEPRECATED)" - default y - -config MACH_STM32F469 - bool "STMicroelectronics STM32F469 (DEPRECATED)" - default y - -config MACH_STM32F746
arch/arm/mach-stm32/Kconfig menuconfig ARCH_STM32 · line 43
Quoted 10 lines
arch/arm/mach-stm32/Kconfig +0
-10- bool "STMicroelectronics STM32F746 (DEPRECATED)" - default y - -config MACH_STM32F769 - bool "STMicroelectronics STM32F769 (DEPRECATED)" - default y - -config MACH_STM32H743 - bool "STMicroelectronics STM32H743 (DEPRECATED)" - default y
[Severity: Medium]
This isn't a bug introduced by this patch, but doesn't removing these MCU and debug configs leave dangling references in other files?
For instance, in drivers/clk/Kconfig at line 442, COMMON_CLK_STM32F relies on these now-undefined symbols:
def_bool COMMON_CLK && (MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746)
This silently disables the clock driver and leaves it as dead code. Similarly, drivers/pinctrl/stm32/Kconfig on line 14 uses MACH_STM32F429 in its visibility condition for PINCTRL_STM32F429. In arch/arm/include/debug/stm32.S on line 7, the preprocessor directive checks for CONFIG_STM32F4_DEBUG_UART, which was also removed in this patch.
Could these remaining orphaned drivers and dead references be cleaned up as well?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10
Re: [PATCH 09/13] ARM: lpc18xx: remove entire platform
In reply to [email protected]Quoted 4 lines · On Tue, Sep 8, 2026, at 17:41, [email protected] wrote:
[Severity: Medium]
Does this removal leave several driverKconfigentries and Makefiles with unmet dependencies?
See cover letter: I have the patches, but am staging this out into multiple series.
Arnd
[email protected]
AI reviewRe: [PATCH 11/13] ARM: versatile: remove mps2 support
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The `ARCH_MPS2` config symbol was removed from the tree, but it is still referenced in the…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The ARCH_MPS2 config symbol was removed from the tree, but it is still referenced in the depends on clause for SERIAL_MPS2_UART in the serial subsystem. --
commit 6586f00f58e77d469ef87ccde160d87dd5f7e427
Author: Arnd Bergmann <[email protected]>
ARM: versatile: remove mps2 support
The Arm mps2 platform is the reference implementation for Arm microcontrollers and is useful for testing but not expected to be used as a production device. With all the Cortex-M based products gone, there is no longer a need for a reference platform either, so remove it as well.
arch/arm/Kconfig source "arch/arm/mach-zte/Kconfig" · line 447
Quoted 10 lines
arch/arm/Kconfig +0
-2@@ -443,20 +443,6 @@ source "arch/arm/mach-zte/Kconfig" source "arch/arm/mach-zynq/Kconfig" -config ARCH_MPS2 - bool "ARM MPS2 platform (DEPRECATED)"
[Severity: Medium]
Since the ARCH_MPS2 config symbol is being removed from the tree here, should it also be removed from the depends on clause for SERIAL_MPS2_UART?
Looking at drivers/tty/serial/Kconfig, it still references this deleted symbol for the serial subsystem:
config SERIAL_MPS2_UART
bool "MPS2 UART port" depends on ARCH_MPS2 || COMPILE_TEST
Will leaving this unresolved cause the SERIAL_MPS2_UART driver to only be buildable under COMPILE_TEST and lead to silent Kconfig dependency resolution issues?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=11
[email protected]
AI reviewRe: [PATCH 03/13] ARM: remove riscpc
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Incomplete removal of the ARCH_RPC platform and ARCH_ACORN config dependency, leaving orphaned…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete removal of the ARCH_RPC platform and ARCH_ACORN config dependency, leaving orphaned device drivers, Makefile/Kconfig references, and dead code. --
commit 90a4954ac0a5a6d8d3608046095747cf4673b8dd
Author: Arnd Bergmann <[email protected]>
ARM: remove riscpc
The Acorn Risc PC platform and its associated drivers, configurations, and board files are being removed as the required gcc-8 compiler and -march=armv3 option are no longer supported.
Quoted 3 lines
The main limitation here is the CPU bus that does not allow 16-bit wide data transfers and hence requires the kernel to be built with the -march=armv3 compiler option that was discontinued in gcc-9.
[Severity: Low]
Since this compiler option is the explicitly stated reason for removal in the commit message, should we also delete the compiler flag from the tree?
arch/arm/Makefile:
arch-$(CONFIG_CPU_32v3) :=-march=armv3m
Additionally, the config symbol for this architecture version is now dead code because its only selector (ARCH_RPC) was removed:
arch/arm/mm/Kconfig:config CPU_32v3
config CPU_32v3
boolQuoted 4 lines
MAINTAINERS +0
-0
[ ... ]
MAINTAINERS F: Documentation/devicetree/bindings/display/arm,malidp.yaml · line 2358
Quoted 6 lines
MAINTAINERS +0
-6-ARM MFM AND FLOPPY DRIVERS -M: Ian Molton <[email protected]> -S: Maintained -F: arch/arm/include/asm/floppy.h -F: arch/arm/mach-rpc/floppydma.S -
[Severity: Low]
Does this leave the floppy header as dead code in the tree? It is removed from MAINTAINERS here, but the file itself was left in the tree:
arch/arm/include/asm/floppy.h:
#ifndef __ASM_ARM_FLOPPY_H
#define __ASM_ARM_FLOPPY_HQuoted 4 lines
arch/arm/Kconfig +0
-0
[ ... ]
arch/arm/Kconfig source "arch/arm/mach-qcom/Kconfig" · line 418
Quoted 7 lines
arch/arm/Kconfig +0
-2@@ -429,8 +415,6 @@ source "arch/arm/mach-qcom/Kconfig" source "arch/arm/mach-realtek/Kconfig" -source "arch/arm/mach-rpc/Kconfig" - source "arch/arm/mach-rockchip/Kconfig"
[Severity: Low]
Are there dangling references to the removed CONFIG_ARCH_RPC?
The Makefile still references it:
arch/arm/Makefile:
machine-$(CONFIG_ARCH_RPC) += rpc
The machine type registry still contains it:
arch/arm/tools/mach-types:
riscpc ARCH_RPC RISCPC 1
And the CPU selection still evaluates it:
arch/arm/mm/Kconfig:config CPU_SA110
select CPU_32v3 if ARCH_RPC
select CPU_32v4 if !ARCH_RPC
[ ... ]
arch/arm/Kconfig config ARCH_MPS2 · line 495
Quoted 7 lines
arch/arm/Kconfig +0
-3@@ -490,9 +474,6 @@ config ARCH_MPS2 This platform is scheduled for removal in early 2027 # Definitions to make life easier -config ARCH_ACORN - bool -
[Severity: Low]
Does removing ARCH_ACORN leave orphaned device drivers in the tree?
All Acorn SCSI drivers depend on this removed config, leaving the entire directory as dead code:
drivers/scsi/arm/Kconfig:config SCSI_ACORN
depends on ARCH_ACORN && SCSI
While these removed configs make the dependent drivers unselectable and thus don't break the build or introduce runtime issues, it leaves a significant amount of dead code. I have verified that this dead code is not removed in subsequent patches in the series.
Quoted 6 lines
arch/arm/include/asm/ecard.h deleted +0
-0@@ -1,219 +0,0 @@
[ ... ]
arch/arm/include/asm/ecard.h line 17
Quoted 2 lines
arch/arm/include/asm/ecard.h deleted +0
-2-#ifndef __ASM_ECARD_H -#define __ASM_ECARD_H
[Severity: Low]
Does this leave behind unselectable drivers that still include this deleted header?
One of the remaining Risc PC drivers left in the tree still tries to include it:
drivers/ata/pata_icside.c:
#include <asm/ecard.h>
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
Re: [PATCH 10/13] ARM: stm32: remove stm32f4/f7/h7 MCU support
In reply to [email protected]Quoted 10 lines · On Tue, Sep 8, 2026, at 17:43, [email protected] wrote:
Documentation/arch/arm/stm32/overview.rst STM32 ARM Linux Overview · line 10
Quoted 6 lines
Documentation/arch/arm/stm32/overview.rst +3
-3-The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) and -Cortex-M microcontrollers (MCUs) are supported by the 'STM32' platform of -ARM Linux. +The STMicroelectronics STM32 family of Cortex-A microprocessors (MPUs) is +supported by the 'STM32' platform of ARM Linux, support for the Cortex-M +based MCUs is has been removed.[Severity: Low]
Is there a grammatical typo here? Should it be "has been removed" instead of "is has been removed"?
Fixed.
Quoted 8 lines
[Severity: Medium]
This is a pre-existing issue, but does removing this selection ofSTM32_EXTIpermanently disable theirq-stm32-exti.cdriver?Looking at
drivers/irqchip/Kconfigon line 485,STM32_EXTIis defined as an invisible boolean config symbol. Without being selected here, the driver will never be built. Could the corresponding driver andKconfigentry be removed as well?
As with the other platform removal in this series, I already have patches for these as well, see
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3
Arnd
[email protected]
AI reviewRe: [PATCH 13/13] ARM: axxia: remove entire platform
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The commit removes the `ARCH_AXXIA` configuration but fails to remove the associated peripheral…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The commit removes the ARCH_AXXIA configuration but fails to remove the associated peripheral drivers, device tree bindings, and Kconfig dependencies. This leaves orphaned code and violates Kconfig rules by referencing a non-existent symbol. --
commit 5209c3e860d6603a7c70267ff59ac71d1c1c4f84
Author: Arnd Bergmann <[email protected]>
ARM: axxia: remove entire platform
The initial Axxia port was contributed by LSI in 2014, but never completed after the sale of the business unit to Intel. This commit removes the Axxia platform now that the 7.3LTS release is out.
[ ... ]
arch/arm/mach-axxia/Kconfig line 2
Quoted 8 lines
arch/arm/mach-axxia/Kconfig deleted +0
-2@@ -1,17 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -config ARCH_AXXIA
[Severity: Medium]
Does removing ARCH_AXXIA here leave orphaned dependencies and dead code elsewhere in the tree?
According to the Kconfig subsystem guidelines, referencing a non-existent config symbol causes silent configuration failures.
For example, POWER_RESET_AXXIA in drivers/power/reset/Kconfig (line 51) still has 'depends on ARCH_AXXIA', turning the axxia-reset driver in drivers/power/reset/axxia-reset.c into dead code.
Similarly, I2C_AXXIA in drivers/i2c/busses/Kconfig (line 461) has 'depends on ARCH_AXXIA || COMPILE_TEST' and 'default ARCH_AXXIA', leaving drivers/i2c/busses/i2c-axxia.c as a leftover platform driver.
Furthermore, drivers/clk/Makefile (line 61) still contains the impossible build rule 'obj-$(CONFIG_ARCH_AXXIA) += clk-axm5516.o', making clk-axm5516.c dead code.
There are also orphaned dt-bindings, such as Documentation/devicetree/bindings/i2c/lsi,api2c.yaml and include/dt-bindings/clock/lsi,axm5516-clks.h, left behind since all Axxia device trees were deleted.
Should these associated peripheral drivers, bindings, and Kconfig entries be removed in this patch or a series alongside the architecture removal?
Quoted 1 line
arch/arm/mach-axxia/Kconfig deleted +0
-1- bool "LSI Axxia platforms (DEPRECATED)"
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=13
[email protected]
AI reviewRe: [PATCH 12/13] ARM: at91: remove samv7 support
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Low] Incomplete cleanup of SAMV7, SAMS7, and SAME7 platform macros. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Low] Incomplete cleanup of SAMV7, SAMS7, and SAME7 platform macros.
--
commit 0e6ee4e12ed1996bcca25e4e14e2ee5176bc2d17
Author: Arnd Bergmann <[email protected]>
ARM: at91: remove samv7 support
This commit removes support for the deprecated samv7 platform. It deletes the platform initialization code, Kconfig entries, Makefile hooks, and the corresponding SoC definitions in the atmel/soc driver.
drivers/soc/atmel/soc.c static const struct at91_soc socs[] __initconst = { · line 214
Quoted 10 lines
drivers/soc/atmel/soc.c +0
-2@@ -210,41 +210,6 @@ static const struct at91_soc socs[] __initconst = { AT91_CIDR_VERSION_MASK, SAMA5D44_EXID_MATCH, "sama5d44", "sama5d4"),#endif -#ifdef CONFIG_SOC_SAMV7 - AT91_SOC(SAME70Q21_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
[Severity: Low]
Since this removes the usages of SAME70Q21_CIDR_MATCH and the other SAMV7/SAME7 macros from the socs[] array, should the corresponding macro definitions also be removed from drivers/soc/atmel/soc.h? They appear to be dead code after this change.
Quoted 3 lines
drivers/soc/atmel/soc.c +0
-3- AT91_CIDR_VERSION_MASK, SAME70Q21_EXID_MATCH, - "same70q21", "same7"), - AT91_SOC(SAME70Q20_CIDR_MATCH, AT91_CIDR_MATCH_MASK,
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=12
[email protected]
AI reviewRe: [PATCH 02/13] ARM: remove footbridge
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Medium] Dangling Kconfig dependencies and orphaned drivers reference removed Footbridge/NetWinder…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Dangling Kconfig dependencies and orphaned drivers reference removed Footbridge/NetWinder symbols.
- [Medium] Dead code blocks conditionally compiled for deleted architectures remain in core ARM files. --
commit 5927fe5f70523467f7f940a2a1678e08472c6f67
Author: Arnd Bergmann <[email protected]>
ARM: remove footbridge
This commit removes the deprecated Footbridge platform, including the StrongARM EBSA285 and NetWinder machines. It deletes the associated architecture-specific Kconfig entries, makefiles, and source files.
Quoted 11 lines
arch/arm/kernel/atags_parse.c +0
-3@@ -69,24 +69,6 @@ static int __init parse_tag_mem32(const struct tag *tag)__tagtable (ATAG_MEM , parse_tag_mem32); -#if defined(CONFIG_ARCH_FOOTBRIDGE ) && defined(CONFIG_VGA_CONSOLE ) -static int __init parse_tag_videotext (const struct tag *tag) -{
[ ... ]
arch/arm/kernel/atags_parse.c static int __init parse_tag_mem32(const struct tag *tag) · line 89
Quoted 3 lines
arch/arm/kernel/atags_parse.c +0
-3-__tagtable (ATAG_VIDEOTEXT , parse_tag_videotext); -#endif -
[Severity: Medium]
Since this patch removes the footbridge architecture, should similar arch-specific dead code be removed from arch/arm/kernel/atags_compat.c as well?
For example, build_tag_list() in that file still retains conditional blocks for the removed configurations:
#ifdef CONFIG_ARCH_NETWINDER
if (params->u1.s.nr_pages != 0x02000 &&
...
#ifdef CONFIG_FOOTBRIDGE
if (params->u1.s.mem_fclk_21285) {
...
#ifdef CONFIG_ARCH_EBSA285
if (machine_is_ebsa285()) {Quoted 6 lines
arch/arm/mach-footbridge/Kconfig deleted +0
-0@@ -1,57 +0,0 @@
[ ... ]
Quoted 2 lines
arch/arm/mach-footbridge/Kconfig deleted +0
-2-config ARCH_NETWINDER - bool "NetWinder"
[ ... ]
arch/arm/mach-footbridge/Kconfig line 50
Quoted 2 lines
arch/arm/mach-footbridge/Kconfig deleted +0
-2-config FOOTBRIDGE - def_bool y
[Severity: Medium]
By removing the FOOTBRIDGE and ARCH_NETWINDER configs here, what happens to the drivers in other subsystems that still depend on them?
For example, drivers/watchdog/Kconfig still contains dependencies like:
config 21285_WATCHDOG
depends on FOOTBRIDGE
And drivers/char/Kconfig has symbols like DS1620, NWBUTTON, and NWFLASH that depend on ARCH_NETWINDER. Will these be left permanently unbuildable since their configurations are orphaned?
Additionally, 977_WATCHDOG depends on:
(FOOTBRIDGE && ARCH_NETWINDER) || (ARM && COMPILE_TEST)
If someone builds with COMPILE_TEST, won't this driver try to build but fail due to missing headers?
arch/arm/include/asm/hardware/dec21285.h
Quoted 5 lines
arch/arm/include/asm/hardware/dec21285.h deleted +0
-0
[Severity: Medium]
Will the removal of this header cause fatal build errors for the orphaned drivers mentioned above?
For example, if compilation is attempted (such as with COMPILE_TEST), nwflash_init() in drivers/char/nwflash.c and serial21285_init() in drivers/tty/serial/21285.c both still include <asm/hardware/dec21285.h>.
Does this patch need to remove those orphaned drivers as well to prevent build breakages?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
[email protected]
AI reviewRe: [PATCH 04/13] ARM: remove legacy pxa board files
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider: - [Medium] Removed Kconfig symbols are still referenced in `depends on` statements of other subsystems…
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Medium] Removed Kconfig symbols are still referenced in depends on statements of other subsystems, violating Kconfig dependency rules.
- [Low] Orphaned board-specific driver files and dead #ifdef blocks were left in the tree after their Kconfig options were removed.
- [Low] Dangling function declarations for removed platform data setters in subsystem headers.
--
commit ef1288803408f45e1d5ad605b925ffe5c498323f
Author: Arnd Bergmann <[email protected]>
ARM: remove legacy pxa board files
This patch removes support for several legacy PXA board files, including the Sharp SL series and Gumstix expansion boards. It deletes the associated machine initialization code, defconfigs, and board-specific headers.
Quoted 4 lines
arch/arm/mach-pxa/Kconfig +0
-0
[ ... ]
arch/arm/mach-pxa/Kconfig config MACH_PXA3XX_DT · line 80
Quoted 10 lines
arch/arm/mach-pxa/Kconfig +0
-10-config GUMSTIX_AM200EPD - bool "Enable AM200EPD board support" - -config GUMSTIX_AM300EPD - bool "Enable AM300EPD board support" - -endchoice - -config PXA_SHARPSL - bool "SHARP Zaurus SL-5600, SL-C7xx and SL-Cxx00 Models (DEPRECATED)"
[Severity: Medium]
Since PXA_SHARPSL and related configs are removed here, does this leave unmet dependencies in other subsystems?
For example, in drivers/pcmcia/Kconfig, PCMCIA_PXA2XX has:
depends on ARM && ARCH_PXA && PCMCIA && PXA_SHARPSL
Similarly, LCD_CORGI in drivers/video/backlight/Kconfig and SND_PXA2XX_SOC_SPITZ in sound/soc/pxa/Kconfig still depend on these removed symbols, making them unreachable. Should these Kconfig entries and makefile rules, like pxa2xx-obj-$(CONFIG_PXA_SHARPSL) in drivers/pcmcia/Makefile, be removed as well?
[Severity: Low]
With the removal of these board configurations, are there orphaned drivers and dead code blocks left in the tree?
For instance, drivers/pcmcia/pxa2xx_sharpsl.c, drivers/video/backlight/corgi_lcd.c, and sound/soc/pxa/spitz.c appear to be specific to the removed Sharp SL and Spitz boards. The sharpsl-nand device probed in drivers/mtd/nand/raw/sharpsl.c is also no longer registered.
Additionally, there are leftover ifdef blocks, such as
#ifdef CONFIG_GUMSTIX_AM200EPD in drivers/video/fbdev/core/fbmem.c (inside register_framebuffer) and include/linux/fb.h, as well as #ifdef CONFIG_SHARPSL_PM in drivers/hwmon/max1111.c (in max1111_read_channel).
Could these drivers and dead ifdef blocks be cleaned up in a follow-up?
Quoted 2 lines
arch/arm/mach-pxa/Kconfig +0
-2- select SHARP_PARAM - select SHARP_SCOOP
[ ... ]
Quoted 4 lines
arch/arm/mach-pxa/devices.c +0
-0
[ ... ]
arch/arm/mach-pxa/devices.c line 150
Quoted 5 lines
arch/arm/mach-pxa/devices.c +0
-5-void __init pxa_set_fb_info (struct device *parent,struct pxafb_mach_info *info) -{ - pxa_device_fb.dev.parent = parent; -pxa_register_device (&pxa_device_fb, info); -}
[Severity: Low]
With the implementations of these platform data setters removed, should their corresponding external declarations be cleaned up from the subsystem headers to prevent dangling prototypes?
For example:
- pxa_set_fb_info() in include/linux/platform_data/video-pxafb.h
- pxa_set_ohci_info() in include/linux/platform_data/usb-ohci-pxa27x.h
- pxa_set_mci_info() in include/linux/platform_data/mmc-pxamci.h
Quoted 2 lines
arch/arm/mach-pxa/devices.c +0
-2- -static struct resource pxa_resource_ffuart[] = {
[ ... ]
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=4
[email protected]
AI reviewRe: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Removal of SOC_IMX31 leaves dangling references in Kconfig files and orphaned code, violating…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Removal of SOC_IMX31 leaves dangling references in Kconfig files and orphaned code, violating Kconfig guidelines. --
commit 9fd3329c9e9c5af4c9aa12b23d3a92bfd1566e55
Author: Arnd Bergmann <[email protected]>
ARM: imx: remove i.MX31 SoC support
This commit removes support for the Freescale i.MX31 SoC based on the ARM1136r0 CPU core, which is causing extra maintenance effort. The device trees, configuration files, and core mach-imx code for i.MX31 are deleted while preserving support for the related i.MX35 SoC.
Quoted 5 lines
arch/arm/Kconfig.debug +0
-0
arch/arm/Kconfig.debug choice · line 433
Quoted 10 lines
arch/arm/Kconfig.debug +0
-7@@ -424,13 +424,6 @@ choice Say Y here if you want kernel low-level debugging support on i.MX28. - config DEBUG_IMX31_UART - bool "i.MX31 Debug UART" - depends on SOC_IMX31 - help - Say Y here if you want kernel low-level debugging support - on i.MX31. -
[Severity: Medium]
Can the removal of CONFIG_DEBUG_IMX31_UART leave obsolete preprocessor blocks in header files?
In arch/arm/include/debug/imx-uart.h, there is still a check for this symbol:
#elif defined(CONFIG_DEBUG_IMX31_UART)
#define UART_PADDR IMX_DEBUG_UART_BASE(IMX31)
Could this block now be dead code because the config symbol no longer exists?
[ ... ]
Quoted 9 lines
arch/arm/mach-imx/Kconfig +0
-1@@ -39,17 +39,6 @@ if ARCH_MULTI_V6 comment "ARM1136 platforms" -config SOC_IMX31
arch/arm/mach-imx/Kconfig if ARCH_MULTI_V6 · line 52
Quoted 10 lines
arch/arm/mach-imx/Kconfig +0
-10- bool "i.MX31 support (DEPRECATED)" - depends on !SMP - select CPU_ARM1136R0 - select MXC_AVIC - help - This enables support for Freescale i.MX31 processor - - This SoC is scheduled for removal in early 2027, - since it uses the ARM1136r0 CPU revision. -
[Severity: Medium]
Could the removal of SOC_IMX31 orphan the hardware random number generator driver?
In drivers/char/hw_random/Kconfig, HW_RANDOM_MXC_RNGA currently has:
config HW_RANDOM_MXC_RNGA
tristate "Freescale i.MX RNGA Random Number Generator" depends on SOC_IMX31 || COMPILE_TEST
Since SOC_IMX31 is no longer defined, this driver can now only be selected via COMPILE_TEST.
Is there also a risk of leaving dead code in the clock driver?
In drivers/clk/imx/Kconfig, CLK_IMX31 has:
config CLK_IMX31
def_bool SOC_IMX31
Could this convert the driver code into uncompilable dead code since SOC_IMX31 is removed?
[ ... ]
Quoted 4 lines
arch/arm/mach-imx/mm-imx3.c +0
-0
[ ... ]
Quoted 4 lines
arch/arm/mach-imx/mm-imx3.c +0
-4-void __init mx31_map_io (void ) -{ -iotable_init (mx31_io_desc,ARRAY_SIZE (mx31_io_desc)); -}
[ ... ]
arch/arm/mach-imx/mm-imx3.c static void __iomem *imx3_ioremap_caller(phys_addr_t phys_addr, size_t size, · line 111
Quoted 12 lines
arch/arm/mach-imx/mm-imx3.c +0
-12-void __init imx31_init_early (void ) -{ -struct device_node *np; - -mxc_set_cpu_type (MXC_CPU_MX31 ); - arch_ioremap_caller = imx3_ioremap_caller; - arm_pm_idle = imx31_idle; - np =of_find_compatible_node (NULL ,NULL ,"fsl,imx31-ccm" ); - mx3_ccm_base =of_iomap (np,0 ); -of_node_put (np); -BUG_ON (!mx3_ccm_base); -}
[Severity: Medium]
Are there dangling declarations left behind in the subsystem headers?
In arch/arm/mach-imx/common.h, these declarations still exist:
void mx31_map_io(void);
void imx31_init_early(void);
Could these dead declarations be removed as well?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7
[email protected]
AI reviewRe: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannThank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider: - [Low] Orphaned MAINTAINERS entry for the TS-78xx platform. - [Low] Legacy IRQ, MPP, and GPIO…
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Low] Orphaned MAINTAINERS entry for the TS-78xx platform.
- [Low] Legacy IRQ, MPP, and GPIO implementations are now unreachable dead code and unnecessarily compiled. --
commit 67c50c71bc1677d3a7c7538373463163afb7b062
Author: Arnd Bergmann <[email protected]>
Subject: ARM: orion/dove/mv78xx0: remove all board files
This commit removes the legacy board files for the Orion, Dove, and MV78xx0 platforms. These files were retained in 2022 due to support in Debian/OpenWRT, which is now gone.
MAINTAINERS F: Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml · line 3085
Quoted 13 lines
MAINTAINERS +0
-2@@ -3080,8 +3080,6 @@ F: Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml F: Documentation/devicetree/bindings/soc/dove/ F: arch/arm/boot/dts/marvell/dove* F: arch/arm/boot/dts/marvell/orion5x* -F: arch/arm/mach-dove/ -F: arch/arm/mach-mv78xx0/ F: arch/arm/mach-orion5x/ F: arch/arm/plat-orion/ F: drivers/bus/mvebu-mbus.c
[Severity: Low]
Since all the board files like arch/arm/mach-orion5x/ts78xx-setup.c are removed in this patch, should the MAINTAINERS entry for the TS-78xx platform further down in this file also be removed?
The pattern F: arch/arm/mach-orion5x/ts78xx-* now points to deleted files, which leaves an orphaned entry for Alexander Clouter.
[ ... ]
arch/arm/mach-orion5x/Makefile line 6
Quoted 10 lines
arch/arm/mach-orion5x/Makefile +0
-2@@ -2,15 +2,6 @@ ccflags-y := -I$(srctree)/arch/arm/plat-orion/include obj-y += common.o pci.o irq.o mpp.o -obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o -obj-$(CONFIG_MACH_TERASTATION_PRO2) += terastation_pro2-setup.o
[Severity: Low]
Are irq.o and mpp.o now completely unreachable code?
Since all the board files that called into these APIs have been removed, it appears these objects are now unnecessarily compiled into the kernel image. Should they be removed from obj-y here?
[ ... ]
arch/arm/plat-orion/Makefile line 9
Quoted 11 lines
arch/arm/plat-orion/Makefile +1
-1@@ -5,5 +5,5 @@ ccflags-y := -I$(src)/include orion-gpio-$(CONFIG_GPIOLIB) += gpio.o -obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o time.o common.o mpp.o +obj-$(CONFIG_PLAT_ORION_LEGACY) += irq.o pcie.o mpp.o obj-$(CONFIG_PLAT_ORION_LEGACY) += $(orion-gpio-y)
[Severity: Low]
Similarly, does this leave irq.o, mpp.o, and the orion-gpio-y objects as dead code as well?
Since their corresponding entry points in the board files were deleted, could these also be removed from the build?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
Re: [PATCH 03/13] ARM: remove riscpc
In reply to [email protected]Quoted 14 lines · On Tue, Sep 8, 2026, at 17:52, [email protected] wrote:
The Acorn Risc PC platform and its associated drivers, configurations, and board files are being removed as the required gcc-8 compiler and -march=armv3 option are no longer supported.
Quoted 3 lines
The main limitation here is the CPU bus that does not allow 16-bit wide data transfers and hence requires the kernel to be built with the -march=armv3 compiler option that was discontinued in gcc-9.
[Severity: Low]
Since this compiler option is the explicitly stated reason for removal in the commit message, should we also delete the compiler flag from the tree?
arch/arm/Makefile:
Quoted 8 lines
arch-$(CONFIG_CPU_32v3) :=-march=armv3mAdditionally, the config symbol for this architecture version is now dead code because its only selector (
ARCH_RPC) was removed:arch/arm/mm/Kconfig:config
CPU_32v3config CPU_32v3 bool
I decided to remove these two as part of the later StrongARM removal patch that depends on this one.
Quoted 16 lines
Quoted 4 lines
MAINTAINERS +0
-0[ ... ]
MAINTAINERS F: Documentation/devicetree/bindings/display/arm,malidp.yaml · line 2358
Quoted 6 lines
MAINTAINERS +0
-6-ARM MFM AND FLOPPY DRIVERS -M: Ian Molton <[email protected]> -S: Maintained -F: arch/arm/include/asm/floppy.h -F: arch/arm/mach-rpc/floppydma.S -[Severity: Low]
Does this leave the floppy header as dead code in the tree? It is removed fromMAINTAINERShere, but the file itself was left in the tree:
Quoted 3 lines
arch/arm/include/asm/floppy.h:#ifndef __ASM_ARM_FLOPPY_H #define __ASM_ARM_FLOPPY_H
This is removed along with ISA bus support later, which also drops ARCH_MAY_HAVE_PC_FDC, ISA_DMA_API and GENERIC_ISA_DMA.
I could have split up the MAINTAINERS file change, but it seemed better to do it in one place. Maybe the other patch would have been better, but then I'd have another dangling reference to mach-rpc here.
Quoted 4 lines
The
Makefilestill references it:
arch/arm/Makefile:machine-$(CONFIG_ARCH_RPC) += rpc
Fixed now, this ended up in the StrongARM patch by accident.
Quoted 4 lines
The machine type registry still contains it:
arch/arm/tools/mach-types:
riscpcARCH_RPCRISCPC 1
This is intentional.
Quoted 5 lines
And the CPU selection still evaluates it:
arch/arm/mm/Kconfig:config
CPU_SA110
selectCPU_32v3ifARCH_RPC
selectCPU_32v4if !ARCH_RPC
Again, this is part of the StrongARM removal. I had considered removing these two lines first, but then I'd have to split up the CPU_32v3 removal out from that.
Arnd
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannQuoted 39 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.
Cc Andrew Lunn <[email protected]>Cc Sebastian Hesselbarth <[email protected]>Cc Gregory Clement <[email protected]>Cc Alexander Clouter <[email protected]>Cc Jeremy J. Peper <[email protected]>Cc Damien Le Moal <[email protected]>Cc Niklas Cassel <[email protected]>Cc Ulf Hansson <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Cc "Krzysztof Wilczyński" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Rob Herring <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Vinod Koul <[email protected]>Cc Alexandre Belloni <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Daniel Lezcano <[email protected]>Cc Guenter Roeck <[email protected]>Cc Mark Brown <[email protected]>Cc Linus Walleij <[email protected]>Cc Bartosz Golaszewski <[email protected]>Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines
Kind regards
Uffe
Quoted 9,582 lines
--- MAINTAINERS | 2 - arch/arm/Kconfig | 2 - arch/arm/Kconfig.debug | 2 +- arch/arm/Makefile | 2 - arch/arm/configs/dove_defconfig | 134 --- arch/arm/configs/mv78xx0_defconfig | 120 --- arch/arm/mach-dove/Kconfig | 32 - arch/arm/mach-dove/Makefile | 7 - arch/arm/mach-dove/bridge-regs.h | 50 -- arch/arm/mach-dove/cm-a510.c | 94 -- arch/arm/mach-dove/common.c | 449 ---------- arch/arm/mach-dove/common.h | 46 - arch/arm/mach-dove/dove.h | 185 ---- arch/arm/mach-dove/irq.c | 81 -- arch/arm/mach-dove/irqs.h | 89 -- arch/arm/mach-dove/mpp.c | 159 ---- arch/arm/mach-dove/mpp.h | 197 ----- arch/arm/mach-dove/pcie.c | 226 ----- arch/arm/mach-dove/pm.h | 58 -- arch/arm/mach-mv78xx0/Kconfig | 27 - arch/arm/mach-mv78xx0/Makefile | 5 - arch/arm/mach-mv78xx0/bridge-regs.h | 31 - arch/arm/mach-mv78xx0/buffalo-wxl-setup.c | 183 ---- arch/arm/mach-mv78xx0/common.c | 444 ---------- arch/arm/mach-mv78xx0/common.h | 54 -- arch/arm/mach-mv78xx0/irq.c | 69 -- arch/arm/mach-mv78xx0/irqs.h | 87 -- arch/arm/mach-mv78xx0/mpp.c | 34 - arch/arm/mach-mv78xx0/mpp.h | 337 ------- arch/arm/mach-mv78xx0/mv78xx0.h | 134 --- arch/arm/mach-mv78xx0/pcie.c | 280 ------ arch/arm/mach-orion5x/Kconfig | 95 -- arch/arm/mach-orion5x/Makefile | 9 - arch/arm/mach-orion5x/board-dt.c | 3 +- arch/arm/mach-orion5x/common.c | 238 +---- arch/arm/mach-orion5x/common.h | 15 - arch/arm/mach-orion5x/dns323-setup.c | 757 ---------------- arch/arm/mach-orion5x/kurobox_pro-setup.c | 407 --------- arch/arm/mach-orion5x/mv2120-setup.c | 256 ------ arch/arm/mach-orion5x/net2big-setup.c | 444 ---------- arch/arm/mach-orion5x/pci.c | 1 - .../arm/mach-orion5x/terastation_pro2-setup.c | 366 -------- arch/arm/mach-orion5x/ts209-setup.c | 331 ------- arch/arm/mach-orion5x/ts409-setup.c | 329 ------- arch/arm/mach-orion5x/ts78xx-fpga.h | 42 - arch/arm/mach-orion5x/ts78xx-setup.c | 574 ------------ arch/arm/mach-orion5x/tsx09-common.c | 129 --- arch/arm/mach-orion5x/tsx09-common.h | 21 - arch/arm/mm/Kconfig | 2 +- arch/arm/plat-orion/Makefile | 2 +- arch/arm/plat-orion/common.c | 826 ------------------ arch/arm/plat-orion/include/plat/addr-map.h | 54 -- arch/arm/plat-orion/include/plat/common.h | 104 --- arch/arm/plat-orion/include/plat/time.h | 20 - arch/arm/plat-orion/pcie.c | 1 - arch/arm/plat-orion/time.c | 238 ----- drivers/ata/Kconfig | 3 +- drivers/mmc/host/Kconfig | 2 +- drivers/pci/controller/Kconfig | 2 +- drivers/phy/marvell/Kconfig | 2 +- drivers/rtc/Kconfig | 2 +- drivers/soc/Makefile | 1 - drivers/thermal/Kconfig | 2 +- drivers/watchdog/Kconfig | 2 +- sound/soc/kirkwood/Kconfig | 2 +- 65 files changed, 14 insertions(+), 8888 deletions(-) delete mode 100644 arch/arm/configs/dove_defconfig delete mode 100644 arch/arm/configs/mv78xx0_defconfig delete mode 100644 arch/arm/mach-dove/Kconfig delete mode 100644 arch/arm/mach-dove/Makefile delete mode 100644 arch/arm/mach-dove/bridge-regs.h delete mode 100644 arch/arm/mach-dove/cm-a510.c delete mode 100644 arch/arm/mach-dove/common.c delete mode 100644 arch/arm/mach-dove/common.h delete mode 100644 arch/arm/mach-dove/dove.h delete mode 100644 arch/arm/mach-dove/irq.c delete mode 100644 arch/arm/mach-dove/irqs.h delete mode 100644 arch/arm/mach-dove/mpp.c delete mode 100644 arch/arm/mach-dove/mpp.h delete mode 100644 arch/arm/mach-dove/pcie.c delete mode 100644 arch/arm/mach-dove/pm.h delete mode 100644 arch/arm/mach-mv78xx0/Kconfig delete mode 100644 arch/arm/mach-mv78xx0/Makefile delete mode 100644 arch/arm/mach-mv78xx0/bridge-regs.h delete mode 100644 arch/arm/mach-mv78xx0/buffalo-wxl-setup.c delete mode 100644 arch/arm/mach-mv78xx0/common.c delete mode 100644 arch/arm/mach-mv78xx0/common.h delete mode 100644 arch/arm/mach-mv78xx0/irq.c delete mode 100644 arch/arm/mach-mv78xx0/irqs.h delete mode 100644 arch/arm/mach-mv78xx0/mpp.c delete mode 100644 arch/arm/mach-mv78xx0/mpp.h delete mode 100644 arch/arm/mach-mv78xx0/mv78xx0.h delete mode 100644 arch/arm/mach-mv78xx0/pcie.c delete mode 100644 arch/arm/mach-orion5x/dns323-setup.c delete mode 100644 arch/arm/mach-orion5x/kurobox_pro-setup.c delete mode 100644 arch/arm/mach-orion5x/mv2120-setup.c delete mode 100644 arch/arm/mach-orion5x/net2big-setup.c delete mode 100644 arch/arm/mach-orion5x/terastation_pro2-setup.c delete mode 100644 arch/arm/mach-orion5x/ts209-setup.c delete mode 100644 arch/arm/mach-orion5x/ts409-setup.c delete mode 100644 arch/arm/mach-orion5x/ts78xx-fpga.h delete mode 100644 arch/arm/mach-orion5x/ts78xx-setup.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.c delete mode 100644 arch/arm/mach-orion5x/tsx09-common.h delete mode 100644 arch/arm/plat-orion/common.c delete mode 100644 arch/arm/plat-orion/include/plat/addr-map.h delete mode 100644 arch/arm/plat-orion/include/plat/common.h delete mode 100644 arch/arm/plat-orion/include/plat/time.h delete mode 100644 arch/arm/plat-orion/time.cMAINTAINERS +0
-2@@ -3080,8 +3080,6 @@ F: Documentation/devicetree/bindings/arm/marvell/marvell,orion5x.yaml F: Documentation/devicetree/bindings/soc/dove/ F: arch/arm/boot/dts/marvell/dove* F: arch/arm/boot/dts/marvell/orion5x* -F: arch/arm/mach-dove/ -F: arch/arm/mach-mv78xx0/ F: arch/arm/mach-orion5x/ F: arch/arm/plat-orion/ F: drivers/bus/mvebu-mbus.carch/arm/Kconfig +0
-2@@ -393,8 +393,6 @@ source "arch/arm/mach-mmp/Kconfig" source "arch/arm/mach-mstar/Kconfig" -source "arch/arm/mach-mv78xx0/Kconfig" - source "arch/arm/mach-mvebu/Kconfig" source "arch/arm/mach-mxs/Kconfig"arch/arm/Kconfig.debug +1
-1@@ -583,7 +583,7 @@ choice config DEBUG_MVEBU_UART0_ALTERNATE bool "Kernel low-level debugging messages via MVEBU UART0 (new bootloaders)" - depends on ARCH_MVEBU || ARCH_DOVE || ARCH_MV78XX0 || ARCH_ORION5X + depends on ARCH_MVEBU || ARCH_ORION5X select DEBUG_UART_8250 help Say Y here if you want kernel low-level debugging supportarch/arm/Makefile +0
-2@@ -179,7 +179,6 @@ machine-$(CONFIG_ARCH_BERLIN) += berlin machine-$(CONFIG_ARCH_CLPS711X) += clps711x machine-$(CONFIG_ARCH_DAVINCI) += davinci machine-$(CONFIG_ARCH_DIGICOLOR) += digicolor -machine-$(CONFIG_ARCH_DOVE) += dove machine-$(CONFIG_ARCH_EXYNOS) += exynos machine-$(CONFIG_ARCH_GEMINI) += gemini machine-$(CONFIG_ARCH_HIGHBANK) += highbank@@ -190,7 +189,6 @@ machine-$(CONFIG_ARCH_LPC18XX) += lpc18xx machine-$(CONFIG_ARCH_LPC32XX) += lpc32xx machine-$(CONFIG_ARCH_MESON) += meson machine-$(CONFIG_ARCH_MMP) += mmp -machine-$(CONFIG_ARCH_MV78XX0) += mv78xx0 machine-$(CONFIG_ARCH_MVEBU) += mvebu machine-$(CONFIG_ARCH_MXC) += imx machine-$(CONFIG_ARCH_MEDIATEK) += mediatekarch/arm/configs/dove_defconfig deleted +0
-134@@ -1,134 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EXPERT=y -# CONFIG_ARCH_MULTI_V6 is not set -CONFIG_ARCH_MULTI_V7=y -CONFIG_ARCH_DOVE=y -CONFIG_MACH_CM_A510=y -CONFIG_HIGHMEM=y -CONFIG_ATAGS=y -CONFIG_ARM_APPENDED_DTB=y -CONFIG_ARM_ATAG_DTB_COMPAT=y -CONFIG_VFP=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -# CONFIG_IPV6 is not set -CONFIG_PCI=y -CONFIG_PCI_MSI=y -CONFIG_PCI_MVEBU=y -CONFIG_DEVTMPFS=y -CONFIG_DEVTMPFS_MOUNT=y -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_JEDECPROBE=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_GEOMETRY=y -# CONFIG_MTD_MAP_BANK_WIDTH_4 is not set -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_STAA=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_M25P80=y -CONFIG_MTD_SPI_NOR=y -CONFIG_BLK_DEV_LOOP=y -CONFIG_BLK_DEV_RAM=y -CONFIG_BLK_DEV_RAM_COUNT=1 -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -# CONFIG_BLK_DEV_BSG is not set -# CONFIG_SCSI_LOWLEVEL is not set -CONFIG_ATA=y -CONFIG_SATA_MV=y -CONFIG_NETDEVICES=y -CONFIG_MV643XX_ETH=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_INPUT_EVDEV=y -# CONFIG_KEYBOARD_ATKBD is not set -# CONFIG_MOUSE_PS2 is not set -# CONFIG_SERIO is not set -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 -CONFIG_SERIAL_OF_PLATFORM=y -# CONFIG_HW_RANDOM is not set -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MV64XXX=y -CONFIG_SPI=y -CONFIG_SPI_ORION=y -# CONFIG_HWMON is not set -CONFIG_THERMAL=y -CONFIG_DOVE_THERMAL=y -CONFIG_WATCHDOG=y -CONFIG_ORION_WATCHDOG=y -CONFIG_USB=y -CONFIG_USB_XHCI_HCD=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_STORAGE=y -CONFIG_MMC=y -CONFIG_MMC_SDHCI=y -CONFIG_MMC_SDHCI_PLTFM=y -CONFIG_MMC_SDHCI_DOVE=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_GPIO=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_LEDS_TRIGGER_DEFAULT_ON=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_MV=y -CONFIG_DMADEVICES=y -CONFIG_MV_XOR=y -CONFIG_EXT2_FS=y -CONFIG_EXT4_FS=y -# CONFIG_EXT4_FS_XATTR is not set -CONFIG_ISO9660_FS=y -CONFIG_JOLIET=y -CONFIG_UDF_FS=m -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_JFFS2_FS=y -CONFIG_NFS_FS=y -CONFIG_ROOT_NFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_ISO8859_2=y -CONFIG_NLS_UTF8=y -CONFIG_TIMER_STATS=y -CONFIG_CRYPTO_NULL=y -CONFIG_CRYPTO_BLOWFISH=y -CONFIG_CRYPTO_TEA=y -CONFIG_CRYPTO_TWOFISH=y -CONFIG_CRYPTO_ECB=m -CONFIG_CRYPTO_HMAC=y -CONFIG_CRYPTO_MD4=y -CONFIG_CRYPTO_SHA1=y -CONFIG_CRYPTO_SHA256=y -CONFIG_CRYPTO_SHA512=y -CONFIG_CRYPTO_DEFLATE=y -CONFIG_CRYPTO_LZO=y -CONFIG_CRYPTO_DEV_MARVELL_CESA=y -CONFIG_PRINTK_TIME=y -# CONFIG_DEBUG_BUGVERBOSE is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_FS=y -# CONFIG_SCHED_DEBUG is not set -CONFIG_DEBUG_USER=yarch/arm/configs/mv78xx0_defconfig deleted +0
-120@@ -1,120 +0,0 @@ -CONFIG_SYSVIPC=y -CONFIG_NO_HZ_IDLE=y -CONFIG_HIGH_RES_TIMERS=y -CONFIG_PREEMPT=y -CONFIG_LOG_BUF_SHIFT=14 -CONFIG_EXPERT=y -CONFIG_KALLSYMS_ALL=y -CONFIG_PROFILING=y -CONFIG_ARCH_MULTI_V5=y -# CONFIG_ARCH_MULTI_V6 is not set -# CONFIG_ARCH_MULTI_V7 is not set -CONFIG_ARCH_MV78XX0=y -CONFIG_MACH_TERASTATION_WXL=y -CONFIG_HIGHMEM=y -CONFIG_ATAGS=y -CONFIG_VFP=y -CONFIG_KPROBES=y -CONFIG_MODULES=y -CONFIG_MODULE_UNLOAD=y -CONFIG_PARTITION_ADVANCED=y -CONFIG_BSD_DISKLABEL=y -CONFIG_NET=y -CONFIG_PACKET=y -CONFIG_UNIX=y -CONFIG_INET=y -CONFIG_IP_MULTICAST=y -CONFIG_IP_PNP=y -CONFIG_IP_PNP_DHCP=y -CONFIG_IP_PNP_BOOTP=y -# CONFIG_IPV6 is not set -CONFIG_NET_PKTGEN=m -CONFIG_MTD=y -CONFIG_MTD_CMDLINE_PARTS=y -CONFIG_MTD_BLOCK=y -CONFIG_MTD_CFI=y -CONFIG_MTD_JEDECPROBE=y -CONFIG_MTD_CFI_ADV_OPTIONS=y -CONFIG_MTD_CFI_GEOMETRY=y -CONFIG_MTD_CFI_INTELEXT=y -CONFIG_MTD_CFI_AMDSTD=y -CONFIG_MTD_PHYSMAP=y -CONFIG_MTD_RAW_NAND=y -CONFIG_MTD_NAND_ORION=y -CONFIG_BLK_DEV_LOOP=y -# CONFIG_SCSI_PROC_FS is not set -CONFIG_BLK_DEV_SD=y -CONFIG_BLK_DEV_SR=m -CONFIG_CHR_DEV_SG=m -# CONFIG_BLK_DEV_BSG is not set -CONFIG_ATA=y -CONFIG_SATA_MV=y -CONFIG_NETDEVICES=y -CONFIG_MII=y -CONFIG_NET_PCI=y -CONFIG_MV643XX_ETH=y -# CONFIG_INPUT_MOUSEDEV is not set -CONFIG_MARVELL_PHY=y -CONFIG_INPUT_EVDEV=y -# CONFIG_INPUT_KEYBOARD is not set -# CONFIG_INPUT_MOUSE is not set -# CONFIG_SERIO is not set -# CONFIG_VT is not set -CONFIG_LEGACY_PTY_COUNT=16 -CONFIG_SERIAL_8250=y -CONFIG_SERIAL_8250_CONSOLE=y -# CONFIG_SERIAL_8250_PCI is not set -CONFIG_SERIAL_8250_RUNTIME_UARTS=2 -# CONFIG_HW_RANDOM is not set -CONFIG_I2C=y -CONFIG_I2C_CHARDEV=y -CONFIG_I2C_MV64XXX=y -CONFIG_USB=y -CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_ROOT_HUB_TT=y -CONFIG_USB_EHCI_TT_NEWSCHED=y -CONFIG_USB_PRINTER=y -CONFIG_USB_STORAGE=y -CONFIG_USB_STORAGE_DATAFAB=y -CONFIG_USB_STORAGE_FREECOM=y -CONFIG_USB_STORAGE_SDDR09=y -CONFIG_USB_STORAGE_SDDR55=y -CONFIG_USB_STORAGE_JUMPSHOT=y -CONFIG_NEW_LEDS=y -CONFIG_LEDS_CLASS=y -CONFIG_LEDS_TRIGGERS=y -CONFIG_LEDS_TRIGGER_TIMER=y -CONFIG_LEDS_TRIGGER_HEARTBEAT=y -CONFIG_RTC_CLASS=y -CONFIG_RTC_DRV_DS1307=y -CONFIG_RTC_DRV_RS5C372=y -CONFIG_RTC_DRV_M41T80=y -CONFIG_EXT2_FS=y -CONFIG_EXT4_FS=y -# CONFIG_EXT4_FS_XATTR is not set -CONFIG_ISO9660_FS=m -CONFIG_JOLIET=y -CONFIG_UDF_FS=m -CONFIG_MSDOS_FS=y -CONFIG_VFAT_FS=y -CONFIG_TMPFS=y -CONFIG_JFFS2_FS=y -CONFIG_CRAMFS=y -CONFIG_NFS_FS=y -CONFIG_NFS_V3=y -CONFIG_ROOT_NFS=y -CONFIG_NLS_CODEPAGE_437=y -CONFIG_NLS_CODEPAGE_850=y -CONFIG_NLS_ISO8859_1=y -CONFIG_NLS_ISO8859_2=y -CONFIG_CRYPTO_CBC=m -CONFIG_CRYPTO_ECB=m -# CONFIG_DEBUG_BUGVERBOSE is not set -CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT=y -CONFIG_MAGIC_SYSRQ=y -CONFIG_DEBUG_FS=y -CONFIG_DEBUG_KERNEL=y -# CONFIG_SLUB_DEBUG is not set -CONFIG_SCHEDSTATS=y -CONFIG_DEBUG_USER=y -CONFIG_DEBUG_LL=yarch/arm/mach-dove/Kconfig deleted +0
-32@@ -1,32 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -menuconfig ARCH_DOVE - bool "Marvell Dove (DEPRECATED)" if ARCH_MULTI_V7 - depends on ATAGS - select CPU_PJ4 - select GPIOLIB - select MVEBU_MBUS - select PINCTRL - select PINCTRL_DOVE - select PLAT_ORION_LEGACY - select PM_GENERIC_DOMAINS if PM - select PCI_QUIRKS if PCI - help - Support for the Marvell Dove SoC 88AP510 using board files. - - Support for this machine will be removed in early 2027, unless - there is a strong reason to keep it. Users should migrate to - the devicetree-enabled version (CONFIG_MACH_DOVE) instead. - -if ARCH_DOVE - -config DOVE_LEGACY - bool - -config MACH_CM_A510 - bool "CompuLab CM-A510 Board" - select DOVE_LEGACY - help - Say 'Y' here if you want your kernel to support the - CompuLab CM-A510 Board. - -endifarch/arm/mach-dove/Makefile deleted +0
-7@@ -1,7 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o -obj-$(CONFIG_DOVE_LEGACY) += irq.o mpp.o -obj-$(CONFIG_PCI) += pcie.o -obj-$(CONFIG_MACH_CM_A510) += cm-a510.oarch/arm/mach-dove/bridge-regs.h deleted +0
-50@@ -1,50 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Mbus-L to Mbus Bridge Registers */ - -#ifndef __ASM_ARCH_BRIDGE_REGS_H -#define __ASM_ARCH_BRIDGE_REGS_H - -#include "dove.h" - -#define CPU_CONFIG (BRIDGE_VIRT_BASE + 0x0000) - -#define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) -#define CPU_CTRL_PCIE0_LINK 0x00000001 -#define CPU_RESET 0x00000002 -#define CPU_CTRL_PCIE1_LINK 0x00000008 - -#define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) -#define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x0108) -#define SOFT_RESET_OUT_EN 0x00000004 - -#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) -#define SOFT_RESET 0x00000001 - -#define BRIDGE_CAUSE (BRIDGE_VIRT_BASE + 0x0110) -#define BRIDGE_INT_TIMER1_CLR (~0x0004) - -#define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) -#define IRQ_CAUSE_LOW_OFF 0x0000 -#define IRQ_MASK_LOW_OFF 0x0004 -#define FIQ_MASK_LOW_OFF 0x0008 -#define ENDPOINT_MASK_LOW_OFF 0x000c -#define IRQ_CAUSE_HIGH_OFF 0x0010 -#define IRQ_MASK_HIGH_OFF 0x0014 -#define FIQ_MASK_HIGH_OFF 0x0018 -#define ENDPOINT_MASK_HIGH_OFF 0x001c -#define PCIE_INTERRUPT_MASK_OFF 0x0020 - -#define IRQ_MASK_LOW (IRQ_VIRT_BASE + IRQ_MASK_LOW_OFF) -#define FIQ_MASK_LOW (IRQ_VIRT_BASE + FIQ_MASK_LOW_OFF) -#define ENDPOINT_MASK_LOW (IRQ_VIRT_BASE + ENDPOINT_MASK_LOW_OFF) -#define IRQ_MASK_HIGH (IRQ_VIRT_BASE + IRQ_MASK_HIGH_OFF) -#define FIQ_MASK_HIGH (IRQ_VIRT_BASE + FIQ_MASK_HIGH_OFF) -#define ENDPOINT_MASK_HIGH (IRQ_VIRT_BASE + ENDPOINT_MASK_HIGH_OFF) -#define PCIE_INTERRUPT_MASK (IRQ_VIRT_BASE + PCIE_INTERRUPT_MASK_OFF) - -#define POWER_MANAGEMENT (BRIDGE_VIRT_BASE + 0x011c) - -#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0300) -#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE + 0x0300) - -#endif arch/arm/mach-dove/cm-a510.c deleted +0
-94@@ -1,94 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-dove/cm-a510.c -* -* Copyright (C) 2010 CompuLab, Ltd. -* Konstantin Sinyuk <[email protected]> -* -* Based on Marvell DB-MV88AP510-BP Development Board Setup -*/ - -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/platform_device.h> -#include <linux/ata_platform.h> -#include <linux/mv643xx_eth.h> -#include <linux/spi/spi.h> -#include <linux/spi/flash.h> - -#include <asm/mach-types.h> -#include <asm/mach/arch.h> - -#include "dove.h" -#include "common.h" - -static struct mv643xx_eth_platform_data cm_a510_ge00_data = { - .phy_addr =MV643XX_ETH_PHY_ADDR_DEFAULT , -}; - -static struct mv_sata_platform_data cm_a510_sata_data = { - .n_ports =1 , -}; - -/* -* SPI Devices: -* SPI0: 1M Flash Winbond w25q32bv -*/ -static const struct flash_platform_data cm_a510_spi_flash_data = { - .type ="w25q32bv" , -}; - -static struct spi_board_info __initdata cm_a510_spi_flash_info[] = { - { - .modalias ="m25p80" , - .platform_data = &cm_a510_spi_flash_data, - .irq =-1 , - .max_speed_hz =20000000 , - .bus_num =0 , - .chip_select =0 , - }, -}; - -static int __init cm_a510_pci_init (void ) -{ -if (machine_is_cm_a510 ()) -dove_pcie_init (1 ,1 ); - -return 0 ; -} - -subsys_initcall (cm_a510_pci_init); - -/* Board Init */ -static void __init cm_a510_init (void ) -{ -/* -* Basic Dove setup. Needs to be called early. -*/ -dove_init (); - -dove_ge00_init (&cm_a510_ge00_data); -dove_ehci0_init (); -dove_ehci1_init (); -dove_sata_init (&cm_a510_sata_data); -dove_sdio0_init (); -dove_sdio1_init (); -dove_spi0_init (); -dove_spi1_init (); -dove_uart0_init (); -dove_uart1_init (); -dove_i2c_init (); -spi_register_board_info (cm_a510_spi_flash_info, -ARRAY_SIZE (cm_a510_spi_flash_info)); -} - -MACHINE_START (CM_A510 ,"Compulab CM-A510 Board" ) - .atag_offset = 0x100, - .nr_irqs = DOVE_NR_IRQS, - .init_machine = cm_a510_init, - .map_io = dove_map_io, - .init_early = dove_init_early, - .init_irq = dove_init_irq, - .init_time = dove_timer_init, - .restart = dove_restart, -MACHINE_END arch/arm/mach-dove/common.c deleted +0
-449@@ -1,449 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-dove/common.c -* -* Core functions for Marvell Dove 88AP510 System On Chip -*/ - -#include <linux/clk-provider.h> -#include <linux/dma-mapping.h> -#include <linux/init.h> -#include <linux/io.h> -#include <linux/platform_data/dma-mv_xor.h> -#include <linux/platform_data/usb-ehci-orion.h> -#include <linux/platform_device.h> -#include <linux/soc/dove/pmu.h> -#include <asm/hardware/cache-tauros2.h> -#include <asm/mach/arch.h> -#include <asm/mach/map.h> -#include <asm/mach/time.h> -#include <plat/common.h> -#include <plat/irq.h> -#include <plat/time.h> -#include "bridge-regs.h" -#include "pm.h" -#include "common.h" - -/* These can go away once Dove uses the mvebu-mbus DT binding */ -#define DOVE_MBUS_PCIE0_MEM_TARGET 0x4 -#define DOVE_MBUS_PCIE0_MEM_ATTR 0xe8 -#define DOVE_MBUS_PCIE0_IO_TARGET 0x4 -#define DOVE_MBUS_PCIE0_IO_ATTR 0xe0 -#define DOVE_MBUS_PCIE1_MEM_TARGET 0x8 -#define DOVE_MBUS_PCIE1_MEM_ATTR 0xe8 -#define DOVE_MBUS_PCIE1_IO_TARGET 0x8 -#define DOVE_MBUS_PCIE1_IO_ATTR 0xe0 -#define DOVE_MBUS_CESA_TARGET 0x3 -#define DOVE_MBUS_CESA_ATTR 0x1 -#define DOVE_MBUS_BOOTROM_TARGET 0x1 -#define DOVE_MBUS_BOOTROM_ATTR 0xfd -#define DOVE_MBUS_SCRATCHPAD_TARGET 0xd -#define DOVE_MBUS_SCRATCHPAD_ATTR 0x0 - -/***************************************************************************** -* I/O Address Mapping -****************************************************************************/ -static struct map_desc __maybe_unused dove_io_desc[]__initdata = { - { - .virtual = (unsigned long )DOVE_SB_REGS_VIRT_BASE , - .pfn =__phys_to_pfn (DOVE_SB_REGS_PHYS_BASE ), - .length =DOVE_SB_REGS_SIZE , - .type =MT_DEVICE , - }, { - .virtual = (unsigned long )DOVE_NB_REGS_VIRT_BASE , - .pfn =__phys_to_pfn (DOVE_NB_REGS_PHYS_BASE ), - .length =DOVE_NB_REGS_SIZE , - .type =MT_DEVICE , - }, -}; - -void __init dove_map_io (void ) -{ -iotable_init (dove_io_desc,ARRAY_SIZE (dove_io_desc)); -} - -/***************************************************************************** -* CLK tree -****************************************************************************/ -static int dove_tclk; - -static DEFINE_SPINLOCK (gating_lock); -static struct clk *tclk; - -static struct clk __init *dove_register_gate (const char *name, -const char *parent,u8 bit_idx) -{ -return clk_register_gate (NULL , name, parent,0 , - (void __iomem *)CLOCK_GATING_CONTROL , - bit_idx,0 , &gating_lock); -} - -static void __init dove_clk_init (void ) -{ -struct clk *usb0, *usb1, *sata, *pex0, *pex1, *sdio0, *sdio1; -struct clk *nand, *camera, *i2s0, *i2s1, *crypto, *ac97, *pdma; -struct clk *xor0, *xor1, *ge; - - tclk =clk_register_fixed_rate (NULL ,"tclk" ,NULL ,0 , dove_tclk); - - usb0 =dove_register_gate ("usb0" ,"tclk" ,CLOCK_GATING_BIT_USB0 ); - usb1 =dove_register_gate ("usb1" ,"tclk" ,CLOCK_GATING_BIT_USB1 ); - sata =dove_register_gate ("sata" ,"tclk" ,CLOCK_GATING_BIT_SATA ); - pex0 =dove_register_gate ("pex0" ,"tclk" ,CLOCK_GATING_BIT_PCIE0 ); - pex1 =dove_register_gate ("pex1" ,"tclk" ,CLOCK_GATING_BIT_PCIE1 ); - sdio0 =dove_register_gate ("sdio0" ,"tclk" ,CLOCK_GATING_BIT_SDIO0 ); - sdio1 =dove_register_gate ("sdio1" ,"tclk" ,CLOCK_GATING_BIT_SDIO1 ); - nand =dove_register_gate ("nand" ,"tclk" ,CLOCK_GATING_BIT_NAND ); - camera =dove_register_gate ("camera" ,"tclk" ,CLOCK_GATING_BIT_CAMERA ); - i2s0 =dove_register_gate ("i2s0" ,"tclk" ,CLOCK_GATING_BIT_I2S0 ); - i2s1 =dove_register_gate ("i2s1" ,"tclk" ,CLOCK_GATING_BIT_I2S1 ); - crypto =dove_register_gate ("crypto" ,"tclk" ,CLOCK_GATING_BIT_CRYPTO ); - ac97 =dove_register_gate ("ac97" ,"tclk" ,CLOCK_GATING_BIT_AC97 ); - pdma =dove_register_gate ("pdma" ,"tclk" ,CLOCK_GATING_BIT_PDMA ); - xor0 =dove_register_gate ("xor0" ,"tclk" ,CLOCK_GATING_BIT_XOR0 ); - xor1 =dove_register_gate ("xor1" ,"tclk" ,CLOCK_GATING_BIT_XOR1 ); -dove_register_gate ("gephy" ,"tclk" ,CLOCK_GATING_BIT_GIGA_PHY ); - ge =dove_register_gate ("ge" ,"gephy" ,CLOCK_GATING_BIT_GBE ); - -orion_clkdev_add (NULL ,"orion_spi.0" , tclk); -orion_clkdev_add (NULL ,"orion_spi.1" , tclk); -orion_clkdev_add (NULL ,"orion_wdt" , tclk); -orion_clkdev_add (NULL ,"mv64xxx_i2c.0" , tclk); - -orion_clkdev_add (NULL ,"orion-ehci.0" , usb0); -orion_clkdev_add (NULL ,"orion-ehci.1" , usb1); -orion_clkdev_add (NULL ,"mv643xx_eth_port.0" , ge); -orion_clkdev_add (NULL ,"sata_mv.0" , sata); -orion_clkdev_add ("0" ,"pcie" , pex0); -orion_clkdev_add ("1" ,"pcie" , pex1); -orion_clkdev_add (NULL ,"sdhci-dove.0" , sdio0); -orion_clkdev_add (NULL ,"sdhci-dove.1" , sdio1); -orion_clkdev_add (NULL ,"orion_nand" , nand); -orion_clkdev_add (NULL ,"cafe1000-ccic.0" , camera); -orion_clkdev_add (NULL ,"mvebu-audio.0" , i2s0); -orion_clkdev_add (NULL ,"mvebu-audio.1" , i2s1); -orion_clkdev_add (NULL ,"mv_crypto" , crypto); -orion_clkdev_add (NULL ,"dove-ac97" , ac97); -orion_clkdev_add (NULL ,"dove-pdma" , pdma); -orion_clkdev_add (NULL ,MV_XOR_NAME ".0" , xor0); -orion_clkdev_add (NULL ,MV_XOR_NAME ".1" , xor1); -} - -/***************************************************************************** -* EHCI0 -****************************************************************************/ -void __init dove_ehci0_init (void ) -{ -orion_ehci_init (DOVE_USB0_PHYS_BASE ,IRQ_DOVE_USB0 ,EHCI_PHY_NA ); -} - -/***************************************************************************** -* EHCI1 -****************************************************************************/ -void __init dove_ehci1_init (void ) -{ -orion_ehci_1_init (DOVE_USB1_PHYS_BASE ,IRQ_DOVE_USB1 ); -} - -/***************************************************************************** -* GE00 -****************************************************************************/ -void __init dove_ge00_init (struct mv643xx_eth_platform_data *eth_data) -{ -orion_ge00_init (eth_data,DOVE_GE00_PHYS_BASE , -IRQ_DOVE_GE00_SUM ,IRQ_DOVE_GE00_ERR , -1600 ); -} - -/***************************************************************************** -* SoC RTC -****************************************************************************/ -static void __init dove_rtc_init (void ) -{ -orion_rtc_init (DOVE_RTC_PHYS_BASE ,IRQ_DOVE_RTC ); -} - -/***************************************************************************** -* SATA -****************************************************************************/ -void __init dove_sata_init (struct mv_sata_platform_data *sata_data) -{ -orion_sata_init (sata_data,DOVE_SATA_PHYS_BASE ,IRQ_DOVE_SATA ); - -} - -/***************************************************************************** -* UART0 -****************************************************************************/ -void __init dove_uart0_init (void ) -{ -orion_uart0_init (DOVE_UART0_VIRT_BASE ,DOVE_UART0_PHYS_BASE , -IRQ_DOVE_UART_0 , tclk); -} - -/***************************************************************************** -* UART1 -****************************************************************************/ -void __init dove_uart1_init (void ) -{ -orion_uart1_init (DOVE_UART1_VIRT_BASE ,DOVE_UART1_PHYS_BASE , -IRQ_DOVE_UART_1 , tclk); -} - -/***************************************************************************** -* UART2 -****************************************************************************/ -void __init dove_uart2_init (void ) -{ -orion_uart2_init (DOVE_UART2_VIRT_BASE ,DOVE_UART2_PHYS_BASE , -IRQ_DOVE_UART_2 , tclk); -} - -/***************************************************************************** -* UART3 -****************************************************************************/ -void __init dove_uart3_init (void ) -{ -orion_uart3_init (DOVE_UART3_VIRT_BASE ,DOVE_UART3_PHYS_BASE , -IRQ_DOVE_UART_3 , tclk); -} - -/***************************************************************************** -* SPI -****************************************************************************/ -void __init dove_spi0_init (void ) -{ -orion_spi_init (DOVE_SPI0_PHYS_BASE ); -} - -void __init dove_spi1_init (void ) -{ -orion_spi_1_init (DOVE_SPI1_PHYS_BASE ); -} - -/***************************************************************************** -* I2C -****************************************************************************/ -void __init dove_i2c_init (void ) -{ -orion_i2c_init (DOVE_I2C_PHYS_BASE ,IRQ_DOVE_I2C ,10 ); -} - -/***************************************************************************** -* Time handling -****************************************************************************/ -void __init dove_init_early (void ) -{ -orion_time_set_base (TIMER_VIRT_BASE ); -mvebu_mbus_init ("marvell,dove-mbus" , -BRIDGE_WINS_BASE ,BRIDGE_WINS_SZ , -DOVE_MC_WINS_BASE ,DOVE_MC_WINS_SZ ); -} - -static int __init dove_find_tclk (void ) -{ -return 166666667 ; -} - -void __init dove_timer_init (void ) -{ - dove_tclk =dove_find_tclk (); -orion_time_init (BRIDGE_VIRT_BASE ,BRIDGE_INT_TIMER1_CLR , -IRQ_DOVE_BRIDGE , dove_tclk); -} - -/***************************************************************************** -* XOR 0 -****************************************************************************/ -static void __init dove_xor0_init (void ) -{ -orion_xor0_init (DOVE_XOR0_PHYS_BASE ,DOVE_XOR0_HIGH_PHYS_BASE , -IRQ_DOVE_XOR_00 ,IRQ_DOVE_XOR_01 ); -} - -/***************************************************************************** -* XOR 1 -****************************************************************************/ -static void __init dove_xor1_init (void ) -{ -orion_xor1_init (DOVE_XOR1_PHYS_BASE ,DOVE_XOR1_HIGH_PHYS_BASE , -IRQ_DOVE_XOR_10 ,IRQ_DOVE_XOR_11 ); -} - -/***************************************************************************** -* SDIO -****************************************************************************/ -static u64 sdio_dmamask =DMA_BIT_MASK (32 ); - -static struct resource dove_sdio0_resources[] = { - { - .start =DOVE_SDIO0_PHYS_BASE , - .end =DOVE_SDIO0_PHYS_BASE +0xff , - .flags =IORESOURCE_MEM , - }, { - .start =IRQ_DOVE_SDIO0 , - .end =IRQ_DOVE_SDIO0 , - .flags =IORESOURCE_IRQ , - }, -}; - -static struct platform_device dove_sdio0 = { - .name ="sdhci-dove" , - .id =0 , - .dev = { - .dma_mask = &sdio_dmamask, - .coherent_dma_mask =DMA_BIT_MASK (32 ), - }, - .resource = dove_sdio0_resources, - .num_resources =ARRAY_SIZE (dove_sdio0_resources), -}; - -void __init dove_sdio0_init (void ) -{ -platform_device_register (&dove_sdio0); -} - -static struct resource dove_sdio1_resources[] = { - { - .start =DOVE_SDIO1_PHYS_BASE , - .end =DOVE_SDIO1_PHYS_BASE +0xff , - .flags =IORESOURCE_MEM , - }, { - .start =IRQ_DOVE_SDIO1 , - .end =IRQ_DOVE_SDIO1 , - .flags =IORESOURCE_IRQ , - }, -}; - -static struct platform_device dove_sdio1 = { - .name ="sdhci-dove" , - .id =1 , - .dev = { - .dma_mask = &sdio_dmamask, - .coherent_dma_mask =DMA_BIT_MASK (32 ), - }, - .resource = dove_sdio1_resources, - .num_resources =ARRAY_SIZE (dove_sdio1_resources), -}; - -void __init dove_sdio1_init (void ) -{ -platform_device_register (&dove_sdio1); -} - -void __init dove_setup_cpu_wins (void ) -{ -/* -* The PCIe windows will no longer be statically allocated -* here once Dove is migrated to the pci-mvebu driver. The -* non-PCIe windows will no longer be created here once Dove -* fully moves to DT. -*/ -mvebu_mbus_add_window_remap_by_id (DOVE_MBUS_PCIE0_IO_TARGET , -DOVE_MBUS_PCIE0_IO_ATTR , -DOVE_PCIE0_IO_PHYS_BASE , -DOVE_PCIE0_IO_SIZE , -DOVE_PCIE0_IO_BUS_BASE ); -mvebu_mbus_add_window_remap_by_id (DOVE_MBUS_PCIE1_IO_TARGET , -DOVE_MBUS_PCIE1_IO_ATTR , -DOVE_PCIE1_IO_PHYS_BASE , -DOVE_PCIE1_IO_SIZE , -DOVE_PCIE1_IO_BUS_BASE ); -mvebu_mbus_add_window_by_id (DOVE_MBUS_PCIE0_MEM_TARGET , -DOVE_MBUS_PCIE0_MEM_ATTR , -DOVE_PCIE0_MEM_PHYS_BASE , -DOVE_PCIE0_MEM_SIZE ); -mvebu_mbus_add_window_by_id (DOVE_MBUS_PCIE1_MEM_TARGET , -DOVE_MBUS_PCIE1_MEM_ATTR , -DOVE_PCIE1_MEM_PHYS_BASE , -DOVE_PCIE1_MEM_SIZE ); -mvebu_mbus_add_window_by_id (DOVE_MBUS_CESA_TARGET , -DOVE_MBUS_CESA_ATTR , -DOVE_CESA_PHYS_BASE , -DOVE_CESA_SIZE ); -mvebu_mbus_add_window_by_id (DOVE_MBUS_BOOTROM_TARGET , -DOVE_MBUS_BOOTROM_ATTR , -DOVE_BOOTROM_PHYS_BASE , -DOVE_BOOTROM_SIZE ); -mvebu_mbus_add_window_by_id (DOVE_MBUS_SCRATCHPAD_TARGET , -DOVE_MBUS_SCRATCHPAD_ATTR , -DOVE_SCRATCHPAD_PHYS_BASE , -DOVE_SCRATCHPAD_SIZE ); -} - -static struct resource orion_wdt_resource[] = { -DEFINE_RES_MEM (TIMER_PHYS_BASE ,0x04 ), -DEFINE_RES_MEM (RSTOUTn_MASK_PHYS,0x04 ), -}; - -static struct platform_device orion_wdt_device = { - .name ="orion_wdt" , - .id =-1 , - .num_resources =ARRAY_SIZE (orion_wdt_resource), - .resource = orion_wdt_resource, -}; - -static void __init __maybe_unused orion_wdt_init (void ) -{ -platform_device_register (&orion_wdt_device); -} - -static const struct dove_pmu_domain_initdata pmu_domains[]__initconst = { - { - .pwr_mask =PMU_PWR_VPU_PWR_DWN_MASK , - .rst_mask =PMU_SW_RST_VIDEO_MASK , - .iso_mask =PMU_ISO_VIDEO_MASK , - .name ="vpu-domain" , - }, { - .pwr_mask =PMU_PWR_GPU_PWR_DWN_MASK , - .rst_mask =PMU_SW_RST_GPU_MASK , - .iso_mask =PMU_ISO_GPU_MASK , - .name ="gpu-domain" , - }, { -/* sentinel */ - }, -}; - -static const struct dove_pmu_initdata pmu_data__initconst = { - .pmc_base =DOVE_PMU_VIRT_BASE , - .pmu_base =DOVE_PMU_VIRT_BASE +0x8000 , - .irq =IRQ_DOVE_PMU , - .irq_domain_start =IRQ_DOVE_PMU_START , - .domains = pmu_domains, -}; - -void __init dove_init (void ) -{ -pr_info ("Dove 88AP510 SoC, TCLK = %d MHz.\n" , - (dove_tclk +499999 ) /1000000 ); - -#ifdef CONFIG_CACHE_TAUROS2 -tauros2_init (0 ); -#endif -dove_setup_cpu_wins (); - -/* Setup root of clk tree */ -dove_clk_init (); - -/* internal devices that every board has */ -dove_init_pmu_legacy (&pmu_data); -dove_rtc_init (); -dove_xor0_init (); -dove_xor1_init (); -} - -void dove_restart (enum reboot_mode mode,const char *cmd) -{ -/* -* Enable soft reset to assert RSTOUTn. -*/ -writel (SOFT_RESET_OUT_EN , RSTOUTn_MASK); - -/* -* Assert soft reset. -*/ -writel (SOFT_RESET ,SYSTEM_SOFT_RESET ); - -while (1 ) - ; -}arch/arm/mach-dove/common.h deleted +0
-46@@ -1,46 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/mach-dove/common.h -* -* Core functions for Marvell Dove 88AP510 System On Chip -*/ - -#ifndef __ARCH_DOVE_COMMON_H -#define __ARCH_DOVE_COMMON_H - -#include <linux/reboot.h> - -struct mv643xx_eth_platform_data ; -struct mv_sata_platform_data ; - -extern void dove_timer_init (void ); - -/* -* Basic Dove init functions used early by machine-setup. -*/ -void dove_map_io (void ); -void dove_init (void ); -void dove_init_early (void ); -void dove_init_irq (void ); -void dove_setup_cpu_wins (void ); -void dove_ge00_init (struct mv643xx_eth_platform_data *eth_data); -void dove_sata_init (struct mv_sata_platform_data *sata_data); -#ifdef CONFIG_PCI -void dove_pcie_init (int init_port0,int init_port1); -#else -static inline void dove_pcie_init (int init_port0,int init_port1) { } -#endif -void dove_ehci0_init (void ); -void dove_ehci1_init (void ); -void dove_uart0_init (void ); -void dove_uart1_init (void ); -void dove_uart2_init (void ); -void dove_uart3_init (void ); -void dove_spi0_init (void ); -void dove_spi1_init (void ); -void dove_i2c_init (void ); -void dove_sdio0_init (void ); -void dove_sdio1_init (void ); -void dove_restart (enum reboot_mode ,const char *); - -#endif arch/arm/mach-dove/dove.h deleted +0
-185@@ -1,185 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* Generic definitions for Marvell Dove 88AP510 SoC */ - -#ifndef __ASM_ARCH_DOVE_H -#define __ASM_ARCH_DOVE_H - -#include "irqs.h" - -/* -* Marvell Dove address maps. -* -* phys virt size -* c8000000 fdb00000 1M Cryptographic SRAM -* e0000000 @runtime 128M PCIe-0 Memory space -* e8000000 @runtime 128M PCIe-1 Memory space -* f1000000 fec00000 1M on-chip south-bridge registers -* f1800000 fe400000 8M on-chip north-bridge registers -* f2000000 fee00000 1M PCIe-0 I/O space -* f2100000 fef00000 1M PCIe-1 I/O space -*/ - -#define DOVE_CESA_PHYS_BASE 0xc8000000 -#define DOVE_CESA_VIRT_BASE IOMEM(0xfdb00000) -#define DOVE_CESA_SIZE SZ_1M - -#define DOVE_PCIE0_MEM_PHYS_BASE 0xe0000000 -#define DOVE_PCIE0_MEM_SIZE SZ_128M - -#define DOVE_PCIE1_MEM_PHYS_BASE 0xe8000000 -#define DOVE_PCIE1_MEM_SIZE SZ_128M - -#define DOVE_BOOTROM_PHYS_BASE 0xf8000000 -#define DOVE_BOOTROM_SIZE SZ_128M - -#define DOVE_SCRATCHPAD_PHYS_BASE 0xf0000000 -#define DOVE_SCRATCHPAD_VIRT_BASE IOMEM(0xfdd00000) -#define DOVE_SCRATCHPAD_SIZE SZ_1M - -#define DOVE_SB_REGS_PHYS_BASE 0xf1000000 -#define DOVE_SB_REGS_VIRT_BASE IOMEM(0xfec00000) -#define DOVE_SB_REGS_SIZE SZ_1M - -#define DOVE_NB_REGS_PHYS_BASE 0xf1800000 -#define DOVE_NB_REGS_VIRT_BASE IOMEM(0xfe400000) -#define DOVE_NB_REGS_SIZE SZ_8M - -#define DOVE_PCIE0_IO_PHYS_BASE 0xf2000000 -#define DOVE_PCIE0_IO_BUS_BASE 0x00000000 -#define DOVE_PCIE0_IO_SIZE SZ_64K - -#define DOVE_PCIE1_IO_PHYS_BASE 0xf2100000 -#define DOVE_PCIE1_IO_BUS_BASE 0x00010000 -#define DOVE_PCIE1_IO_SIZE SZ_64K - -/* -* Dove Core Registers Map -*/ - -/* SPI, I2C, UART */ -#define DOVE_I2C_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x11000) -#define DOVE_UART0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x12000) -#define DOVE_UART0_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x12000) -#define DOVE_UART1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x12100) -#define DOVE_UART1_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x12100) -#define DOVE_UART2_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x12200) -#define DOVE_UART2_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x12200) -#define DOVE_UART3_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x12300) -#define DOVE_UART3_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x12300) -#define DOVE_SPI0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x10600) -#define DOVE_SPI1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x14600) - -/* North-South Bridge */ -#define BRIDGE_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x20000) -#define BRIDGE_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x20000) -#define BRIDGE_WINS_BASE (BRIDGE_PHYS_BASE) -#define BRIDGE_WINS_SZ (0x80) - -/* Cryptographic Engine */ -#define DOVE_CRYPT_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x30000) - -/* PCIe 0 */ -#define DOVE_PCIE0_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x40000) - -/* USB */ -#define DOVE_USB0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x50000) -#define DOVE_USB1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x51000) - -/* XOR 0 Engine */ -#define DOVE_XOR0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x60800) -#define DOVE_XOR0_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x60800) -#define DOVE_XOR0_HIGH_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x60A00) -#define DOVE_XOR0_HIGH_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x60A00) - -/* XOR 1 Engine */ -#define DOVE_XOR1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x60900) -#define DOVE_XOR1_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x60900) -#define DOVE_XOR1_HIGH_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x60B00) -#define DOVE_XOR1_HIGH_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x60B00) - -/* Gigabit Ethernet */ -#define DOVE_GE00_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x70000) - -/* PCIe 1 */ -#define DOVE_PCIE1_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0x80000) - -/* CAFE */ -#define DOVE_SDIO0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x92000) -#define DOVE_SDIO1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x90000) -#define DOVE_CAM_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x94000) -#define DOVE_CAFE_WIN_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0x98000) - -/* SATA */ -#define DOVE_SATA_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xa0000) - -/* I2S/SPDIF */ -#define DOVE_AUD0_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xb0000) -#define DOVE_AUD1_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xb4000) - -/* NAND Flash Controller */ -#define DOVE_NFC_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xc0000) - -/* MPP, GPIO, Reset Sampling */ -#define DOVE_MPP_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0200) -#define DOVE_PMU_MPP_GENERAL_CTRL (DOVE_MPP_VIRT_BASE + 0x10) -#define DOVE_RESET_SAMPLE_LO (DOVE_MPP_VIRT_BASE + 0x014) -#define DOVE_RESET_SAMPLE_HI (DOVE_MPP_VIRT_BASE + 0x018) -#define DOVE_GPIO_LO_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0400) -#define DOVE_GPIO_HI_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0420) -#define DOVE_GPIO2_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xe8400) -#define DOVE_MPP_GENERAL_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xe803c) -#define DOVE_AU1_SPDIFO_GPIO_EN (1 << 1) -#define DOVE_NAND_GPIO_EN (1 << 0) -#define DOVE_MPP_CTRL4_VIRT_BASE (DOVE_GPIO_LO_VIRT_BASE + 0x40) -#define DOVE_SPI_GPIO_SEL (1 << 5) -#define DOVE_UART1_GPIO_SEL (1 << 4) -#define DOVE_AU1_GPIO_SEL (1 << 3) -#define DOVE_CAM_GPIO_SEL (1 << 2) -#define DOVE_SD1_GPIO_SEL (1 << 1) -#define DOVE_SD0_GPIO_SEL (1 << 0) - -/* Power Management */ -#define DOVE_PMU_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xd0000) -#define DOVE_PMU_SIG_CTRL (DOVE_PMU_VIRT_BASE + 0x802c) - -/* Real Time Clock */ -#define DOVE_RTC_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xd8500) - -/* AC97 */ -#define DOVE_AC97_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xe0000) -#define DOVE_AC97_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xe0000) - -/* Peripheral DMA */ -#define DOVE_PDMA_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xe4000) -#define DOVE_PDMA_VIRT_BASE (DOVE_SB_REGS_VIRT_BASE + 0xe4000) - -#define DOVE_GLOBAL_CONFIG_1 (DOVE_SB_REGS_VIRT_BASE + 0xe802C) -#define DOVE_TWSI_ENABLE_OPTION1 (1 << 7) -#define DOVE_GLOBAL_CONFIG_2 (DOVE_SB_REGS_VIRT_BASE + 0xe8030) -#define DOVE_TWSI_ENABLE_OPTION2 (1 << 20) -#define DOVE_TWSI_ENABLE_OPTION3 (1 << 21) -#define DOVE_TWSI_OPTION3_GPIO (1 << 22) -#define DOVE_SSP_PHYS_BASE (DOVE_SB_REGS_PHYS_BASE + 0xec000) -#define DOVE_SSP_CTRL_STATUS_1 (DOVE_SB_REGS_VIRT_BASE + 0xe8034) -#define DOVE_SSP_ON_AU1 (1 << 0) -#define DOVE_SSP_CLOCK_ENABLE (1 << 1) -#define DOVE_SSP_BPB_CLOCK_SRC_SSP (1 << 11) -/* Memory Controller */ -#define DOVE_MC_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x00000) -#define DOVE_MC_WINS_BASE (DOVE_MC_PHYS_BASE + 0x100) -#define DOVE_MC_WINS_SZ (0x8) -#define DOVE_MC_VIRT_BASE (DOVE_NB_REGS_VIRT_BASE + 0x00000) - -/* LCD Controller */ -#define DOVE_LCD_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x10000) -#define DOVE_LCD1_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x20000) -#define DOVE_LCD2_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x10000) -#define DOVE_LCD_DCON_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x30000) - -/* Graphic Engine */ -#define DOVE_GPU_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x40000) - -/* Video Engine */ -#define DOVE_VPU_PHYS_BASE (DOVE_NB_REGS_PHYS_BASE + 0x400000) - -#endif arch/arm/mach-dove/irq.c deleted +0
-81@@ -1,81 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-dove/irq.c -* -* Dove IRQ handling. -*/ -#include <linux/init.h> -#include <linux/irq.h> -#include <linux/io.h> -#include <asm/exception.h> - -#include <plat/irq.h> -#include <plat/orion-gpio.h> - -#include "pm.h" -#include "bridge-regs.h" -#include "common.h" - -static int __initdata gpio0_irqs[4 ] = { -IRQ_DOVE_GPIO_0_7 , -IRQ_DOVE_GPIO_8_15 , -IRQ_DOVE_GPIO_16_23 , -IRQ_DOVE_GPIO_24_31 , -}; - -static int __initdata gpio1_irqs[4 ] = { -IRQ_DOVE_HIGH_GPIO , -0 , -0 , -0 , -}; - -static int __initdata gpio2_irqs[4 ] = { -0 , -0 , -0 , -0 , -}; - -static void __iomem *dove_irq_base =IRQ_VIRT_BASE ; - -static asmlinkage void -__exception_irq_entry dove_legacy_handle_irq (struct pt_regs *regs) -{ -u32 stat; - - stat =readl_relaxed (dove_irq_base +IRQ_CAUSE_LOW_OFF ); - stat &=readl_relaxed (dove_irq_base +IRQ_MASK_LOW_OFF ); -if (stat) { -unsigned int hwirq =1 +__fls (stat); -handle_IRQ (hwirq, regs); -return ; - } - stat =readl_relaxed (dove_irq_base +IRQ_CAUSE_HIGH_OFF ); - stat &=readl_relaxed (dove_irq_base +IRQ_MASK_HIGH_OFF ); -if (stat) { -unsigned int hwirq =33 +__fls (stat); -handle_IRQ (hwirq, regs); -return ; - } -} - -void __init dove_init_irq (void ) -{ -orion_irq_init (1 ,IRQ_VIRT_BASE +IRQ_MASK_LOW_OFF ); -orion_irq_init (33 ,IRQ_VIRT_BASE +IRQ_MASK_HIGH_OFF ); - -set_handle_irq (dove_legacy_handle_irq); - -/* -* Initialize gpiolib for GPIOs 0-71. -*/ -orion_gpio_init (0 ,32 ,DOVE_GPIO_LO_VIRT_BASE ,0 , -IRQ_DOVE_GPIO_START , gpio0_irqs); - -orion_gpio_init (32 ,32 ,DOVE_GPIO_HI_VIRT_BASE ,0 , -IRQ_DOVE_GPIO_START +32 , gpio1_irqs); - -orion_gpio_init (64 ,8 ,DOVE_GPIO2_VIRT_BASE ,0 , -IRQ_DOVE_GPIO_START +64 , gpio2_irqs); -}arch/arm/mach-dove/irqs.h deleted +0
-89@@ -1,89 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* IRQ definitions for Marvell Dove 88AP510 SoC */ - -#ifndef __ASM_ARCH_IRQS_H -#define __ASM_ARCH_IRQS_H - -/* -* Dove Low Interrupt Controller -*/ -#define IRQ_DOVE_BRIDGE (1 + 0) -#define IRQ_DOVE_H2C (1 + 1) -#define IRQ_DOVE_C2H (1 + 2) -#define IRQ_DOVE_NAND (1 + 3) -#define IRQ_DOVE_PDMA (1 + 4) -#define IRQ_DOVE_SPI1 (1 + 5) -#define IRQ_DOVE_SPI0 (1 + 6) -#define IRQ_DOVE_UART_0 (1 + 7) -#define IRQ_DOVE_UART_1 (1 + 8) -#define IRQ_DOVE_UART_2 (1 + 9) -#define IRQ_DOVE_UART_3 (1 + 10) -#define IRQ_DOVE_I2C (1 + 11) -#define IRQ_DOVE_GPIO_0_7 (1 + 12) -#define IRQ_DOVE_GPIO_8_15 (1 + 13) -#define IRQ_DOVE_GPIO_16_23 (1 + 14) -#define IRQ_DOVE_PCIE0_ERR (1 + 15) -#define IRQ_DOVE_PCIE0 (1 + 16) -#define IRQ_DOVE_PCIE1_ERR (1 + 17) -#define IRQ_DOVE_PCIE1 (1 + 18) -#define IRQ_DOVE_I2S0 (1 + 19) -#define IRQ_DOVE_I2S0_ERR (1 + 20) -#define IRQ_DOVE_I2S1 (1 + 21) -#define IRQ_DOVE_I2S1_ERR (1 + 22) -#define IRQ_DOVE_USB_ERR (1 + 23) -#define IRQ_DOVE_USB0 (1 + 24) -#define IRQ_DOVE_USB1 (1 + 25) -#define IRQ_DOVE_GE00_RX (1 + 26) -#define IRQ_DOVE_GE00_TX (1 + 27) -#define IRQ_DOVE_GE00_MISC (1 + 28) -#define IRQ_DOVE_GE00_SUM (1 + 29) -#define IRQ_DOVE_GE00_ERR (1 + 30) -#define IRQ_DOVE_CRYPTO (1 + 31) - -/* -* Dove High Interrupt Controller -*/ -#define IRQ_DOVE_AC97 (1 + 32) -#define IRQ_DOVE_PMU (1 + 33) -#define IRQ_DOVE_CAM (1 + 34) -#define IRQ_DOVE_SDIO0 (1 + 35) -#define IRQ_DOVE_SDIO1 (1 + 36) -#define IRQ_DOVE_SDIO0_WAKEUP (1 + 37) -#define IRQ_DOVE_SDIO1_WAKEUP (1 + 38) -#define IRQ_DOVE_XOR_00 (1 + 39) -#define IRQ_DOVE_XOR_01 (1 + 40) -#define IRQ_DOVE_XOR0_ERR (1 + 41) -#define IRQ_DOVE_XOR_10 (1 + 42) -#define IRQ_DOVE_XOR_11 (1 + 43) -#define IRQ_DOVE_XOR1_ERR (1 + 44) -#define IRQ_DOVE_LCD_DCON (1 + 45) -#define IRQ_DOVE_LCD1 (1 + 46) -#define IRQ_DOVE_LCD0 (1 + 47) -#define IRQ_DOVE_GPU (1 + 48) -#define IRQ_DOVE_PERFORM_MNTR (1 + 49) -#define IRQ_DOVE_VPRO_DMA1 (1 + 51) -#define IRQ_DOVE_SSP_TIMER (1 + 54) -#define IRQ_DOVE_SSP (1 + 55) -#define IRQ_DOVE_MC_L2_ERR (1 + 56) -#define IRQ_DOVE_CRYPTO_ERR (1 + 59) -#define IRQ_DOVE_GPIO_24_31 (1 + 60) -#define IRQ_DOVE_HIGH_GPIO (1 + 61) -#define IRQ_DOVE_SATA (1 + 62) - -/* -* DOVE General Purpose Pins -*/ -#define IRQ_DOVE_GPIO_START 65 -#define NR_GPIO_IRQS 64 - -/* -* PMU interrupts -*/ -#define IRQ_DOVE_PMU_START (IRQ_DOVE_GPIO_START + NR_GPIO_IRQS) -#define NR_PMU_IRQS 7 -#define IRQ_DOVE_RTC (IRQ_DOVE_PMU_START + 5) - -#define DOVE_NR_IRQS (IRQ_DOVE_PMU_START + NR_PMU_IRQS) - - -#endif arch/arm/mach-dove/mpp.c deleted +0
-159@@ -1,159 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-dove/mpp.c -* -* MPP functions for Marvell Dove SoCs -*/ - -#include <linux/kernel.h> -#include <linux/gpio/consumer.h> -#include <linux/io.h> -#include <plat/mpp.h> -#include <plat/orion-gpio.h> -#include "dove.h" -#include "mpp.h" - -struct dove_mpp_grp { -int start; -int end; -}; - -/* Map a group to a range of GPIO pins in that group */ -static const struct dove_mpp_grp dove_mpp_grp[] = { - [MPP_24_39 ] = { - .start =24 , - .end =39 , - }, - [MPP_40_45 ] = { - .start =40 , - .end =45 , - }, - [MPP_46_51 ] = { - .start =46 , - .end =51 , - }, - [MPP_58_61 ] = { - .start =58 , - .end =61 , - }, - [MPP_62_63 ] = { - .start =62 , - .end =63 , - }, -}; - -/* Enable gpio for a range of pins. mode should be a combination of -GPIO_OUTPUT_OK | GPIO_INPUT_OK */ -static void __init dove_mpp_gpio_mode (int start,int end,int gpio_mode) -{ -int i; - -for (i = start; i <= end; i++) -orion_gpio_set_valid (i, gpio_mode); -} - -/* Dump all the extra MPP registers. The platform code will dump the -registers for pins 0-23. */ -static void __init dove_mpp_dump_regs (void ) -{ -pr_debug ("PMU_CTRL4_CTRL: %08x\n" , -readl (DOVE_MPP_CTRL4_VIRT_BASE )); - -pr_debug ("PMU_MPP_GENERAL_CTRL: %08x\n" , -readl (DOVE_PMU_MPP_GENERAL_CTRL )); - -pr_debug ("MPP_GENERAL: %08x\n" ,readl (DOVE_MPP_GENERAL_VIRT_BASE )); -} - -static void __init dove_mpp_cfg_nfc (int sel) -{ -u32 mpp_gen_cfg =readl (DOVE_MPP_GENERAL_VIRT_BASE ); - - mpp_gen_cfg &= ~0x1 ; - mpp_gen_cfg |= sel; -writel (mpp_gen_cfg,DOVE_MPP_GENERAL_VIRT_BASE ); - -dove_mpp_gpio_mode (64 ,71 ,GPIO_OUTPUT_OK ); -} - -static void __init dove_mpp_cfg_au1 (int sel) -{ -u32 mpp_ctrl4 =readl (DOVE_MPP_CTRL4_VIRT_BASE ); -u32 ssp_ctrl1 =readl (DOVE_SSP_CTRL_STATUS_1 ); -u32 mpp_gen_ctrl =readl (DOVE_MPP_GENERAL_VIRT_BASE ); -u32 global_cfg_2 =readl (DOVE_GLOBAL_CONFIG_2 ); - - mpp_ctrl4 &= ~(DOVE_AU1_GPIO_SEL ); - ssp_ctrl1 &= ~(DOVE_SSP_ON_AU1 ); - mpp_gen_ctrl &= ~(DOVE_AU1_SPDIFO_GPIO_EN ); - global_cfg_2 &= ~(DOVE_TWSI_OPTION3_GPIO ); - -if (!sel || sel ==0x2 ) -dove_mpp_gpio_mode (52 ,57 ,0 ); -else -dove_mpp_gpio_mode (52 ,57 ,GPIO_OUTPUT_OK |GPIO_INPUT_OK ); - -if (sel &0x1 ) { - global_cfg_2 |=DOVE_TWSI_OPTION3_GPIO ; -dove_mpp_gpio_mode (56 ,57 ,0 ); - } -if (sel &0x2 ) { - mpp_gen_ctrl |=DOVE_AU1_SPDIFO_GPIO_EN ; -dove_mpp_gpio_mode (57 ,57 ,GPIO_OUTPUT_OK |GPIO_INPUT_OK ); - } -if (sel &0x4 ) { - ssp_ctrl1 |=DOVE_SSP_ON_AU1 ; -dove_mpp_gpio_mode (52 ,55 ,0 ); - } -if (sel &0x8 ) - mpp_ctrl4 |=DOVE_AU1_GPIO_SEL ; - -writel (mpp_ctrl4,DOVE_MPP_CTRL4_VIRT_BASE ); -writel (ssp_ctrl1,DOVE_SSP_CTRL_STATUS_1 ); -writel (mpp_gen_ctrl,DOVE_MPP_GENERAL_VIRT_BASE ); -writel (global_cfg_2,DOVE_GLOBAL_CONFIG_2 ); -} - -/* Configure the group registers, enabling GPIO if sel indicates the -pin is to be used for GPIO */ -static void __init dove_mpp_conf_grp (unsigned int *mpp_grp_list) -{ -u32 mpp_ctrl4 =readl (DOVE_MPP_CTRL4_VIRT_BASE ); -int gpio_mode; - -for ( ; *mpp_grp_list; mpp_grp_list++) { -unsigned int num =MPP_NUM (*mpp_grp_list); -unsigned int sel =MPP_SEL (*mpp_grp_list); - -if (num >MPP_GRP_MAX ) { -pr_err ("dove: invalid MPP GRP number (%u)\n" , num); -continue ; - } - - mpp_ctrl4 &= ~(0x1 << num); - mpp_ctrl4 |= sel << num; - - gpio_mode = sel ?GPIO_OUTPUT_OK |GPIO_INPUT_OK :0 ; -dove_mpp_gpio_mode (dove_mpp_grp[num].start, - dove_mpp_grp[num].end, gpio_mode); - } -writel (mpp_ctrl4,DOVE_MPP_CTRL4_VIRT_BASE ); -} - -/* Configure the various MPP pins on Dove */ -void __init dove_mpp_conf (unsigned int *mpp_list, -unsigned int *mpp_grp_list, -unsigned int grp_au1_52_57, -unsigned int grp_nfc_64_71) -{ -dove_mpp_dump_regs (); - -/* Use platform code for pins 0-23 */ -orion_mpp_conf (mpp_list,0 ,MPP_MAX ,DOVE_MPP_VIRT_BASE ); - -dove_mpp_conf_grp (mpp_grp_list); -dove_mpp_cfg_au1 (grp_au1_52_57); -dove_mpp_cfg_nfc (grp_nfc_64_71); - -dove_mpp_dump_regs (); -}arch/arm/mach-dove/mpp.h deleted +0
-197@@ -1,197 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __ARCH_DOVE_MPP_CODED_H -#define __ARCH_DOVE_MPP_CODED_H - -#define MPP (_num, _sel, _in, _out) ( \ - /* MPP number */ ((_num) & 0xff) | \ - /* MPP select value */ (((_sel) & 0xf) << 8) | \ - /* may be input signal */ ((!!(_in)) << 12) | \ - /* may be output signal */ ((!!(_out)) << 13)) - -#define MPP0_GPIO0 MPP(0, 0x0, 1, 1) -#define MPP0_UA2_RTSn MPP(0, 0x2, 0, 0) -#define MPP0_SDIO0_CD MPP(0, 0x3, 0, 0) -#define MPP0_LCD0_PWM MPP(0, 0xf, 0, 0) - -#define MPP1_GPIO1 MPP(1, 0x0, 1, 1) -#define MPP1_UA2_CTSn MPP(1, 0x2, 0, 0) -#define MPP1_SDIO0_WP MPP(1, 0x3, 0, 0) -#define MPP1_LCD1_PWM MPP(1, 0xf, 0, 0) - -#define MPP2_GPIO2 MPP(2, 0x0, 1, 1) -#define MPP2_SATA_PRESENT MPP(2, 0x1, 0, 0) -#define MPP2_UA2_TXD MPP(2, 0x2, 0, 0) -#define MPP2_SDIO0_BUS_POWER MPP(2, 0x3, 0, 0) -#define MPP2_UA_RTSn1 MPP(2, 0x4, 0, 0) - -#define MPP3_GPIO3 MPP(3, 0x0, 1, 1) -#define MPP3_SATA_ACT MPP(3, 0x1, 0, 0) -#define MPP3_UA2_RXD MPP(3, 0x2, 0, 0) -#define MPP3_SDIO0_LED_CTRL MPP(3, 0x3, 0, 0) -#define MPP3_UA_CTSn1 MPP(3, 0x4, 0, 0) -#define MPP3_SPI_LCD_CS1 MPP(3, 0xf, 0, 0) - -#define MPP4_GPIO4 MPP(4, 0x0, 1, 1) -#define MPP4_UA3_RTSn MPP(4, 0x2, 0, 0) -#define MPP4_SDIO1_CD MPP(4, 0x3, 0, 0) -#define MPP4_SPI_1_MISO MPP(4, 0x4, 0, 0) - -#define MPP5_GPIO5 MPP(5, 0x0, 1, 1) -#define MPP5_UA3_CTSn MPP(5, 0x2, 0, 0) -#define MPP5_SDIO1_WP MPP(5, 0x3, 0, 0) -#define MPP5_SPI_1_CS MPP(5, 0x4, 0, 0) - -#define MPP6_GPIO6 MPP(6, 0x0, 1, 1) -#define MPP6_UA3_TXD MPP(6, 0x2, 0, 0) -#define MPP6_SDIO1_BUS_POWER MPP(6, 0x3, 0, 0) -#define MPP6_SPI_1_MOSI MPP(6, 0x4, 0, 0) - -#define MPP7_GPIO7 MPP(7, 0x0, 1, 1) -#define MPP7_UA3_RXD MPP(7, 0x2, 0, 0) -#define MPP7_SDIO1_LED_CTRL MPP(7, 0x3, 0, 0) -#define MPP7_SPI_1_SCK MPP(7, 0x4, 0, 0) - -#define MPP8_GPIO8 MPP(8, 0x0, 1, 1) -#define MPP8_WD_RST_OUT MPP(8, 0x1, 0, 0) - -#define MPP9_GPIO9 MPP(9, 0x0, 1, 1) -#define MPP9_PEX1_CLKREQn MPP(9, 0x5, 0, 0) - -#define MPP10_GPIO10 MPP(10, 0x0, 1, 1) -#define MPP10_SSP_SCLK MPP(10, 0x5, 0, 0) - -#define MPP11_GPIO11 MPP(11, 0x0, 1, 1) -#define MPP11_SATA_PRESENT MPP(11, 0x1, 0, 0) -#define MPP11_SATA_ACT MPP(11, 0x2, 0, 0) -#define MPP11_SDIO0_LED_CTRL MPP(11, 0x3, 0, 0) -#define MPP11_SDIO1_LED_CTRL MPP(11, 0x4, 0, 0) -#define MPP11_PEX0_CLKREQn MPP(11, 0x5, 0, 0) - -#define MPP12_GPIO12 MPP(12, 0x0, 1, 1) -#define MPP12_SATA_ACT MPP(12, 0x1, 0, 0) -#define MPP12_UA2_RTSn MPP(12, 0x2, 0, 0) -#define MPP12_AD0_I2S_EXT_MCLK MPP(12, 0x3, 0, 0) -#define MPP12_SDIO1_CD MPP(12, 0x4, 0, 0) - -#define MPP13_GPIO13 MPP(13, 0x0, 1, 1) -#define MPP13_UA2_CTSn MPP(13, 0x2, 0, 0) -#define MPP13_AD1_I2S_EXT_MCLK MPP(13, 0x3, 0, 0) -#define MPP13_SDIO1WP MPP(13, 0x4, 0, 0) -#define MPP13_SSP_EXTCLK MPP(13, 0x5, 0, 0) - -#define MPP14_GPIO14 MPP(14, 0x0, 1, 1) -#define MPP14_UA2_TXD MPP(14, 0x2, 0, 0) -#define MPP14_SDIO1_BUS_POWER MPP(14, 0x4, 0, 0) -#define MPP14_SSP_RXD MPP(14, 0x5, 0, 0) - -#define MPP15_GPIO15 MPP(15, 0x0, 1, 1) -#define MPP15_UA2_RXD MPP(15, 0x2, 0, 0) -#define MPP15_SDIO1_LED_CTRL MPP(15, 0x4, 0, 0) -#define MPP15_SSP_SFRM MPP(15, 0x5, 0, 0) - -#define MPP16_GPIO16 MPP(16, 0x0, 1, 1) -#define MPP16_UA3_RTSn MPP(16, 0x2, 0, 0) -#define MPP16_SDIO0_CD MPP(16, 0x3, 0, 0) -#define MPP16_SPI_LCD_CS1 MPP(16, 0x4, 0, 0) -#define MPP16_AC97_SDATA_IN1 MPP(16, 0x5, 0, 0) - -#define MPP17_GPIO17 MPP(17, 0x0, 1, 1) -#define MPP17_AC97_SYSCLK_OUT MPP(17, 0x1, 0, 0) -#define MPP17_UA3_CTSn MPP(17, 0x2, 0, 0) -#define MPP17_SDIO0_WP MPP(17, 0x3, 0, 0) -#define MPP17_TW_SDA2 MPP(17, 0x4, 0, 0) -#define MPP17_AC97_SDATA_IN2 MPP(17, 0x5, 0, 0) - -#define MPP18_GPIO18 MPP(18, 0x0, 1, 1) -#define MPP18_UA3_TXD MPP(18, 0x2, 0, 0) -#define MPP18_SDIO0_BUS_POWER MPP(18, 0x3, 0, 0) -#define MPP18_LCD0_PWM MPP(18, 0x4, 0, 0) -#define MPP18_AC_SDATA_IN3 MPP(18, 0x5, 0, 0) - -#define MPP19_GPIO19 MPP(19, 0x0, 1, 1) -#define MPP19_UA3_RXD MPP(19, 0x2, 0, 0) -#define MPP19_SDIO0_LED_CTRL MPP(19, 0x3, 0, 0) -#define MPP19_TW_SCK2 MPP(19, 0x4, 0, 0) - -#define MPP20_GPIO20 MPP(20, 0x0, 1, 1) -#define MPP20_AC97_SYSCLK_OUT MPP(20, 0x1, 0, 0) -#define MPP20_SPI_LCD_MISO MPP(20, 0x2, 0, 0) -#define MPP20_SDIO1_CD MPP(20, 0x3, 0, 0) -#define MPP20_SDIO0_CD MPP(20, 0x5, 0, 0) -#define MPP20_SPI_1_MISO MPP(20, 0x6, 0, 0) - -#define MPP21_GPIO21 MPP(21, 0x0, 1, 1) -#define MPP21_UA1_RTSn MPP(21, 0x1, 0, 0) -#define MPP21_SPI_LCD_CS0 MPP(21, 0x2, 0, 0) -#define MPP21_SDIO1_WP MPP(21, 0x3, 0, 0) -#define MPP21_SSP_SFRM MPP(21, 0x4, 0, 0) -#define MPP21_SDIO0_WP MPP(21, 0x5, 0, 0) -#define MPP21_SPI_1_CS MPP(21, 0x6, 0, 0) - -#define MPP22_GPIO22 MPP(22, 0x0, 1, 1) -#define MPP22_UA1_CTSn MPP(22, 0x1, 0, 0) -#define MPP22_SPI_LCD_MOSI MPP(22, 0x2, 0, 0) -#define MPP22_SDIO1_BUS_POWER MPP(22, 0x3, 0, 0) -#define MPP22_SSP_TXD MPP(22, 0x4, 0, 0) -#define MPP22_SDIO0_BUS_POWER MPP(22, 0x5, 0, 0) -#define MPP22_SPI_1_MOSI MPP(22, 0x6, 0, 0) - -#define MPP23_GPIO23 MPP(23, 0x0, 1, 1) -#define MPP23_SPI_LCD_SCK MPP(23, 0x2, 0, 0) -#define MPP23_SDIO1_LED_CTRL MPP(23, 0x3, 0, 0) -#define MPP23_SSP_SCLK MPP(23, 0x4, 0, 0) -#define MPP23_SDIO0_LED_CTRL MPP(23, 0x5, 0, 0) -#define MPP23_SPI_1_SCK MPP(23, 0x6, 0, 0) - -#define MPP_MAX 23 - -#define MPP_GRP (_grp, _mode) MPP((_grp), (_mode), 0, 0) - -/* for MPP groups _num is a group index */ -enum dove_mpp_grp_idx { -MPP_24_39 =2 , -MPP_40_45 =0 , -MPP_46_51 =1 , -MPP_58_61 =5 , -MPP_62_63 =4 , -MPP_GRP_MAX =5 , -}; - -#define MPP_GRP_24_39_GPIO MPP_GRP(MPP_24_39, 0x1) -#define MPP_GRP_24_39_CAM MPP_GRP(MPP_24_39, 0x0) - -#define MPP_GRP_40_45_GPIO MPP_GRP(MPP_40_45, 0x1) -#define MPP_GRP_40_45_SD0 MPP_GRP(MPP_40_45, 0x0) - -#define MPP_GRP_46_51_GPIO MPP_GRP(MPP_46_51, 0x1) -#define MPP_GRP_46_51_SD1 MPP_GRP(MPP_46_51, 0x0) - -#define MPP_GRP_58_61_GPIO MPP_GRP(MPP_58_61, 0x1) -#define MPP_GRP_58_61_SPI MPP_GRP(MPP_58_61, 0x0) - -#define MPP_GRP_62_63_GPIO MPP_GRP(MPP_62_63, 0x1) -#define MPP_GRP_62_63_UA1 MPP_GRP(MPP_62_63, 0x0) - -/* The MPP[64:71] control differs from other groups */ -#define MPP_GRP_NFC_64_71_GPO 0x1 -#define MPP_GRP_NFC_64_71_NFC 0x0 - -/* -* The MPP[52:57] functionality is encoded by 4 bits in different -* registers. The _num field in this case encodes those bits in -* correspodence with Table 135 of 88AP510 Functional specification -*/ -#define MPP_GRP_AU1_52_57_AU1 0x0 -#define MPP_GRP_AU1_52_57_AU1_GPIO57 0x2 -#define MPP_GRP_AU1_52_57_GPIO 0xa -#define MPP_GRP_AU1_52_57_TW_GPIO 0xb -#define MPP_GRP_AU1_52_57_AU1_SSP 0xc -#define MPP_GRP_AU1_52_57_SSP_GPIO 0xe -#define MPP_GRP_AU1_52_57_SSP_TW 0xf - -void dove_mpp_conf (unsigned int *mpp_list, -unsigned int *mpp_grp_list, -unsigned int grp_au1_52_57, -unsigned int grp_nfc_64_71); - -#endif /* __ARCH_DOVE_MPP_CODED_H */ arch/arm/mach-dove/pcie.c deleted +0
-226@@ -1,226 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-dove/pcie.c -* -* PCIe functions for Marvell Dove 88AP510 SoC -*/ - -#include <linux/kernel.h> -#include <linux/pci.h> -#include <linux/clk.h> -#include <video/vga.h> -#include <asm/mach/pci.h> -#include <asm/mach/arch.h> -#include <asm/setup.h> -#include <asm/delay.h> -#include <plat/pcie.h> -#include <plat/addr-map.h> -#include "irqs.h" -#include "bridge-regs.h" -#include "common.h" - -struct pcie_port { -u8 index; -u8 root_bus_nr; -void __iomem *base; -spinlock_t conf_lock; -char mem_space_name[16 ]; -struct resource res; -}; - -static struct pcie_port pcie_port[2 ]; -static int num_pcie_ports; - - -static int __init dove_pcie_setup (int nr,struct pci_sys_data *sys) -{ -struct pcie_port *pp; -struct resource realio; - -if (nr >= num_pcie_ports) -return 0 ; - - pp = &pcie_port[nr]; - sys->private_data = pp; - pp->root_bus_nr = sys->busnr; - -/* -* Generic PCIe unit setup. -*/ -orion_pcie_set_local_bus_nr (pp->base, sys->busnr); - -orion_pcie_setup (pp->base); - - realio.start = sys->busnr *SZ_64K ; - realio.end = realio.start +SZ_64K -1 ; -pci_remap_iospace (&realio, pp->index ==0 ?DOVE_PCIE0_IO_PHYS_BASE : -DOVE_PCIE1_IO_PHYS_BASE ); - -/* -* IORESOURCE_MEM -*/ -snprintf (pp->mem_space_name,sizeof (pp->mem_space_name), -"PCIe %d MEM" , pp->index); - pp->mem_space_name[sizeof (pp->mem_space_name) -1 ] =0 ; - pp->res.name = pp->mem_space_name; -if (pp->index ==0 ) { - pp->res.start =DOVE_PCIE0_MEM_PHYS_BASE ; - pp->res.end = pp->res.start +DOVE_PCIE0_MEM_SIZE -1 ; - }else { - pp->res.start =DOVE_PCIE1_MEM_PHYS_BASE ; - pp->res.end = pp->res.start +DOVE_PCIE1_MEM_SIZE -1 ; - } - pp->res.flags =IORESOURCE_MEM ; -if (request_resource (&iomem_resource, &pp->res)) -panic ("Request PCIe Memory resource failed\n" ); -pci_add_resource_offset (&sys->resources, &pp->res, sys->mem_offset); - -return 1 ; -} - -static int pcie_valid_config (struct pcie_port *pp,int bus,int dev) -{ -/* -* Don't go out when trying to access nonexisting devices -* on the local bus. -*/ -if (bus == pp->root_bus_nr && dev >1 ) -return 0 ; - -return 1 ; -} - -static int pcie_rd_conf (struct pci_bus *bus,u32 devfn,int where, -int size,u32 *val) -{ -struct pci_sys_data *sys = bus->sysdata; -struct pcie_port *pp = sys->private_data; -unsigned long flags; -int ret; - -if (pcie_valid_config (pp, bus->number,PCI_SLOT (devfn)) ==0 ) { - *val =0xffffffff ; -return PCIBIOS_DEVICE_NOT_FOUND ; - } - -spin_lock_irqsave (&pp->conf_lock, flags); - ret =orion_pcie_rd_conf (pp->base, bus, devfn, where, size, val); -spin_unlock_irqrestore (&pp->conf_lock, flags); - -return ret; -} - -static int pcie_wr_conf (struct pci_bus *bus,u32 devfn, -int where,int size,u32 val) -{ -struct pci_sys_data *sys = bus->sysdata; -struct pcie_port *pp = sys->private_data; -unsigned long flags; -int ret; - -if (pcie_valid_config (pp, bus->number,PCI_SLOT (devfn)) ==0 ) -return PCIBIOS_DEVICE_NOT_FOUND ; - -spin_lock_irqsave (&pp->conf_lock, flags); - ret =orion_pcie_wr_conf (pp->base, bus, devfn, where, size, val); -spin_unlock_irqrestore (&pp->conf_lock, flags); - -return ret; -} - -static struct pci_ops pcie_ops = { - .read = pcie_rd_conf, - .write = pcie_wr_conf, -}; - -/* -* The root complex has a hardwired class of PCI_CLASS_MEMORY_OTHER, when it -* is operating as a root complex this needs to be switched to -* PCI_CLASS_BRIDGE_HOST or Linux will errantly try to process the BAR's on -* the device. Decoding setup is handled by the orion code. -*/ -static void rc_pci_fixup (struct pci_dev *dev) -{ -if (dev->bus->parent ==NULL && dev->devfn ==0 ) { -struct resource *r; - - dev->class &=0xff ; - dev->class |=PCI_CLASS_BRIDGE_HOST <<8 ; -pci_dev_for_each_resource (dev, r) { - r->start =0 ; - r->end =0 ; - r->flags =0 ; - } - } -} -DECLARE_PCI_FIXUP_HEADER (PCI_VENDOR_ID_MARVELL ,PCI_ANY_ID , rc_pci_fixup); - -static int __init -dove_pcie_scan_bus (int nr,struct pci_host_bridge *bridge) -{ -struct pci_sys_data *sys =pci_host_bridge_priv (bridge); - -if (nr >= num_pcie_ports) { -BUG (); -return -EINVAL ; - } - -list_splice_init (&sys->resources, &bridge->windows); - bridge->dev.parent =NULL ; - bridge->sysdata = sys; - bridge->busnr = sys->busnr; - bridge->ops = &pcie_ops; - -return pci_scan_root_bus_bridge (bridge); -} - -static int __init dove_pcie_map_irq (const struct pci_dev *dev,u8 slot,u8 pin) -{ -struct pci_sys_data *sys = dev->sysdata; -struct pcie_port *pp = sys->private_data; - -return pp->index ?IRQ_DOVE_PCIE1 :IRQ_DOVE_PCIE0 ; -} - -static struct hw_pci dove_pci__initdata = { - .nr_controllers =2 , - .setup = dove_pcie_setup, - .scan = dove_pcie_scan_bus, - .map_irq = dove_pcie_map_irq, -}; - -static void __init add_pcie_port (int index,void __iomem *base) -{ -printk (KERN_INFO "Dove PCIe port %d: " , index); - -if (orion_pcie_link_up (base)) { -struct pcie_port *pp = &pcie_port[num_pcie_ports++]; -struct clk *clk =clk_get_sys ("pcie" , (index ?"1" :"0" )); - -if (!IS_ERR (clk)) -clk_prepare_enable (clk); - -printk (KERN_INFO "link up\n" ); - - pp->index = index; - pp->root_bus_nr =-1 ; - pp->base = base; -spin_lock_init (&pp->conf_lock); -memset (&pp->res,0 ,sizeof (pp->res)); - }else { -printk (KERN_INFO "link down, ignoring\n" ); - } -} - -void __init dove_pcie_init (int init_port0,int init_port1) -{ - vga_base =DOVE_PCIE0_MEM_PHYS_BASE ; - -if (init_port0) -add_pcie_port (0 ,DOVE_PCIE0_VIRT_BASE ); - -if (init_port1) -add_pcie_port (1 ,DOVE_PCIE1_VIRT_BASE ); - -pci_common_init (&dove_pci); -}arch/arm/mach-dove/pm.h deleted +0
-58@@ -1,58 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_ARCH_PM_H -#define __ASM_ARCH_PM_H - -#include <asm/errno.h> -#include "irqs.h" - -#define CLOCK_GATING_CONTROL (DOVE_PMU_VIRT_BASE + 0x38) -#define CLOCK_GATING_BIT_USB0 0 -#define CLOCK_GATING_BIT_USB1 1 -#define CLOCK_GATING_BIT_GBE 2 -#define CLOCK_GATING_BIT_SATA 3 -#define CLOCK_GATING_BIT_PCIE0 4 -#define CLOCK_GATING_BIT_PCIE1 5 -#define CLOCK_GATING_BIT_SDIO0 8 -#define CLOCK_GATING_BIT_SDIO1 9 -#define CLOCK_GATING_BIT_NAND 10 -#define CLOCK_GATING_BIT_CAMERA 11 -#define CLOCK_GATING_BIT_I2S0 12 -#define CLOCK_GATING_BIT_I2S1 13 -#define CLOCK_GATING_BIT_CRYPTO 15 -#define CLOCK_GATING_BIT_AC97 21 -#define CLOCK_GATING_BIT_PDMA 22 -#define CLOCK_GATING_BIT_XOR0 23 -#define CLOCK_GATING_BIT_XOR1 24 -#define CLOCK_GATING_BIT_GIGA_PHY 30 -#define CLOCK_GATING_USB0_MASK (1 << CLOCK_GATING_BIT_USB0) -#define CLOCK_GATING_USB1_MASK (1 << CLOCK_GATING_BIT_USB1) -#define CLOCK_GATING_GBE_MASK (1 << CLOCK_GATING_BIT_GBE) -#define CLOCK_GATING_SATA_MASK (1 << CLOCK_GATING_BIT_SATA) -#define CLOCK_GATING_PCIE0_MASK (1 << CLOCK_GATING_BIT_PCIE0) -#define CLOCK_GATING_PCIE1_MASK (1 << CLOCK_GATING_BIT_PCIE1) -#define CLOCK_GATING_SDIO0_MASK (1 << CLOCK_GATING_BIT_SDIO0) -#define CLOCK_GATING_SDIO1_MASK (1 << CLOCK_GATING_BIT_SDIO1) -#define CLOCK_GATING_NAND_MASK (1 << CLOCK_GATING_BIT_NAND) -#define CLOCK_GATING_CAMERA_MASK (1 << CLOCK_GATING_BIT_CAMERA) -#define CLOCK_GATING_I2S0_MASK (1 << CLOCK_GATING_BIT_I2S0) -#define CLOCK_GATING_I2S1_MASK (1 << CLOCK_GATING_BIT_I2S1) -#define CLOCK_GATING_CRYPTO_MASK (1 << CLOCK_GATING_BIT_CRYPTO) -#define CLOCK_GATING_AC97_MASK (1 << CLOCK_GATING_BIT_AC97) -#define CLOCK_GATING_PDMA_MASK (1 << CLOCK_GATING_BIT_PDMA) -#define CLOCK_GATING_XOR0_MASK (1 << CLOCK_GATING_BIT_XOR0) -#define CLOCK_GATING_XOR1_MASK (1 << CLOCK_GATING_BIT_XOR1) -#define CLOCK_GATING_GIGA_PHY_MASK (1 << CLOCK_GATING_BIT_GIGA_PHY) - -#define PMU_INTERRUPT_CAUSE (DOVE_PMU_VIRT_BASE + 0x50) - -#define PMU_SW_RST_VIDEO_MASK BIT(16) -#define PMU_SW_RST_GPU_MASK BIT(18) - -#define PMU_PWR_GPU_PWR_DWN_MASK BIT(2) -#define PMU_PWR_VPU_PWR_DWN_MASK BIT(3) - -#define PMU_ISO_VIDEO_MASK BIT(0) -#define PMU_ISO_GPU_MASK BIT(1) - -#endif arch/arm/mach-mv78xx0/Kconfig deleted +0
-27@@ -1,27 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0-only -menuconfig ARCH_MV78XX0 - bool "Marvell MV78xx0 (DEPRECATED)" - depends on ARCH_MULTI_V5 - depends on CPU_LITTLE_ENDIAN - depends on ATAGS - select CPU_FEROCEON - select GPIOLIB - select GPIOLIB_LEGACY - select MVEBU_MBUS - select FORCE_PCI - select PLAT_ORION_LEGACY - help - Support for the following Marvell MV78xx0 series SoCs: - MV781x0, MV782x0. - - This platform is scheduled for removal in early 2027. - -if ARCH_MV78XX0 - -config MACH_TERASTATION_WXL - bool "Buffalo WLX (Terastation Duo) NAS" - help - Say 'Y' here if you want your kernel to support the - Buffalo WXL Nas. - -endifarch/arm/mach-mv78xx0/Makefile deleted +0
-5@@ -1,5 +0,0 @@ -# SPDX-License-Identifier: GPL-2.0 -ccflags-y := -I$(srctree)/arch/arm/plat-orion/include - -obj-y += common.o mpp.o irq.o pcie.o -obj-$(CONFIG_MACH_TERASTATION_WXL) += buffalo-wxl-setup.oarch/arm/mach-mv78xx0/bridge-regs.h deleted +0
-31@@ -1,31 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ - -#ifndef __ASM_ARCH_BRIDGE_REGS_H -#define __ASM_ARCH_BRIDGE_REGS_H - -#include "mv78xx0.h" - -#define CPU_CONTROL (BRIDGE_VIRT_BASE + 0x0104) -#define L2_WRITETHROUGH 0x00020000 - -#define RSTOUTn_MASK (BRIDGE_VIRT_BASE + 0x0108) -#define RSTOUTn_MASK_PHYS (BRIDGE_PHYS_BASE + 0x0108) -#define SOFT_RESET_OUT_EN 0x00000004 - -#define SYSTEM_SOFT_RESET (BRIDGE_VIRT_BASE + 0x010c) -#define SOFT_RESET 0x00000001 - -#define BRIDGE_INT_TIMER1_CLR (~0x0004) - -#define IRQ_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0200) -#define IRQ_CAUSE_ERR_OFF 0x0000 -#define IRQ_CAUSE_LOW_OFF 0x0004 -#define IRQ_CAUSE_HIGH_OFF 0x0008 -#define IRQ_MASK_ERR_OFF 0x000c -#define IRQ_MASK_LOW_OFF 0x0010 -#define IRQ_MASK_HIGH_OFF 0x0014 - -#define TIMER_VIRT_BASE (BRIDGE_VIRT_BASE + 0x0300) -#define TIMER_PHYS_BASE (BRIDGE_PHYS_BASE + 0x0300) - -#endif arch/arm/mach-mv78xx0/buffalo-wxl-setup.c deleted +0
-183@@ -1,183 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-mv78xx0/buffalo-wxl-setup.c -* -* Buffalo WXL (Terastation Duo) Setup routines -* -* sebastien requiem <[email protected]> -*/ - -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/platform_device.h> -#include <linux/ata_platform.h> -#include <linux/mv643xx_eth.h> -#include <linux/ethtool.h> -#include <linux/i2c.h> -#include <linux/gpio/legacy.h> -#include <linux/gpio_keys.h> -#include <linux/input.h> -#include <asm/mach-types.h> -#include <asm/mach/arch.h> -#include "mv78xx0.h" -#include "common.h" -#include "mpp.h" - - -#define TSWXL_AUTO_SWITCH 15 -#define TSWXL_USB_POWER1 30 -#define TSWXL_USB_POWER2 31 - - -/* This arch has 2 Giga Ethernet */ - -static struct mv643xx_eth_platform_data db78x00_ge00_data = { - .phy_addr =MV643XX_ETH_PHY_ADDR (0 ), -}; - -static struct mv643xx_eth_platform_data db78x00_ge01_data = { - .phy_addr =MV643XX_ETH_PHY_ADDR (8 ), -}; - - -/* 2 SATA controller supporting HotPlug */ - -static struct mv_sata_platform_data db78x00_sata_data = { - .n_ports =2 , -}; - -static struct i2c_board_info __initdata db78x00_i2c_rtc = { -I2C_BOARD_INFO ("rs5c372a" ,0x32 ), -}; - - -static unsigned int wxl_mpp_config[]__initdata = { -MPP0_GE1_TXCLK , -MPP1_GE1_TXCTL , -MPP2_GE1_RXCTL , -MPP3_GE1_RXCLK , -MPP4_GE1_TXD0 , -MPP5_GE1_TXD1 , -MPP6_GE1_TXD2 , -MPP7_GE1_TXD3 , -MPP8_GE1_RXD0 , -MPP9_GE1_RXD1 , -MPP10_GE1_RXD2 , -MPP11_GE1_RXD3 , -MPP12_GPIO , -MPP13_GPIO , -MPP14_GPIO , -MPP15_GPIO , -MPP16_GPIO , -MPP17_GPIO , -MPP18_GPIO , -MPP19_GPIO , -MPP20_GPIO , -MPP21_GPIO , -MPP22_GPIO , -MPP23_GPIO , -MPP24_UA2_TXD , -MPP25_UA2_RXD , - MPP26_UA2_CTSn, - MPP27_UA2_RTSn, -MPP28_GPIO , -MPP29_GPIO , -MPP30_GPIO , -MPP31_GPIO , -MPP32_GPIO , -MPP33_GPIO , -MPP34_GPIO , -MPP35_GPIO , -MPP36_GPIO , -MPP37_GPIO , -MPP38_GPIO , -MPP39_GPIO , -MPP40_GPIO , -MPP41_GPIO , -MPP42_GPIO , -MPP43_GPIO , -MPP44_GPIO , -MPP45_GPIO , -MPP46_GPIO , -MPP47_GPIO , -MPP48_GPIO , -MPP49_GPIO , -0 -}; - -static struct gpio_keys_button tswxl_buttons[] = { - { - .code =KEY_OPTION , - .gpio =TSWXL_AUTO_SWITCH , - .desc ="Power-auto Switch" , - .active_low =1 , - } -}; - -static struct gpio_keys_platform_data tswxl_button_data = { - .buttons = tswxl_buttons, - .nbuttons =ARRAY_SIZE (tswxl_buttons), -}; - -static struct platform_device tswxl_button_device = { - .name ="gpio-keys" , - .id =-1 , - .num_resources =0 , - .dev = { - .platform_data = &tswxl_button_data, - }, -}; - -static void __init wxl_init (void ) -{ -/* -* Basic MV78xx0 setup. Needs to be called early. -*/ -mv78xx0_init (); -mv78xx0_mpp_conf (wxl_mpp_config); - -/* -* Partition on-chip peripherals between the two CPU cores. -*/ -mv78xx0_ehci0_init (); -mv78xx0_ehci1_init (); -mv78xx0_ge00_init (&db78x00_ge00_data); -mv78xx0_ge01_init (&db78x00_ge01_data); -mv78xx0_sata_init (&db78x00_sata_data); -mv78xx0_uart0_init (); -mv78xx0_uart1_init (); -mv78xx0_uart2_init (); -mv78xx0_uart3_init (); -mv78xx0_xor_init (); -mv78xx0_crypto_init (); -mv78xx0_i2c_init (); -i2c_register_board_info (0 , &db78x00_i2c_rtc,1 ); - -//enable both usb ports -gpio_direction_output (TSWXL_USB_POWER1 ,1 ); -gpio_direction_output (TSWXL_USB_POWER2 ,1 ); - -//enable rear switch -platform_device_register (&tswxl_button_device); -} - -static int __init wxl_pci_init (void ) -{ -if (machine_is_terastation_wxl () &&mv78xx0_core_index () ==0 ) -mv78xx0_pcie_init (1 ,1 ); - -return 0 ; -} -subsys_initcall (wxl_pci_init); - -MACHINE_START (TERASTATION_WXL ,"Buffalo Nas WXL" ) -/* Maintainer: Sebastien Requiem <[email protected]> */ - .atag_offset = 0x100, - .nr_irqs = MV78XX0_NR_IRQS, - .init_machine = wxl_init, - .map_io = mv78xx0_map_io, - .init_early = mv78xx0_init_early, - .init_irq = mv78xx0_init_irq, - .init_time = mv78xx0_timer_init, - .restart = mv78xx0_restart, -MACHINE_END arch/arm/mach-mv78xx0/common.c deleted +0
-444@@ -1,444 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-mv78xx0/common.c -* -* Core functions for Marvell MV78xx0 SoCs -*/ - -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/io.h> -#include <linux/platform_device.h> -#include <linux/serial_8250.h> -#include <linux/ata_platform.h> -#include <linux/clk-provider.h> -#include <linux/ethtool.h> -#include <asm/hardware/cache-feroceon-l2.h> -#include <asm/mach/map.h> -#include <asm/mach/time.h> -#include <linux/platform_data/usb-ehci-orion.h> -#include <linux/platform_data/mtd-orion_nand.h> -#include <plat/time.h> -#include <plat/common.h> -#include <plat/addr-map.h> -#include "mv78xx0.h" -#include "bridge-regs.h" -#include "common.h" - -static int get_tclk (void ); - -/***************************************************************************** -* Common bits -****************************************************************************/ -int mv78xx0_core_index (void ) -{ -u32 extra; - -/* -* Read Extra Features register. -*/ - __asm__("mrc p15, 1, %0, c15, c1, 0" :"=r" (extra)); - -return !!(extra &0x00004000 ); -} - -static int get_hclk (void ) -{ -int hclk; - -/* -* HCLK tick rate is configured by DEV_D[7:5] pins. -*/ -switch ((readl (SAMPLE_AT_RESET_LOW ) >>5 ) &7 ) { -case 0 : - hclk =166666667 ; -break ; -case 1 : - hclk =200000000 ; -break ; -case 2 : - hclk =266666667 ; -break ; -case 3 : - hclk =333333333 ; -break ; -case 4 : - hclk =400000000 ; -break ; -default : -panic ("unknown HCLK PLL setting: %.8x\n" , -readl (SAMPLE_AT_RESET_LOW )); - } - -return hclk; -} - -static void get_pclk_l2clk (int hclk,int core_index,int *pclk,int *l2clk) -{ -u32 cfg; - -/* -* Core #0 PCLK/L2CLK is configured by bits [13:8], core #1 -* PCLK/L2CLK by bits [19:14]. -*/ -if (core_index ==0 ) { - cfg = (readl (SAMPLE_AT_RESET_LOW ) >>8 ) &0x3f ; - }else { - cfg = (readl (SAMPLE_AT_RESET_LOW ) >>14 ) &0x3f ; - } - -/* -* Bits [11:8] ([17:14] for core #1) configure the PCLK:HCLK -* ratio (1, 1.5, 2, 2.5, 3, 3.5, 4, 4.5, 5, 5.5, 6). -*/ - *pclk = ((u64 )hclk * (2 + (cfg &0xf ))) >>1 ; - -/* -* Bits [13:12] ([19:18] for core #1) configure the PCLK:L2CLK -* ratio (1, 2, 3). -*/ - *l2clk = *pclk / (((cfg >>4 ) &3 ) +1 ); -} - -static int get_tclk (void ) -{ -int tclk_freq; - -/* -* TCLK tick rate is configured by DEV_A[2:0] strap pins. -*/ -switch ((readl (SAMPLE_AT_RESET_HIGH ) >>6 ) &7 ) { -case 1 : - tclk_freq =166666667 ; -break ; -case 3 : - tclk_freq =200000000 ; -break ; -default : -panic ("unknown TCLK PLL setting: %.8x\n" , -readl (SAMPLE_AT_RESET_HIGH )); - } - -return tclk_freq; -} - - -/***************************************************************************** -* I/O Address Mapping -****************************************************************************/ -static struct map_desc mv78xx0_io_desc[]__initdata = { - { - .virtual = (unsigned long )MV78XX0_CORE_REGS_VIRT_BASE , - .pfn =0 , - .length =MV78XX0_CORE_REGS_SIZE , - .type =MT_DEVICE , - }, { - .virtual = (unsigned long )MV78XX0_REGS_VIRT_BASE , - .pfn =__phys_to_pfn (MV78XX0_REGS_PHYS_BASE ), - .length =MV78XX0_REGS_SIZE , - .type =MT_DEVICE , - }, -}; - -void __init mv78xx0_map_io (void ) -{ -unsigned long phys; - -/* -* Map the right set of per-core registers depending on -* which core we are running on. -*/ -if (mv78xx0_core_index () ==0 ) { - phys =MV78XX0_CORE0_REGS_PHYS_BASE ; - }else { - phys =MV78XX0_CORE1_REGS_PHYS_BASE ; - } - mv78xx0_io_desc[0 ].pfn =__phys_to_pfn (phys); - -iotable_init (mv78xx0_io_desc,ARRAY_SIZE (mv78xx0_io_desc)); -} - - -/***************************************************************************** -* CLK tree -****************************************************************************/ -static struct clk *tclk; - -static void __init clk_init (void ) -{ - tclk =clk_register_fixed_rate (NULL ,"tclk" ,NULL ,0 ,get_tclk ()); - -orion_clkdev_init (tclk); -} - -/***************************************************************************** -* EHCI -****************************************************************************/ -void __init mv78xx0_ehci0_init (void ) -{ -orion_ehci_init (USB0_PHYS_BASE ,IRQ_MV78XX0_USB_0 ,EHCI_PHY_NA ); -} - - -/***************************************************************************** -* EHCI1 -****************************************************************************/ -void __init mv78xx0_ehci1_init (void ) -{ -orion_ehci_1_init (USB1_PHYS_BASE ,IRQ_MV78XX0_USB_1 ); -} - - -/***************************************************************************** -* EHCI2 -****************************************************************************/ -void __init mv78xx0_ehci2_init (void ) -{ -orion_ehci_2_init (USB2_PHYS_BASE ,IRQ_MV78XX0_USB_2 ); -} - - -/***************************************************************************** -* GE00 -****************************************************************************/ -void __init mv78xx0_ge00_init (struct mv643xx_eth_platform_data *eth_data) -{ -orion_ge00_init (eth_data, -GE00_PHYS_BASE ,IRQ_MV78XX0_GE00_SUM , -IRQ_MV78XX0_GE_ERR , -MV643XX_TX_CSUM_DEFAULT_LIMIT ); -} - - -/***************************************************************************** -* GE01 -****************************************************************************/ -void __init mv78xx0_ge01_init (struct mv643xx_eth_platform_data *eth_data) -{ -orion_ge01_init (eth_data, -GE01_PHYS_BASE ,IRQ_MV78XX0_GE01_SUM , -MV643XX_TX_CSUM_DEFAULT_LIMIT ); -} - - -/***************************************************************************** -* GE10 -****************************************************************************/ -void __init mv78xx0_ge10_init (struct mv643xx_eth_platform_data *eth_data) -{ -u32 dev, rev; - -/* -* On the Z0, ge10 and ge11 are internally connected back -* to back, and not brought out. -*/ -mv78xx0_pcie_id (&dev, &rev); -if (dev ==MV78X00_Z0_DEV_ID ) { - eth_data->phy_addr =MV643XX_ETH_PHY_NONE ; - eth_data->speed =SPEED_1000 ; - eth_data->duplex =DUPLEX_FULL ; - } - -orion_ge10_init (eth_data,GE10_PHYS_BASE ,IRQ_MV78XX0_GE10_SUM ); -} - - -/***************************************************************************** -* GE11 -****************************************************************************/ -void __init mv78xx0_ge11_init (struct mv643xx_eth_platform_data *eth_data) -{ -u32 dev, rev; - -/* -* On the Z0, ge10 and ge11 are internally connected back -* to back, and not brought out. -*/ -mv78xx0_pcie_id (&dev, &rev); -if (dev ==MV78X00_Z0_DEV_ID ) { - eth_data->phy_addr =MV643XX_ETH_PHY_NONE ; - eth_data->speed =SPEED_1000 ; - eth_data->duplex =DUPLEX_FULL ; - } - -orion_ge11_init (eth_data,GE11_PHYS_BASE ,IRQ_MV78XX0_GE11_SUM ); -} - -/***************************************************************************** -* I2C -****************************************************************************/ -void __init mv78xx0_i2c_init (void ) -{ -orion_i2c_init (I2C_0_PHYS_BASE ,IRQ_MV78XX0_I2C_0 ,8 ); -orion_i2c_1_init (I2C_1_PHYS_BASE ,IRQ_MV78XX0_I2C_1 ,8 ); -} - -/***************************************************************************** -* SATA -****************************************************************************/ -void __init mv78xx0_sata_init (struct mv_sata_platform_data *sata_data) -{ -orion_sata_init (sata_data,SATA_PHYS_BASE ,IRQ_MV78XX0_SATA ); -} - - -/***************************************************************************** -* UART0 -****************************************************************************/ -void __init mv78xx0_uart0_init (void ) -{ -orion_uart0_init (UART0_VIRT_BASE ,UART0_PHYS_BASE , -IRQ_MV78XX0_UART_0 , tclk); -} - - -/***************************************************************************** -* UART1 -****************************************************************************/ -void __init mv78xx0_uart1_init (void ) -{ -orion_uart1_init (UART1_VIRT_BASE ,UART1_PHYS_BASE , -IRQ_MV78XX0_UART_1 , tclk); -} - - -/***************************************************************************** -* UART2 -****************************************************************************/ -void __init mv78xx0_uart2_init (void ) -{ -orion_uart2_init (UART2_VIRT_BASE ,UART2_PHYS_BASE , -IRQ_MV78XX0_UART_2 , tclk); -} - -/***************************************************************************** -* UART3 -****************************************************************************/ -void __init mv78xx0_uart3_init (void ) -{ -orion_uart3_init (UART3_VIRT_BASE ,UART3_PHYS_BASE , -IRQ_MV78XX0_UART_3 , tclk); -} - -/***************************************************************************** -* Time handling -****************************************************************************/ -void __init mv78xx0_init_early (void ) -{ -orion_time_set_base (TIMER_VIRT_BASE ); -if (mv78xx0_core_index () ==0 ) -mvebu_mbus_init ("marvell,mv78xx0-mbus" , -BRIDGE_WINS_CPU0_BASE ,BRIDGE_WINS_SZ , -DDR_WINDOW_CPU0_BASE ,DDR_WINDOW_CPU_SZ ); -else -mvebu_mbus_init ("marvell,mv78xx0-mbus" , -BRIDGE_WINS_CPU1_BASE ,BRIDGE_WINS_SZ , -DDR_WINDOW_CPU1_BASE ,DDR_WINDOW_CPU_SZ ); -} - -void __ref mv78xx0_timer_init (void ) -{ -orion_time_init (BRIDGE_VIRT_BASE ,BRIDGE_INT_TIMER1_CLR , -IRQ_MV78XX0_TIMER_1 ,get_tclk ()); -} - -/**************************************************************************** -* XOR engine -****************************************************************************/ -void __init mv78xx0_xor_init (void ) -{ -orion_xor0_init (XOR_PHYS_BASE , -XOR_PHYS_BASE +0x200 , -IRQ_MV78XX0_XOR_0 ,IRQ_MV78XX0_XOR_1 ); -} - -/**************************************************************************** -* Cryptographic Engines and Security Accelerator (CESA) -****************************************************************************/ -void __init mv78xx0_crypto_init (void ) -{ -mvebu_mbus_add_window_by_id (MV78XX0_MBUS_SRAM_TARGET , -MV78XX0_MBUS_SRAM_ATTR , -MV78XX0_SRAM_PHYS_BASE , -MV78XX0_SRAM_SIZE ); -orion_crypto_init (CRYPTO_PHYS_BASE ,MV78XX0_SRAM_PHYS_BASE , -SZ_8K ,IRQ_MV78XX0_CRYPTO ); -} - - -/***************************************************************************** -* General -****************************************************************************/ -static char *__init mv78xx0_id (void ) -{ -u32 dev, rev; - -mv78xx0_pcie_id (&dev, &rev); - -if (dev ==MV78X00_Z0_DEV_ID ) { -if (rev ==MV78X00_REV_Z0 ) -return "MV78X00-Z0" ; -else -return "MV78X00-Rev-Unsupported" ; - }else if (dev ==MV78100_DEV_ID ) { -if (rev ==MV78100_REV_A0 ) -return "MV78100-A0" ; -else if (rev ==MV78100_REV_A1 ) -return "MV78100-A1" ; -else -return "MV78100-Rev-Unsupported" ; - }else if (dev ==MV78200_DEV_ID ) { -if (rev ==MV78100_REV_A0 ) -return "MV78200-A0" ; -else -return "MV78200-Rev-Unsupported" ; - }else { -return "Device-Unknown" ; - } -} - -static int __init is_l2_writethrough (void ) -{ -return !!(readl (CPU_CONTROL ) &L2_WRITETHROUGH ); -} - -void __init mv78xx0_init (void ) -{ -int core_index; -int hclk; -int pclk; -int l2clk; - - core_index =mv78xx0_core_index (); - hclk =get_hclk (); -get_pclk_l2clk (hclk, core_index, &pclk, &l2clk); - -printk (KERN_INFO "%s " ,mv78xx0_id ()); -printk ("core #%d, " , core_index); -printk ("PCLK = %dMHz, " , (pclk +499999 ) /1000000 ); -printk ("L2 = %dMHz, " , (l2clk +499999 ) /1000000 ); -printk ("HCLK = %dMHz, " , (hclk +499999 ) /1000000 ); -printk ("TCLK = %dMHz\n" , (get_tclk () +499999 ) /1000000 ); - -if (IS_ENABLED (CONFIG_CACHE_FEROCEON_L2 )) -feroceon_l2_init (is_l2_writethrough ()); - -/* Setup root of clk tree */ -clk_init (); -} - -void mv78xx0_restart (enum reboot_mode mode,const char *cmd) -{ -/* -* Enable soft reset to assert RSTOUTn. -*/ -writel (SOFT_RESET_OUT_EN , RSTOUTn_MASK); - -/* -* Assert soft reset. -*/ -writel (SOFT_RESET ,SYSTEM_SOFT_RESET ); - -while (1 ) - ; -}arch/arm/mach-mv78xx0/common.h deleted +0
-54@@ -1,54 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* arch/arm/mach-mv78xx0/common.h -* -* Core functions for Marvell MV78xx0 SoCs -*/ - -#ifndef __ARCH_MV78XX0_COMMON_H -#define __ARCH_MV78XX0_COMMON_H - -#include <linux/reboot.h> - -struct mv643xx_eth_platform_data ; -struct mv_sata_platform_data ; - -/* -* Basic MV78xx0 init functions used early by machine-setup. -*/ -int mv78xx0_core_index (void ); -void mv78xx0_map_io (void ); -void mv78xx0_init (void ); -void mv78xx0_init_early (void ); -void mv78xx0_init_irq (void ); - -void mv78xx0_setup_cpu_mbus (void ); -void mv78xx0_setup_pcie_io_win (int window,u32 base,u32 size, -int maj,int min); -void mv78xx0_setup_pcie_mem_win (int window,u32 base,u32 size, -int maj,int min); - -void mv78xx0_pcie_id (u32 *dev,u32 *rev); - -void mv78xx0_ehci0_init (void ); -void mv78xx0_ehci1_init (void ); -void mv78xx0_ehci2_init (void ); -void mv78xx0_ge00_init (struct mv643xx_eth_platform_data *eth_data); -void mv78xx0_ge01_init (struct mv643xx_eth_platform_data *eth_data); -void mv78xx0_ge10_init (struct mv643xx_eth_platform_data *eth_data); -void mv78xx0_ge11_init (struct mv643xx_eth_platform_data *eth_data); -void mv78xx0_pcie_init (int init_port0,int init_port1); -void mv78xx0_sata_init (struct mv_sata_platform_data *sata_data); -void mv78xx0_uart0_init (void ); -void mv78xx0_uart1_init (void ); -void mv78xx0_uart2_init (void ); -void mv78xx0_uart3_init (void ); -void mv78xx0_xor_init (void ); -void mv78xx0_crypto_init (void ); -void mv78xx0_i2c_init (void ); -void mv78xx0_restart (enum reboot_mode ,const char *); - -extern void mv78xx0_timer_init (void ); - - -#endif arch/arm/mach-mv78xx0/irq.c deleted +0
-69@@ -1,69 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-mv78xx0/irq.c -* -* MV78xx0 IRQ handling. -*/ -#include <linux/gpio/consumer.h> -#include <linux/kernel.h> -#include <linux/irq.h> -#include <linux/io.h> -#include <asm/exception.h> -#include <plat/orion-gpio.h> -#include <plat/irq.h> -#include "bridge-regs.h" -#include "common.h" - -static int __initdata gpio0_irqs[4 ] = { -IRQ_MV78XX0_GPIO_0_7 , -IRQ_MV78XX0_GPIO_8_15 , -IRQ_MV78XX0_GPIO_16_23 , -IRQ_MV78XX0_GPIO_24_31 , -}; - -static void __iomem *mv78xx0_irq_base =IRQ_VIRT_BASE ; - -static asmlinkage void -__exception_irq_entry mv78xx0_legacy_handle_irq (struct pt_regs *regs) -{ -u32 stat; - - stat =readl_relaxed (mv78xx0_irq_base +IRQ_CAUSE_LOW_OFF ); - stat &=readl_relaxed (mv78xx0_irq_base +IRQ_MASK_LOW_OFF ); -if (stat) { -unsigned int hwirq =__fls (stat); -handle_IRQ (hwirq, regs); -return ; - } - stat =readl_relaxed (mv78xx0_irq_base +IRQ_CAUSE_HIGH_OFF ); - stat &=readl_relaxed (mv78xx0_irq_base +IRQ_MASK_HIGH_OFF ); -if (stat) { -unsigned int hwirq =32 +__fls (stat); -handle_IRQ (hwirq, regs); -return ; - } - stat =readl_relaxed (mv78xx0_irq_base +IRQ_CAUSE_ERR_OFF ); - stat &=readl_relaxed (mv78xx0_irq_base +IRQ_MASK_ERR_OFF ); -if (stat) { -unsigned int hwirq =64 +__fls (stat); -handle_IRQ (hwirq, regs); -return ; - } -} - -void __init mv78xx0_init_irq (void ) -{ -orion_irq_init (0 ,IRQ_VIRT_BASE +IRQ_MASK_LOW_OFF ); -orion_irq_init (32 ,IRQ_VIRT_BASE +IRQ_MASK_HIGH_OFF ); -orion_irq_init (64 ,IRQ_VIRT_BASE +IRQ_MASK_ERR_OFF ); - -set_handle_irq (mv78xx0_legacy_handle_irq); - -/* -* Initialize gpiolib for GPIOs 0-31. (The GPIO interrupt mask -* registers for core #1 are at an offset of 0x18 from those of -* core #0.) -*/ -orion_gpio_init (0 ,32 ,GPIO_VIRT_BASE ,mv78xx0_core_index () ?0x18 :0 , -IRQ_MV78XX0_GPIO_START , gpio0_irqs); -}arch/arm/mach-mv78xx0/irqs.h deleted +0
-87@@ -1,87 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* IRQ definitions for Marvell MV78xx0 SoCs */ - -#ifndef __ASM_ARCH_IRQS_H -#define __ASM_ARCH_IRQS_H - -/* -* MV78xx0 Low Interrupt Controller -*/ -#define IRQ_MV78XX0_ERR 0 -#define IRQ_MV78XX0_SPI 1 -#define IRQ_MV78XX0_I2C_0 2 -#define IRQ_MV78XX0_I2C_1 3 -#define IRQ_MV78XX0_IDMA_0 4 -#define IRQ_MV78XX0_IDMA_1 5 -#define IRQ_MV78XX0_IDMA_2 6 -#define IRQ_MV78XX0_IDMA_3 7 -#define IRQ_MV78XX0_TIMER_0 8 -#define IRQ_MV78XX0_TIMER_1 9 -#define IRQ_MV78XX0_TIMER_2 10 -#define IRQ_MV78XX0_TIMER_3 11 -#define IRQ_MV78XX0_UART_0 12 -#define IRQ_MV78XX0_UART_1 13 -#define IRQ_MV78XX0_UART_2 14 -#define IRQ_MV78XX0_UART_3 15 -#define IRQ_MV78XX0_USB_0 16 -#define IRQ_MV78XX0_USB_1 17 -#define IRQ_MV78XX0_USB_2 18 -#define IRQ_MV78XX0_CRYPTO 19 -#define IRQ_MV78XX0_SDIO_0 20 -#define IRQ_MV78XX0_SDIO_1 21 -#define IRQ_MV78XX0_XOR_0 22 -#define IRQ_MV78XX0_XOR_1 23 -#define IRQ_MV78XX0_I2S_0 24 -#define IRQ_MV78XX0_I2S_1 25 -#define IRQ_MV78XX0_SATA 26 -#define IRQ_MV78XX0_TDMI 27 - -/* -* MV78xx0 High Interrupt Controller -*/ -#define IRQ_MV78XX0_PCIE_00 32 -#define IRQ_MV78XX0_PCIE_01 33 -#define IRQ_MV78XX0_PCIE_02 34 -#define IRQ_MV78XX0_PCIE_03 35 -#define IRQ_MV78XX0_PCIE_10 36 -#define IRQ_MV78XX0_PCIE_11 37 -#define IRQ_MV78XX0_PCIE_12 38 -#define IRQ_MV78XX0_PCIE_13 39 -#define IRQ_MV78XX0_GE00_SUM 40 -#define IRQ_MV78XX0_GE00_RX 41 -#define IRQ_MV78XX0_GE00_TX 42 -#define IRQ_MV78XX0_GE00_MISC 43 -#define IRQ_MV78XX0_GE01_SUM 44 -#define IRQ_MV78XX0_GE01_RX 45 -#define IRQ_MV78XX0_GE01_TX 46 -#define IRQ_MV78XX0_GE01_MISC 47 -#define IRQ_MV78XX0_GE10_SUM 48 -#define IRQ_MV78XX0_GE10_RX 49 -#define IRQ_MV78XX0_GE10_TX 50 -#define IRQ_MV78XX0_GE10_MISC 51 -#define IRQ_MV78XX0_GE11_SUM 52 -#define IRQ_MV78XX0_GE11_RX 53 -#define IRQ_MV78XX0_GE11_TX 54 -#define IRQ_MV78XX0_GE11_MISC 55 -#define IRQ_MV78XX0_GPIO_0_7 56 -#define IRQ_MV78XX0_GPIO_8_15 57 -#define IRQ_MV78XX0_GPIO_16_23 58 -#define IRQ_MV78XX0_GPIO_24_31 59 -#define IRQ_MV78XX0_DB_IN 60 -#define IRQ_MV78XX0_DB_OUT 61 - -/* -* MV78xx0 Error Interrupt Controller -*/ -#define IRQ_MV78XX0_GE_ERR 70 - -/* -* MV78XX0 General Purpose Pins -*/ -#define IRQ_MV78XX0_GPIO_START 96 -#define NR_GPIO_IRQS 32 - -#define MV78XX0_NR_IRQS (IRQ_MV78XX0_GPIO_START + NR_GPIO_IRQS) - - -#endif arch/arm/mach-mv78xx0/mpp.c deleted +0
-34@@ -1,34 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0-only -/* -* arch/arm/mach-mv78x00/mpp.c -* -* MPP functions for Marvell MV78x00 SoCs -*/ -#include <linux/gpio/consumer.h> -#include <linux/kernel.h> -#include <linux/init.h> -#include <linux/io.h> -#include <plat/mpp.h> -#include "mv78xx0.h" -#include "common.h" -#include "mpp.h" - -static unsigned int __init mv78xx0_variant (void ) -{ -u32 dev, rev; - -mv78xx0_pcie_id (&dev, &rev); - -if (dev ==MV78100_DEV_ID && rev >=MV78100_REV_A0 ) -return MPP_78100_A0_MASK ; - -printk (KERN_ERR "MPP setup: unknown mv78x00 variant " -"(dev %#x rev %#x)\n" , dev, rev); -return 0 ; -} - -void __init mv78xx0_mpp_conf (unsigned int *mpp_list) -{ -orion_mpp_conf (mpp_list,mv78xx0_variant (), -MPP_MAX ,DEV_BUS_VIRT_BASE ); -}arch/arm/mach-mv78xx0/mpp.h deleted +0
-337@@ -1,337 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0-only */ -/* -* linux/arch/arm/mach-mv78xx0/mpp.h -- Multi Purpose Pins -* -* sebastien requiem <[email protected]> -*/ - -#ifndef __MV78X00_MPP_H -#define __MV78X00_MPP_H - -#define MPP (_num, _sel, _in, _out, _78100_A0) (\ - /* MPP number */ ((_num) & 0xff) | \ - /* MPP select value */ (((_sel) & 0xf) << 8) | \ - /* may be input signal */ ((!!(_in)) << 12) | \ - /* may be output signal */ ((!!(_out)) << 13) | \ - /* available on A0 */ ((!!(_78100_A0)) << 14)) - -/* num sel i o 78100_A0 */ - -#define MPP_78100_A0_MASK MPP(0, 0x0, 0, 0, 1) - -#define MPP0_GPIO MPP(0, 0x0, 1, 1, 1) -#define MPP0_GE0_COL MPP(0, 0x1, 0, 0, 1) -#define MPP0_GE1_TXCLK MPP(0, 0x2, 0, 0, 1) -#define MPP0_UNUSED MPP(0, 0x3, 0, 0, 1) - -#define MPP1_GPIO MPP(1, 0x0, 1, 1, 1) -#define MPP1_GE0_RXERR MPP(1, 0x1, 0, 0, 1) -#define MPP1_GE1_TXCTL MPP(1, 0x2, 0, 0, 1) -#define MPP1_UNUSED MPP(1, 0x3, 0, 0, 1) - -#define MPP2_GPIO MPP(2, 0x0, 1, 1, 1) -#define MPP2_GE0_CRS MPP(2, 0x1, 0, 0, 1) -#define MPP2_GE1_RXCTL MPP(2, 0x2, 0, 0, 1) -#define MPP2_UNUSED MPP(2, 0x3, 0, 0, 1) - -#define MPP3_GPIO MPP(3, 0x0, 1, 1, 1) -#define MPP3_GE0_TXERR MPP(3, 0x1, 0, 0, 1) -#define MPP3_GE1_RXCLK MPP(3, 0x2, 0, 0, 1) -#define MPP3_UNUSED MPP(3, 0x3, 0, 0, 1) - -#define MPP4_GPIO MPP(4, 0x0, 1, 1, 1) -#define MPP4_GE0_TXD4 MPP(4, 0x1, 0, 0, 1) -#define MPP4_GE1_TXD0 MPP(4, 0x2, 0, 0, 1) -#define MPP4_UNUSED MPP(4, 0x3, 0, 0, 1) - -#define MPP5_GPIO MPP(5, 0x0, 1, 1, 1) -#define MPP5_GE0_TXD5 MPP(5, 0x1, 0, 0, 1) -#define MPP5_GE1_TXD1 MPP(5, 0x2, 0, 0, 1) -#define MPP5_UNUSED MPP(5, 0x3, 0, 0, 1) - -#define MPP6_GPIO MPP(6, 0x0, 1, 1, 1) -#define MPP6_GE0_TXD6 MPP(6, 0x1, 0, 0, 1) -#define MPP6_GE1_TXD2 MPP(6, 0x2, 0, 0, 1) -#define MPP6_UNUSED MPP(6, 0x3, 0, 0, 1) - -#define MPP7_GPIO MPP(7, 0x0, 1, 1, 1) -#define MPP7_GE0_TXD7 MPP(7, 0x1, 0, 0, 1) -#define MPP7_GE1_TXD3 MPP(7, 0x2, 0, 0, 1) -#define MPP7_UNUSED MPP(7, 0x3, 0, 0, 1) - -#define MPP8_GPIO MPP(8, 0x0, 1, 1, 1) -#define MPP8_GE0_RXD4 MPP(8, 0x1, 0, 0, 1) -#define MPP8_GE1_RXD0 MPP(8, 0x2, 0, 0, 1) -#define MPP8_UNUSED MPP(8, 0x3, 0, 0, 1) - -#define MPP9_GPIO MPP(9, 0x0, 1, 1, 1) -#define MPP9_GE0_RXD5 MPP(9, 0x1, 0, 0, 1) -#define MPP9_GE1_RXD1 MPP(9, 0x2, 0, 0, 1) -#define MPP9_UNUSED MPP(9, 0x3, 0, 0, 1) - -#define MPP10_GPIO MPP(10, 0x0, 1, 1, 1) -#define MPP10_GE0_RXD6 MPP(10, 0x1, 0, 0, 1) -#define MPP10_GE1_RXD2 MPP(10, 0x2, 0, 0, 1) -#define MPP10_UNUSED MPP(10, 0x3, 0, 0, 1) - -#define MPP11_GPIO MPP(11, 0x0, 1, 1, 1) -#define MPP11_GE0_RXD7 MPP(11, 0x1, 0, 0, 1) -#define MPP11_GE1_RXD3 MPP(11, 0x2, 0, 0, 1) -#define MPP11_UNUSED MPP(11, 0x3, 0, 0, 1) - -#define MPP12_GPIO MPP(12, 0x0, 1, 1, 1) -#define MPP12_M_BB MPP(12, 0x3, 0, 0, 1) -#define MPP12_UA0_CTSn MPP(12, 0x4, 0, 0, 1) -#define MPP12_NAND_FLASH_REn0 MPP(12, 0x5, 0, 0, 1) -#define MPP12_TDM0_SCSn MPP(12, 0X6, 0, 0, 1) -#define MPP12_UNUSED MPP(12, 0x1, 0, 0, 1) - -#define MPP13_GPIO MPP(13, 0x0, 1, 1, 1) -#define MPP13_SYSRST_OUTn MPP(13, 0x3, 0, 0, 1) -#define MPP13_UA0_RTSn MPP(13, 0x4, 0, 0, 1) -#define MPP13_NAN_FLASH_WEn0 MPP(13, 0x5, 0, 0, 1) -#define MPP13_TDM_SCLK MPP(13, 0x6, 0, 0, 1) -#define MPP13_UNUSED MPP(13, 0x1, 0, 0, 1) - -#define MPP14_GPIO MPP(14, 0x0, 1, 1, 1) -#define MPP14_SATA1_ACTn MPP(14, 0x3, 0, 0, 1) -#define MPP14_UA1_CTSn MPP(14, 0x4, 0, 0, 1) -#define MPP14_NAND_FLASH_REn1 MPP(14, 0x5, 0, 0, 1) -#define MPP14_TDM_SMOSI MPP(14, 0x6, 0, 0, 1) -#define MPP14_UNUSED MPP(14, 0x1, 0, 0, 1)Lines of this file are not shown. View the raw message.
arch/arm/mach-mv78xx0/mv78xx0.h deleted +0
-134Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/dns323-setup.c deleted +0
-757Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/kurobox_pro-setup.c deleted +0
-407Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/mv2120-setup.c deleted +0
-256Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/net2big-setup.c deleted +0
-444Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/terastation_pro2-setup.c deleted +0
-366Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/ts209-setup.c deleted +0
-331Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/ts409-setup.c deleted +0
-329Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/ts78xx-fpga.h deleted +0
-42Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/ts78xx-setup.c deleted +0
-574Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/tsx09-common.c deleted +0
-129Lines of this file are not shown. View the raw message.
arch/arm/mach-orion5x/tsx09-common.h deleted +0
-21Lines of this file are not shown. View the raw message.
arch/arm/plat-orion/include/plat/addr-map.h deleted +0
-54Lines of this file are not shown. View the raw message.
arch/arm/plat-orion/include/plat/common.h deleted +0
-104Lines of this file are not shown. View the raw message.
arch/arm/plat-orion/include/plat/time.h deleted +0
-20Lines of this file are not shown. View the raw message.
The rest of this diff is not shown. View the raw message.
2.53.0
Part of the diff is not shown here. View the raw message.
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannQuoted 7 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Quoted 7 lines
Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.
Signed-off-by Arnd Bergmann <[email protected]>
Andrew
Re: [PATCH 01/13] ARM: remove sa1100 platform
In reply to Arnd BergmannQuoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Most sa1100 platforms were removed a few years, with the remaining ones left as a starting point for a conversion to devicetree.
Nothing ever happened on that front, so remove the rest now, including the sa1111 and locomo drivers that were once shared with pxa but are already sa1100-exclusive now.
Quoted 7 lines
Cc Russell King <[email protected]>Cc Linus Walleij <[email protected]>Cc Kristoffer Ericson <[email protected]>Cc Guenter Roeck <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>---
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannQuoted 38 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.
Cc Andrew Lunn <[email protected]>Cc Sebastian Hesselbarth <[email protected]>Cc Gregory Clement <[email protected]>Cc Alexander Clouter <[email protected]>Cc Jeremy J. Peper <[email protected]>Cc Damien Le Moal <[email protected]>Cc Niklas Cassel <[email protected]>Cc Ulf Hansson <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Cc "Krzysztof Wilczyński" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Rob Herring <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Vinod Koul <[email protected]>Cc Alexandre Belloni <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Daniel Lezcano <[email protected]>Cc Guenter Roeck <[email protected]>Cc Mark Brown <[email protected]>Cc Linus Walleij <[email protected]>Cc Bartosz Golaszewski <[email protected]>Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines
Re: [PATCH 12/13] ARM: at91: remove samv7 support
In reply to [email protected]Quoted 5 lines · On Tue, Sep 8, 2026, at 17:55, [email protected] wrote:
[Severity: Low]
Since this removes the usages ofSAME70Q21_CIDR_MATCHand the other SAMV7/SAME7 macros from the socs[] array, should the corresponding macro definitions also be removed fromdrivers/soc/atmel/soc.h? They appear to be dead code after this change.
I removed this as well now.
Arnd
Randy Dunlap
reviewerQuoted 45 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
In the 7.3 kernel, I marked a number of platforms and features as deprecated, with the plan to keep these around for the LTS kernel, but remove them in 7.4, see [1].
Cleaning out the deprecated platform code has turned into a larger effort than I expected, currently standing at 300 patches, with a lot of them still in need of being split up into smaller ones, see [2] for a current snapshot.
The first series here removes just the bits in
arch/arm/mach-*/, plus the portions that directly depend on the removedKconfigsymbols where these are trivial to remove.The parts that are not included are those that remove architectural features and device drivers that become unused after this part. Some of those may also make their way into 7.4, but at this point I would target 7.5 for most of them, to keep the dependencies simple.
This also gives everyone a chance to voice their objections in case that some of the removed platform code does have active users after all, before all the corresponding drivers are gone.
Arnd
Links:
[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3Arnd Bergmann (13):
ARM: remove sa1100 platform
ARM: remove footbridge
ARM: remove riscpc
ARM: remove legacy pxa board files
ARM: orion/dove/mv78xx0: remove all board files
ARM: omap2: remove omap24xx support
ARM: imx: remove i.MX31 SoC support
ARM: imx: remove nommu support
ARM: lpc18xx: remove entire platform
ARM: stm32: remove stm32f4/f7/h7 MCU support
ARM: versatile: remove mps2 support
ARM: at91: remove samv7 support
ARM: axxia: remove entire platform
Quoted 2 lines
Documentation/arch/arm/index.rst | 1 - Documentation/arch/arm/netwinder.rst | 85 -
I don't see netwinder.rst in any of the single patches. Should it be in one of them?
[snip]
Quoted 1 line
arch/arm/configs/netwinder_defconfig | 88 -
Same for netwinder_defconfig.
If netwinder is going away, can all ofDocumentation/arch/arm/nwfpe/ also go away?
Or do all of these come later (in phase 2 or 3)?
thanks.
Signature · 1 line
~Randy
Randy Dunlap
reviewerQuoted 57 lines · Randy Dunlap
Quoted 45 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
In the 7.3 kernel, I marked a number of platforms and features as deprecated, with the plan to keep these around for the LTS kernel, but remove them in 7.4, see [1].
Cleaning out the deprecated platform code has turned into a larger effort than I expected, currently standing at 300 patches, with a lot of them still in need of being split up into smaller ones, see [2] for a current snapshot.
The first series here removes just the bits in
arch/arm/mach-*/, plus the portions that directly depend on the removedKconfigsymbols where these are trivial to remove.The parts that are not included are those that remove architectural features and device drivers that become unused after this part. Some of those may also make their way into 7.4, but at this point I would target 7.5 for most of them, to keep the dependencies simple.
This also gives everyone a chance to voice their objections in case that some of the removed platform code does have active users after all, before all the corresponding drivers are gone.
Arnd
Links:
[1] https://lore.kernel.org/all/[email protected]/
[2] https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3Arnd Bergmann (13):
ARM: remove sa1100 platform
ARM: remove footbridge
ARM: remove riscpc
ARM: remove legacy pxa board files
ARM: orion/dove/mv78xx0: remove all board files
ARM: omap2: remove omap24xx support
ARM: imx: remove i.MX31 SoC support
ARM: imx: remove nommu support
ARM: lpc18xx: remove entire platform
ARM: stm32: remove stm32f4/f7/h7 MCU support
ARM: versatile: remove mps2 support
ARM: at91: remove samv7 support
ARM: axxia: remove entire platformQuoted 2 lines
Documentation/arch/arm/index.rst | 1 - Documentation/arch/arm/netwinder.rst | 85 -I don't see
netwinder.rstin any of the single patches. Should it be in one of them?[snip]
Quoted 8 lines
Quoted 1 line
arch/arm/configs/netwinder_defconfig | 88 -Same for
netwinder_defconfig.If netwinder is going away, can all of
Documentation/arch/arm/nwfpe/also go away?Or do all of these come later (in phase 2 or 3)?
gag. I hadn't received patch 02/13 yet. Didn't realize that. :(
Only the nwfpe/ question remains.
Signature · 1 line
~Randy
Re: [PATCH 06/13] ARM: omap2: remove omap24xx support
In reply to Arnd BergmannHi,
Quoted 6 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.
Quoted 7 lines
Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.
Drop the support for this SoC in order to allow removing ARM1136r0.
Cc Aaro Koskinen <[email protected]>
A.
Re: [PATCH 01/13] ARM: remove sa1100 platform
In reply to Arnd BergmannQuoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Most sa1100 platforms were removed a few years, with the remaining ones left as a starting point for a conversion to devicetree.
Nothing ever happened on that front, so remove the rest now, including the sa1111 and locomo drivers that were once shared with pxa but are already sa1100-exclusive now.
Quoted 6 lines
Cc Russell King <[email protected]>Cc Linus Walleij <[email protected]>Cc Kristoffer Ericson <[email protected]>Cc Guenter Roeck <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
If some user really want to keep this platform around and it willing to invest time in testing, I do not think it is hard to convert it to device tree using an LLM.
But if there are no users, away it goes.
Yours,
Linus Walleij
Re: [PATCH 02/13] ARM: remove footbridge
In reply to Arnd BergmannQuoted 14 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
Footbridge was deprecated in 7.3 to be removed along with the other StrongARM platforms and most remaining board files.
The main machine here is the NetWinder, which was a popular Arm based desktop PC in the late 1990s and contributed to Arm's later success as an embedded Linux platform, but was discontinued over 25 years ago and is no longer all that useful.
I previously tried to convert this to devicetree in a sensible way but gave up due to the platform being too different from modern SoC based targets.
Quoted 5 lines
Cc Russell King <[email protected]>Cc Ralph Siemsen <[email protected]>Cc Helge Deller <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
I have one of those machines and it boot mainline but I certainly consider it a paperweight at this point, I can't use it for anything useful.
Yours,
Linus Walleij
Re: [PATCH 04/13] ARM: remove legacy pxa board files
In reply to Arnd BergmannQuoted 15 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The PXA platform supports devicetree based booting, but still has a few traditional board files, which were left as a starting point for a possible conversion to devicetree during the last mass purge of board files in 2022.
None of these boards were actually converted, so drop support for these now, along with the 'scoop' support chip that was used on some PDAs that are no longer usable now.
The only remaining board support is for the "Raumfeld" speaker system based on PXA300 SoC, though basic support for PXA250 and PXA270 is still there and may work with external dts files.
Quoted 7 lines
Cc Daniel Mack <[email protected]>Cc Haojian Zhuang <[email protected]>Cc Robert Jarzmik <[email protected]>Cc Linus Walleij <[email protected]>Cc Bartosz Golaszewski <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
I ACK this based on the number of refactorings I did on this to remove the static GPIO assignments, I'm really tired of doing them if no-one benefits.
Yours,
Linus Walleij
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to Arnd BergmannQuoted 38 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The 'orion' platform is the predecessor to what linux now calls the 'mvebu' line of Marvell SoCs, and originally covered orion5x, mv78xx0, kirkwood, dove and a few others that do not have any upstream support at the moment.
Only a few board files remain here, these are the ones left in 2022 board file purge because they had some level of support in Debian or OpenWRT, mostly for commercial NAS or router boxes. This distro support is now gone, and nobody has converted the board files to devicetree, though the orion5x and dove platforms also come with devicetree support for some other machines.
Cc Andrew Lunn <[email protected]>Cc Sebastian Hesselbarth <[email protected]>Cc Gregory Clement <[email protected]>Cc Alexander Clouter <[email protected]>Cc Jeremy J. Peper <[email protected]>Cc Damien Le Moal <[email protected]>Cc Niklas Cassel <[email protected]>Cc Ulf Hansson <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Cc "Krzysztof Wilczyński" <[email protected]>Cc Manivannan Sadhasivam <[email protected]>Cc Rob Herring <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Vinod Koul <[email protected]>Cc Alexandre Belloni <[email protected]>Cc "Rafael J. Wysocki" <[email protected]>Cc Daniel Lezcano <[email protected]>Cc Guenter Roeck <[email protected]>Cc Mark Brown <[email protected]>Cc Linus Walleij <[email protected]>Cc Bartosz Golaszewski <[email protected]>Cc Thomas Weissschuh <[email protected]>
Quoted 8 lines
Yours,
Linus Walleij
Linus Walleij
maintainerRe: [PATCH 06/13] ARM: omap2: remove omap24xx support
In reply to Arnd BergmannQuoted 27 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The omap24xx SoC platform was used in the Nokia N800 and N810 tablets released on 2007 and was among the first ARMv6 CPUs in products that made it into products.
Unfortunately the early ARM1136r0 CPU cores had a number of quirks that caused a disproportionate amount of work to keep them compatible with later ARMv6K/v7/v8 implementations.
Drop the support for this SoC in order to allow removing ARM1136r0.
Cc Aaro Koskinen <[email protected]>Cc Andreas Kemnade <[email protected]>Cc Kevin Hilman <[email protected]>Cc Roger Quadros <[email protected]>Cc Tony Lindgren <[email protected]>Cc Paul Walmsley <[email protected]>Cc Herbert Xu <[email protected]>Cc "David S. Miller" <[email protected]>Cc Mauro Carvalho Chehab <[email protected]>Cc Kyungmin Park <[email protected]>Cc Helge Deller <[email protected]>Cc Tero Kristo <[email protected]>Cc Stephen Boyd <[email protected]>Cc Thomas Zimmermann <[email protected]>
Quoted 8 lines
Since Aaro says it can go, it can go.
If the n800 had a PostmarketOS port things would be different, but it does not.
Yours,
Linus Walleij
Re: [PATCH 09/13] ARM: lpc18xx: remove entire platform
In reply to Arnd BergmannQuoted 6 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The NXP LPC18xx and LPC43xx microcontrollers are the more modern version of the classic LPC32xx line, but they lack memory management units.
Quoted 7 lines
These microcontrollers all remain in production as of 2026, but there are no known users running Linux on them.
The platform was marked deprecated in the 7.3-LTS release, which will remain supported for a few more years.
Remove support for both LPC18xx and LPC43xx.
Yours,
Linus Walleij
Re: [PATCH 10/13] ARM: stm32: remove stm32f4/f7/h7 MCU support
In reply to Arnd BergmannQuoted 14 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The stm32 platform started out as a Cortex-M based microcontoller platform in 2007, with a few of the older products gaining Linux kernel support in 2016. These days, the only relevant chips for Linux are the stm32mp1 (Cortex-A7) and stm32mp2 (Cortex-A35) product lines, with the microcontrollers running smaller RTOSs on new products.
The microcontrollers were marked as deprecated in the linux-7.3LTS release, which will remain supported for a few more years and is expected to be sufficient for any of the remaining original users.
Remove the MCU support now, leaving only the stm32mp SoCs in the platform.
Quoted 11 lines
Cc Maxime Coquelin <[email protected]>Cc Alexandre Torgue <[email protected]>Cc Rob Herring <[email protected]>Cc Krzysztof Kozlowski <[email protected]>Cc Conor Dooley <[email protected]>Cc Christophe Parant <[email protected]>Cc Benjamin Gaignard <[email protected]>Cc Dario Binacchi <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 11/13] ARM: versatile: remove mps2 support
In reply to Arnd BergmannQuoted 9 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The Arm mps2 platform is the reference implementation for Arm microcontrollers and is useful for testing but not expected to be used as a production device.
With all the Cortex-M based products gone, there is no longer a need for a reference platform either, so remove it as well.
Quoted 12 lines
Cc Liviu Dudau <[email protected]>Cc Sudeep Holla <[email protected]>Cc Lorenzo Pieralisi <[email protected]>Cc Linus Walleij <[email protected]>Cc Rob Herring <[email protected]>Cc Krzysztof Kozlowski <[email protected]>Cc Conor Dooley <[email protected]>Cc Andi Shyti <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 12/13] ARM: at91: remove samv7 support
In reply to Arnd BergmannQuoted 7 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The Atmel at91 line, now known as Microchip SAM contains both SoCs using ARM926 and Cortex-A CPUs as well as a number of microcontrollers. Only a single one of those MCUs currently has Linux support, and has no known users.
Quoted 7 lines
The samv7 platform was deprecated in Linux-7.3LTS, which will remain supported a while longer after it is gone from mainline.
Cc Nicolas Ferre <[email protected]>Cc Alexandre Belloni <[email protected]>Cc Claudiu Beznea <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 13/13] ARM: axxia: remove entire platform
In reply to Arnd BergmannQuoted 12 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The initial Axxia port was contributed by LSI in 2014, but never completed after the sale of the business unit to Intel, which kept supporting the bulk of the drivers in their own downstream BSP.
The downstream work has also ended now, and there is no realistic chance that anyone would rewrite it all into an upstreamable port.
Remove it now that the 7.3LTS release is out and can be used as the base for one more downstream rebase of the downstream patches if needed.
Quoted 7 lines
Cc Krzysztof Kozlowski <[email protected]>Cc Rob Herring <[email protected]>Cc Conor Dooley <[email protected]>Cc Alexander Sverdlin <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Cc Anders Berg <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Yours,
Linus Walleij
Re: [PATCH 02/13] ARM: remove footbridge
In reply to [email protected]Quoted 6 lines · On Tue, Sep 8, 2026, at 17:55, [email protected] wrote:
Quoted 5 lines
__tagtable(ATAG_MEM, parse_tag_mem32);arch/arm/kernel/atags_parse.c +0
-3-#if defined(CONFIG_ARCH_FOOTBRIDGE ) && defined(CONFIG_VGA_CONSOLE ) -static int __init parse_tag_videotext (const struct tag *tag) -{[ ... ]
Quoted 8 lines
arch/arm/kernel/atags_parse.c static int __init parse_tag_mem32(const struct tag *tag) · line 89
Quoted 3 lines
arch/arm/kernel/atags_parse.c +0
-3-__tagtable (ATAG_VIDEOTEXT , parse_tag_videotext); -#endif -[Severity: Medium]
Since this patch removes the footbridge architecture, should similar arch-specific dead code be removed fromarch/arm/kernel/atags_compat.cas well?
I have a separate patch to remove that file entirely and chose not to remove the lines here to avoid a merge conflict.
Quoted 16 lines
Quoted 5 lines
deleted file mode 100644
index 96a74d447028d..0000000000000arch/arm/mach-footbridge/Kconfig deleted +0
-0@@ -1,57 +0,0 @@[ ... ]
Quoted 2 lines
arch/arm/mach-footbridge/Kconfig deleted +0
-2-config ARCH_NETWINDER - bool "NetWinder"[ ... ]
arch/arm/mach-footbridge/Kconfig line 50
Quoted 2 lines
arch/arm/mach-footbridge/Kconfig deleted +0
-2-config FOOTBRIDGE - def_bool y[Severity: Medium]
By removing the FOOTBRIDGE andARCH_NETWINDERconfigs here, what happens to the drivers in other subsystems that still depend on them?
Quoted 3 lines
For example,
drivers/watchdog/Kconfigstill contains dependencies like:
config 21285_WATCHDOG
depends on FOOTBRIDGE
See the longer series with the patches to remove this.
Quoted 9 lines
And
drivers/char/Kconfighas symbols like DS1620, NWBUTTON, and NWFLASH that depend onARCH_NETWINDER. Will these be left permanently unbuildable since their configurations are orphaned?Additionally, 977_WATCHDOG depends on:
(FOOTBRIDGE && ARCH_NETWINDER) || (ARM && COMPILE_TEST)If someone builds with
COMPILE_TEST, won't this driver try to build but fail due to missing headers?
I don't see any headers causing problems in 977_WATCHDOG, but I'll do some more build testing on the current series before I post the next version.
I did randconfig tests on a slightly older version of the longer series, but not on intermediate parts, so it's possible that I missed something there.
Quoted 10 lines
arch/arm/include/asm/hardware/dec21285.h
Quoted 5 lines
arch/arm/include/asm/hardware/dec21285.h deleted +0
-0[Severity: Medium]
Will the removal of this header cause fatal build errors for the orphaned drivers mentioned above?
Quoted 6 lines
For example, if compilation is attempted (such as with
COMPILE_TEST),nwflash_init()indrivers/char/nwflash.candserial21285_init()indrivers/tty/serial/21285.cboth still include <asm/hardware/dec21285.h>.Does this patch need to remove those orphaned drivers as well to prevent build breakages?
The nwflash/nwbutton and dc21285_serial drivers have a hard dependency on ARCH_NETWINDER, so those should be fine.
Arnd
Re: [PATCH 07/13] ARM: imx: remove i.MX31 SoC support
In reply to [email protected]Quoted 5 lines · On Tue, Sep 8, 2026, at 18:05, [email protected] wrote:
[Severity: Medium]
Can the removal ofCONFIG_DEBUG_IMX31_UARTleave obsolete preprocessor blocks in header files?
Quoted 7 lines
In
arch/arm/include/debug/imx-uart.h, there is still a check for this symbol:#elif
defined(CONFIG_DEBUG_IMX31_UART)
#defineUART_PADDRIMX_DEBUG_UART_BASE(IMX31)Could this block now be dead code because the config symbol no longer exists?
Fixed now, I did script the search for unused Kconfig symbols, but missed the DEBUG_IMX31_UART dependency as that was a later addition to the series. I'll run those scripts again.
Quoted 16 lines
[Severity: Medium]
Could the removal ofSOC_IMX31orphan the hardware random number generator driver?In
drivers/char/hw_random/Kconfig,HW_RANDOM_MXC_RNGAcurrently has:config
HW_RANDOM_MXC_RNGAtristate "Freescale i.MX RNGA Random Number Generator" depends on SOC_IMX31 || COMPILE_TESTSince
SOC_IMX31is no longer defined, this driver can now only be selected viaCOMPILE_TEST.Is there also a risk of leaving dead code in the clock driver?
Quoted 7 lines
In
drivers/clk/imx/Kconfig,CLK_IMX31has:config
CLK_IMX31
def_boolSOC_IMX31Could this convert the driver code into uncompilable dead code since
SOC_IMX31is removed?
These are all addressed in a later series.
Quoted 9 lines
[Severity: Medium]
Are there dangling declarations left behind in the subsystem headers?In
arch/arm/mach-imx/common.h, these declarations still exist:void
mx31_map_io(void);
voidimx31_init_early(void);Could these dead declarations be removed as well?
Fixed now.
Arnd
Re: [PATCH 04/13] ARM: remove legacy pxa board files
In reply to [email protected]Quoted 20 lines · On Tue, Sep 8, 2026, at 18:01, [email protected] wrote:
Quoted 4 lines
arch/arm/mach-pxa/Kconfig +0
-0[ ... ]
arch/arm/mach-pxa/Kconfig config MACH_PXA3XX_DT · line 80
Quoted 10 lines
arch/arm/mach-pxa/Kconfig +0
-10-config GUMSTIX_AM200EPD - bool "Enable AM200EPD board support" - -config GUMSTIX_AM300EPD - bool "Enable AM300EPD board support" - -endchoice - -config PXA_SHARPSL - bool "SHARP Zaurus SL-5600, SL-C7xx and SL-Cxx00 Models (DEPRECATED)"[Severity: Medium]
SincePXA_SHARPSLand related configs are removed here, does this leave unmet dependencies in other subsystems?
Quoted 2 lines
For example, in
drivers/pcmcia/Kconfig,PCMCIA_PXA2XXhas:depends on ARM && ARCH_PXA && PCMCIA && PXA_SHARPSL
These are addressed in a later patch.
Quoted 6 lines
For instance,
drivers/pcmcia/pxa2xx_sharpsl.c,drivers/video/backlight/corgi_lcd.c, andsound/soc/pxa/spitz.cappear to be specific to the removed Sharp SL and Spitz boards. The sharpsl-nand device probed indrivers/mtd/nand/raw/sharpsl.cis also no longer registered.
Quoted 6 lines
Additionally, there are leftover ifdef blocks, such as
#ifdefCONFIG_GUMSTIX_AM200EPDindrivers/video/fbdev/core/fbmem.c(insideregister_framebuffer) andinclude/linux/fb.h, as well as #ifdefCONFIG_SHARPSL_PMindrivers/hwmon/max1111.c(inmax1111_read_channel).Could these drivers and dead ifdef blocks be cleaned up in a follow-up?
I have patches for all these, yes.
Quoted 9 lines
[Severity: Low]
With the implementations of these platform data setters removed, should their corresponding external declarations be cleaned up from the subsystem headers to prevent dangling prototypes?For example:
-pxa_set_fb_info()ininclude/linux/platform_data/video-pxafb.h
-pxa_set_ohci_info()ininclude/linux/platform_data/usb-ohci-pxa27x.h
-pxa_set_mci_info()ininclude/linux/platform_data/mmc-pxamci.h
I have separate patches to remove those three files, either as part of removing the drivers, or changing them to DT-only.
Arnd
Re: [PATCH 05/13] ARM: orion/dove/mv78xx0: remove all board files
In reply to [email protected]Quoted 7 lines · On Tue, Sep 8, 2026, at 18:11, [email protected] wrote:
[Severity: Low]
Since all the board files likearch/arm/mach-orion5x/ts78xx-setup.care removed in this patch, should theMAINTAINERSentry for the TS-78xx platform further down in this file also be removed?The pattern F:
arch/arm/mach-orion5x/ts78xx-*now points to deleted files, which leaves an orphaned entry for Alexander Clouter.
I fixed this instance now. I tried to automate this with a script but could not figure out how to deal with wildcard matches and only did the ones that have an exact file match.
If anyone has suggestions for doing this better, please let me know, or run your script on
https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc.git/log/?h=board-remove-7.3
and send me the results.
Quoted 16 lines
[ ... ]
arch/arm/mach-orion5x/Makefile line 6
Quoted 10 lines
arch/arm/mach-orion5x/Makefile +0
-2@@ -2,15 +2,6 @@ ccflags-y := -I$(srctree)/arch/arm/plat-orion/include obj-y += common.o pci.o irq.o mpp.o -obj-$(CONFIG_MACH_KUROBOX_PRO) += kurobox_pro-setup.o -obj-$(CONFIG_MACH_TERASTATION_PRO2) += terastation_pro2-setup.o[Severity: Low]
Are irq.o and mpp.o now completely unreachable code?
Quoted 3 lines
Since all the board files that called into these APIs have been removed, it appears these objects are now unnecessarily compiled into the kernel image. Should they be removed from obj-y here?
Added this to the patch, removing the two files and recursively seven more that become orphaned afterwards:
arch/arm/mach-orion5x/Makefile | 2 +- arch/arm/mach-orion5x/irq.c | 51 --- arch/arm/mach-orion5x/irqs.h | 9 - arch/arm/mach-orion5x/mpp.c | 41 -- arch/arm/mach-orion5x/mpp.h | 130 ------ arch/arm/plat-orion/Makefile | 4 +- arch/arm/plat-orion/gpio.c | 616 -------------------------- arch/arm/plat-orion/include/plat/irq.h | 15 - arch/arm/plat-orion/include/plat/mpp.h | 34 -- arch/arm/plat-orion/include/plat/orion-gpio.h | 38 -- arch/arm/plat-orion/irq.c | 39 -- arch/arm/plat-orion/mpp.c | 82 ---- 13 files changed, 2 insertions(+), 1066 deletions(-)
This leaves only pcie.{c,h} in arch/arm/plat-orion/, which should be folded into arch/arm/mach-orion5x/pci.c, along with parts of arch/arm/kernel/bios32.c that nothing else uses any more. I don't have a patch for that yet.
Arnd
Re: [PATCH 13/13] ARM: axxia: remove entire platform
In reply to Arnd BergmannQuoted 12 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
The initial Axxia port was contributed by LSI in 2014, but never completed after the sale of the business unit to Intel, which kept supporting the bulk of the drivers in their own downstream BSP.
The downstream work has also ended now, and there is no realistic chance that anyone would rewrite it all into an upstreamable port.
Remove it now that the 7.3LTS release is out and can be used as the base for one more downstream rebase of the downstream patches if needed.
Quoted 7 lines
Cc Krzysztof Kozlowski <[email protected]>Cc Rob Herring <[email protected]>Cc Conor Dooley <[email protected]>Cc Alexander Sverdlin <[email protected]>Cc Ethan Nelson-Moore <[email protected]>Cc Anders Berg <[email protected]>Signed-off-by Arnd Bergmann <[email protected]>
Best regards,
Krzysztof
Quoted 5 lines · Randy Dunlap
If netwinder is going away, can all of
Documentation/arch/arm/nwfpe/also go away?Or do all of these come later (in phase 2 or 3)?
nwfpe is used on all OABI platforms, not just netwinder, so the patch to remove that comes in the next series after removing OABI. See
for the draft patch.
Arnd