[RFC 0/4] convert stmp into mxs and delete the obsolete platform
Wolfram Sang
w.sang at pengutronix.de
Sun Apr 17 22:30:34 EDT 2011
I tried a smaller scaled cleanup before, but now that there are talks about ARM
consolidation everywhere, I'll be more brave :)
What we have here is consolidation of two platforms. The older one, plat-stmp,
has never seen much love after the initial commit and has poor design as stated
in the patch descriptions. The recently added mach-mxs can be used for a
(friendly) takeover. Adding 130 lines there could save 9500+ lines in arch/arm!
The drawback sofar is getting an ack from the old submitters of the code. I
tried contacting Dmitry and a generic address at EmbeddedAlley and they were
all bounced. However, while EmbeddedAlley was bought by Mentor, also Sigmatel
was bought by Freescale. I guess Freescale does have more interest in the code
than Mentor, so I'll try adding Shawn Guo to CC and hope for his ack.
Looking forward for comments. I'd really love seeing this go in, in one form or
another. Yet, this is an RFC for now as I want to see if people like the idea.
Regards,
Wolfram
Wolfram Sang (4):
arm: mach-mxs: add stmp378x-devb
arm: mach-stmp37xx: remove mach
arm: mach-stmp378x: remove mach
arm: plat-stmp: remove plat
arch/arm/Kconfig | 12 -
arch/arm/Makefile | 3 -
arch/arm/mach-mxs/Kconfig | 10 +
arch/arm/mach-mxs/Makefile | 1 +
arch/arm/mach-mxs/mach-stmp378x_devb.c | 120 ++
arch/arm/mach-stmp378x/Makefile | 2 -
arch/arm/mach-stmp378x/Makefile.boot | 3 -
arch/arm/mach-stmp378x/include/mach/entry-macro.S | 35 -
arch/arm/mach-stmp378x/include/mach/irqs.h | 95 --
arch/arm/mach-stmp378x/include/mach/pins.h | 151 ---
arch/arm/mach-stmp378x/include/mach/regs-apbh.h | 101 --
arch/arm/mach-stmp378x/include/mach/regs-apbx.h | 119 --
arch/arm/mach-stmp378x/include/mach/regs-audioin.h | 63 --
.../arm/mach-stmp378x/include/mach/regs-audioout.h | 104 --
arch/arm/mach-stmp378x/include/mach/regs-bch.h | 56 -
arch/arm/mach-stmp378x/include/mach/regs-clkctrl.h | 88 --
arch/arm/mach-stmp378x/include/mach/regs-dcp.h | 87 --
arch/arm/mach-stmp378x/include/mach/regs-digctl.h | 38 -
arch/arm/mach-stmp378x/include/mach/regs-dram.h | 27 -
arch/arm/mach-stmp378x/include/mach/regs-dri.h | 45 -
arch/arm/mach-stmp378x/include/mach/regs-ecc8.h | 39 -
arch/arm/mach-stmp378x/include/mach/regs-emi.h | 25 -
arch/arm/mach-stmp378x/include/mach/regs-gpmi.h | 78 --
arch/arm/mach-stmp378x/include/mach/regs-i2c.h | 55 -
arch/arm/mach-stmp378x/include/mach/regs-icoll.h | 45 -
arch/arm/mach-stmp378x/include/mach/regs-ir.h | 23 -
arch/arm/mach-stmp378x/include/mach/regs-lcdif.h | 195 ----
arch/arm/mach-stmp378x/include/mach/regs-lradc.h | 99 --
arch/arm/mach-stmp378x/include/mach/regs-ocotp.h | 40 -
arch/arm/mach-stmp378x/include/mach/regs-pinctrl.h | 90 --
arch/arm/mach-stmp378x/include/mach/regs-power.h | 63 --
arch/arm/mach-stmp378x/include/mach/regs-pwm.h | 53 -
arch/arm/mach-stmp378x/include/mach/regs-pxp.h | 140 ---
arch/arm/mach-stmp378x/include/mach/regs-rtc.h | 59 -
arch/arm/mach-stmp378x/include/mach/regs-saif.h | 21 -
arch/arm/mach-stmp378x/include/mach/regs-spdif.h | 49 -
arch/arm/mach-stmp378x/include/mach/regs-ssp.h | 102 --
arch/arm/mach-stmp378x/include/mach/regs-sydma.h | 23 -
arch/arm/mach-stmp378x/include/mach/regs-timrot.h | 68 --
arch/arm/mach-stmp378x/include/mach/regs-tvenc.h | 67 --
arch/arm/mach-stmp378x/include/mach/regs-uartapp.h | 87 --
arch/arm/mach-stmp378x/include/mach/regs-uartdbg.h | 268 -----
arch/arm/mach-stmp378x/include/mach/regs-usbctrl.h | 40 -
arch/arm/mach-stmp378x/include/mach/regs-usbphy.h | 37 -
arch/arm/mach-stmp378x/stmp378x.c | 299 -----
arch/arm/mach-stmp378x/stmp378x.h | 25 -
arch/arm/mach-stmp378x/stmp378x_devb.c | 332 ------
arch/arm/mach-stmp37xx/Makefile | 2 -
arch/arm/mach-stmp37xx/Makefile.boot | 3 -
arch/arm/mach-stmp37xx/include/mach/entry-macro.S | 37 -
arch/arm/mach-stmp37xx/include/mach/irqs.h | 99 --
arch/arm/mach-stmp37xx/include/mach/pins.h | 147 ---
arch/arm/mach-stmp37xx/include/mach/regs-apbh.h | 97 --
arch/arm/mach-stmp37xx/include/mach/regs-apbx.h | 113 --
arch/arm/mach-stmp37xx/include/mach/regs-audioin.h | 61 --
.../arm/mach-stmp37xx/include/mach/regs-audioout.h | 111 --
arch/arm/mach-stmp37xx/include/mach/regs-clkctrl.h | 72 --
arch/arm/mach-stmp37xx/include/mach/regs-digctl.h | 24 -
arch/arm/mach-stmp37xx/include/mach/regs-ecc8.h | 37 -
arch/arm/mach-stmp37xx/include/mach/regs-gpmi.h | 63 --
arch/arm/mach-stmp37xx/include/mach/regs-i2c.h | 55 -
arch/arm/mach-stmp37xx/include/mach/regs-icoll.h | 43 -
arch/arm/mach-stmp37xx/include/mach/regs-lcdif.h | 89 --
arch/arm/mach-stmp37xx/include/mach/regs-lradc.h | 97 --
arch/arm/mach-stmp37xx/include/mach/regs-pinctrl.h | 88 --
arch/arm/mach-stmp37xx/include/mach/regs-power.h | 56 -
arch/arm/mach-stmp37xx/include/mach/regs-pwm.h | 51 -
arch/arm/mach-stmp37xx/include/mach/regs-rtc.h | 57 -
arch/arm/mach-stmp37xx/include/mach/regs-ssp.h | 101 --
arch/arm/mach-stmp37xx/include/mach/regs-timrot.h | 49 -
arch/arm/mach-stmp37xx/include/mach/regs-uartapp.h | 85 --
arch/arm/mach-stmp37xx/include/mach/regs-uartdbg.h | 268 -----
arch/arm/mach-stmp37xx/include/mach/regs-usbctl.h | 22 -
arch/arm/mach-stmp37xx/include/mach/regs-usbctrl.h | 22 -
arch/arm/mach-stmp37xx/include/mach/regs-usbphy.h | 37 -
arch/arm/mach-stmp37xx/stmp37xx.c | 219 ----
arch/arm/mach-stmp37xx/stmp37xx.h | 24 -
arch/arm/mach-stmp37xx/stmp37xx_devb.c | 99 --
arch/arm/plat-stmp3xxx/Kconfig | 37 -
arch/arm/plat-stmp3xxx/Makefile | 5 -
arch/arm/plat-stmp3xxx/clock.c | 1134 --------------------
arch/arm/plat-stmp3xxx/clock.h | 61 --
arch/arm/plat-stmp3xxx/core.c | 128 ---
arch/arm/plat-stmp3xxx/devices.c | 389 -------
arch/arm/plat-stmp3xxx/dma.c | 464 --------
arch/arm/plat-stmp3xxx/include/mach/clkdev.h | 18 -
arch/arm/plat-stmp3xxx/include/mach/cputype.h | 33 -
arch/arm/plat-stmp3xxx/include/mach/debug-macro.S | 39 -
arch/arm/plat-stmp3xxx/include/mach/dma.h | 153 ---
arch/arm/plat-stmp3xxx/include/mach/gpio.h | 28 -
arch/arm/plat-stmp3xxx/include/mach/gpmi.h | 12 -
arch/arm/plat-stmp3xxx/include/mach/hardware.h | 32 -
arch/arm/plat-stmp3xxx/include/mach/io.h | 25 -
arch/arm/plat-stmp3xxx/include/mach/memory.h | 22 -
arch/arm/plat-stmp3xxx/include/mach/mmc.h | 14 -
arch/arm/plat-stmp3xxx/include/mach/pinmux.h | 157 ---
arch/arm/plat-stmp3xxx/include/mach/pins.h | 30 -
arch/arm/plat-stmp3xxx/include/mach/platform.h | 68 --
arch/arm/plat-stmp3xxx/include/mach/stmp3xxx.h | 54 -
arch/arm/plat-stmp3xxx/include/mach/system.h | 49 -
arch/arm/plat-stmp3xxx/include/mach/timex.h | 20 -
arch/arm/plat-stmp3xxx/include/mach/uncompress.h | 53 -
arch/arm/plat-stmp3xxx/include/mach/vmalloc.h | 12 -
arch/arm/plat-stmp3xxx/irq.c | 50 -
arch/arm/plat-stmp3xxx/pinmux.c | 550 ----------
arch/arm/plat-stmp3xxx/timer.c | 186 ----
106 files changed, 131 insertions(+), 9602 deletions(-)
create mode 100644 arch/arm/mach-mxs/mach-stmp378x_devb.c
delete mode 100644 arch/arm/mach-stmp378x/Makefile
delete mode 100644 arch/arm/mach-stmp378x/Makefile.boot
delete mode 100644 arch/arm/mach-stmp378x/include/mach/entry-macro.S
delete mode 100644 arch/arm/mach-stmp378x/include/mach/irqs.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/pins.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-apbh.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-apbx.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-audioin.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-audioout.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-bch.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-clkctrl.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-dcp.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-digctl.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-dram.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-dri.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-ecc8.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-emi.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-gpmi.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-i2c.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-icoll.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-ir.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-lcdif.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-lradc.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-ocotp.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-pinctrl.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-power.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-pwm.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-pxp.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-rtc.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-saif.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-spdif.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-ssp.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-sydma.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-timrot.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-tvenc.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-uartapp.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-uartdbg.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-usbctrl.h
delete mode 100644 arch/arm/mach-stmp378x/include/mach/regs-usbphy.h
delete mode 100644 arch/arm/mach-stmp378x/stmp378x.c
delete mode 100644 arch/arm/mach-stmp378x/stmp378x.h
delete mode 100644 arch/arm/mach-stmp378x/stmp378x_devb.c
delete mode 100644 arch/arm/mach-stmp37xx/Makefile
delete mode 100644 arch/arm/mach-stmp37xx/Makefile.boot
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/entry-macro.S
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/irqs.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/pins.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-apbh.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-apbx.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-audioin.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-audioout.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-clkctrl.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-digctl.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-ecc8.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-gpmi.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-i2c.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-icoll.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-lcdif.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-lradc.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-pinctrl.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-power.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-pwm.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-rtc.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-ssp.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-timrot.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-uartapp.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-uartdbg.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-usbctl.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-usbctrl.h
delete mode 100644 arch/arm/mach-stmp37xx/include/mach/regs-usbphy.h
delete mode 100644 arch/arm/mach-stmp37xx/stmp37xx.c
delete mode 100644 arch/arm/mach-stmp37xx/stmp37xx.h
delete mode 100644 arch/arm/mach-stmp37xx/stmp37xx_devb.c
delete mode 100644 arch/arm/plat-stmp3xxx/Kconfig
delete mode 100644 arch/arm/plat-stmp3xxx/Makefile
delete mode 100644 arch/arm/plat-stmp3xxx/clock.c
delete mode 100644 arch/arm/plat-stmp3xxx/clock.h
delete mode 100644 arch/arm/plat-stmp3xxx/core.c
delete mode 100644 arch/arm/plat-stmp3xxx/devices.c
delete mode 100644 arch/arm/plat-stmp3xxx/dma.c
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/clkdev.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/cputype.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/debug-macro.S
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/dma.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/gpio.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/gpmi.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/hardware.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/io.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/memory.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/mmc.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/pinmux.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/pins.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/platform.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/stmp3xxx.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/system.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/timex.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/uncompress.h
delete mode 100644 arch/arm/plat-stmp3xxx/include/mach/vmalloc.h
delete mode 100644 arch/arm/plat-stmp3xxx/irq.c
delete mode 100644 arch/arm/plat-stmp3xxx/pinmux.c
delete mode 100644 arch/arm/plat-stmp3xxx/timer.c
--
1.7.2.5
More information about the linux-arm-kernel
mailing list