]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: mach-stmp37xx: remove mach
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 29 Apr 2011 13:06:41 +0000 (15:06 +0200)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 2 May 2011 18:08:55 +0000 (19:08 +0100)
commit7635965891761a732a610aa7ad9371de742ef52b
treee3d10a04ef7f43de126d0d0626b99cd204b7ae71
parentcde7c41feaa06cb6bfc748b2fc3c7d809091c2b0
ARM: mach-stmp37xx: remove mach

This mach has not seen any updates since the initial inclusion besides
generic cleanup. Furthermore:

- It has a lot of reinvented interfaces, leaking all sorts of
  mach-related includes into the drivers. One example is the dmaengine
  which does not use the linux dmaengine-API but some privately exported
  symbols. So, drivers cannot be reused. mach-mxs is very similar and
  does it better.

- It can be doubted that this worked at all. Check the DMA routines in
  stmp37xx.c for copy/paste bugs. A lot of APBX-related stuff is
  actually writing into registers for APBH.

- There is only one board defined (which I couldn't find any trace of
  despite being a development board). In this board, only two devices
  have resources, the debug uart and the application uart. Neither of
  those have the needed custom drivers merged (and never will). debug
  uart is amba-pl011 which has an in-kernel driver without the
  mach-specific-stuff. appuart has a driver which was introduced for
  mach-mxs, and this one is reusable for a properly done mach.

So, this single board registers only unsupported devices and the
generic code looks suspicious and has poor design. Delete this
stuff. If there is interest, it is wiser to restart using
mach-mxs.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
34 files changed:
arch/arm/Makefile
arch/arm/configs/stmp37xx_defconfig [deleted file]
arch/arm/mach-stmp37xx/Makefile [deleted file]
arch/arm/mach-stmp37xx/Makefile.boot [deleted file]
arch/arm/mach-stmp37xx/include/mach/entry-macro.S [deleted file]
arch/arm/mach-stmp37xx/include/mach/irqs.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/pins.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-apbh.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-apbx.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-audioin.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-audioout.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-clkctrl.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-digctl.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-ecc8.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-gpmi.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-i2c.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-icoll.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-lcdif.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-lradc.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-pinctrl.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-power.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-pwm.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-rtc.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-ssp.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-timrot.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-uartapp.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-uartdbg.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-usbctl.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-usbctrl.h [deleted file]
arch/arm/mach-stmp37xx/include/mach/regs-usbphy.h [deleted file]
arch/arm/mach-stmp37xx/stmp37xx.c [deleted file]
arch/arm/mach-stmp37xx/stmp37xx.h [deleted file]
arch/arm/mach-stmp37xx/stmp37xx_devb.c [deleted file]
arch/arm/plat-stmp3xxx/Kconfig