mbox series

[0/9] ARM: imx: Remove more board related code

Message ID 20200911124034.6792-1-festevam@gmail.com
Headers show
Series ARM: imx: Remove more board related code | expand

Message

Fabio Estevam Sept. 11, 2020, 12:40 p.m. UTC
Now that i.MX board files have been removed, here is another
round of cleanup that removes unused code.

Fabio Estevam (9):
  ARM: imx27: Remove imx27_soc_init()
  ARM: imx27: Remove iomux-v1 board code
  ARM: imx27: Get rid of mm-imx27.c
  ARM: imx27: Retrieve AVIC base address from devicetree
  ARM: imx31: Remove remaining i.MX31 board code
  ARM: imx3: Remove imx3 soc_init()
  ARM: imx: Remove iomux-v3 board code
  ARM: imx: Remove imx device directory
  ARM: imx: Remove remnant board file support pieces

 arch/arm/mach-imx/3ds_debugboard.c            |  207 ---
 arch/arm/mach-imx/3ds_debugboard.h            |   11 -
 arch/arm/mach-imx/Kconfig                     |   11 -
 arch/arm/mach-imx/Makefile                    |    9 +-
 arch/arm/mach-imx/board-mx31lilly.h           |   28 -
 arch/arm/mach-imx/board-mx31lite.h            |   29 -
 arch/arm/mach-imx/board-mx31moboard.h         |   30 -
 arch/arm/mach-imx/common.h                    |   15 -
 arch/arm/mach-imx/devices-imx27.h             |   86 --
 arch/arm/mach-imx/devices-imx31.h             |   80 --
 arch/arm/mach-imx/devices-imx35.h             |   87 --
 arch/arm/mach-imx/devices/Kconfig             |   71 -
 arch/arm/mach-imx/devices/Makefile            |   28 -
 arch/arm/mach-imx/devices/devices-common.h    |  293 ----
 arch/arm/mach-imx/devices/devices.c           |   35 -
 arch/arm/mach-imx/devices/platform-fec.c      |   49 -
 arch/arm/mach-imx/devices/platform-flexcan.c  |   45 -
 .../mach-imx/devices/platform-fsl-usb2-udc.c  |   51 -
 arch/arm/mach-imx/devices/platform-gpio-mxc.c |   31 -
 .../arm/mach-imx/devices/platform-gpio_keys.c |   15 -
 arch/arm/mach-imx/devices/platform-imx-dma.c  |   44 -
 arch/arm/mach-imx/devices/platform-imx-fb.c   |   47 -
 arch/arm/mach-imx/devices/platform-imx-i2c.c  |   74 -
 .../mach-imx/devices/platform-imx-keypad.c    |   54 -
 arch/arm/mach-imx/devices/platform-imx-ssi.c  |   86 --
 arch/arm/mach-imx/devices/platform-imx-uart.c |   92 --
 arch/arm/mach-imx/devices/platform-imx2-wdt.c |   52 -
 .../arm/mach-imx/devices/platform-imx21-hcd.c |   38 -
 .../mach-imx/devices/platform-imx27-coda.c    |   34 -
 arch/arm/mach-imx/devices/platform-ipu-core.c |  127 --
 .../mach-imx/devices/platform-mx2-camera.c    |   59 -
 arch/arm/mach-imx/devices/platform-mx2-emma.c |   37 -
 arch/arm/mach-imx/devices/platform-mxc-ehci.c |   61 -
 arch/arm/mach-imx/devices/platform-mxc-mmc.c  |   72 -
 arch/arm/mach-imx/devices/platform-mxc_nand.c |   72 -
 arch/arm/mach-imx/devices/platform-mxc_rtc.c  |   43 -
 arch/arm/mach-imx/devices/platform-mxc_w1.c   |   47 -
 arch/arm/mach-imx/devices/platform-pata_imx.c |   45 -
 .../devices/platform-sdhci-esdhc-imx.c        |   64 -
 arch/arm/mach-imx/devices/platform-spi_imx.c  |   78 -
 arch/arm/mach-imx/hardware.h                  |    1 -
 arch/arm/mach-imx/iomux-imx31.c               |  161 ---
 arch/arm/mach-imx/iomux-mx21.h                |  109 --
 arch/arm/mach-imx/iomux-mx27.h                |  192 ---
 arch/arm/mach-imx/iomux-mx2x.h                |  217 ---
 arch/arm/mach-imx/iomux-mx3.h                 |  706 ----------
 arch/arm/mach-imx/iomux-mx35.h                | 1254 -----------------
 arch/arm/mach-imx/iomux-v1.c                  |  174 ---
 arch/arm/mach-imx/iomux-v1.h                  |   81 --
 arch/arm/mach-imx/iomux-v3.c                  |   65 -
 arch/arm/mach-imx/iomux-v3.h                  |  130 --
 arch/arm/mach-imx/mach-imx27.c                |   55 +
 arch/arm/mach-imx/mach-mx31ads.c              |  579 --------
 arch/arm/mach-imx/mm-imx27.c                  |   88 --
 arch/arm/mach-imx/mm-imx3.c                   |  162 ---
 arch/arm/mach-imx/mx21.h                      |  176 ---
 arch/arm/mach-imx/mx31lite-db.c               |  154 --
 arch/arm/mach-imx/pcm037.h                    |   18 -
 arch/arm/mach-imx/ulpi.h                      |   20 -
 59 files changed, 57 insertions(+), 6722 deletions(-)
 delete mode 100644 arch/arm/mach-imx/3ds_debugboard.c
 delete mode 100644 arch/arm/mach-imx/3ds_debugboard.h
 delete mode 100644 arch/arm/mach-imx/board-mx31lilly.h
 delete mode 100644 arch/arm/mach-imx/board-mx31lite.h
 delete mode 100644 arch/arm/mach-imx/board-mx31moboard.h
 delete mode 100644 arch/arm/mach-imx/devices-imx27.h
 delete mode 100644 arch/arm/mach-imx/devices-imx31.h
 delete mode 100644 arch/arm/mach-imx/devices-imx35.h
 delete mode 100644 arch/arm/mach-imx/devices/Kconfig
 delete mode 100644 arch/arm/mach-imx/devices/Makefile
 delete mode 100644 arch/arm/mach-imx/devices/devices-common.h
 delete mode 100644 arch/arm/mach-imx/devices/devices.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-fec.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-flexcan.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-fsl-usb2-udc.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-gpio-mxc.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-gpio_keys.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-dma.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-fb.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-i2c.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-keypad.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-ssi.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx-uart.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx2-wdt.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx21-hcd.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-imx27-coda.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-ipu-core.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mx2-camera.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mx2-emma.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mxc-ehci.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mxc-mmc.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mxc_nand.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mxc_rtc.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-mxc_w1.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-pata_imx.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-sdhci-esdhc-imx.c
 delete mode 100644 arch/arm/mach-imx/devices/platform-spi_imx.c
 delete mode 100644 arch/arm/mach-imx/iomux-imx31.c
 delete mode 100644 arch/arm/mach-imx/iomux-mx21.h
 delete mode 100644 arch/arm/mach-imx/iomux-mx27.h
 delete mode 100644 arch/arm/mach-imx/iomux-mx2x.h
 delete mode 100644 arch/arm/mach-imx/iomux-mx3.h
 delete mode 100644 arch/arm/mach-imx/iomux-mx35.h
 delete mode 100644 arch/arm/mach-imx/iomux-v1.c
 delete mode 100644 arch/arm/mach-imx/iomux-v1.h
 delete mode 100644 arch/arm/mach-imx/iomux-v3.c
 delete mode 100644 arch/arm/mach-imx/iomux-v3.h
 delete mode 100644 arch/arm/mach-imx/mach-mx31ads.c
 delete mode 100644 arch/arm/mach-imx/mm-imx27.c
 delete mode 100644 arch/arm/mach-imx/mx21.h
 delete mode 100644 arch/arm/mach-imx/mx31lite-db.c
 delete mode 100644 arch/arm/mach-imx/pcm037.h
 delete mode 100644 arch/arm/mach-imx/ulpi.h

Comments

Arnd Bergmann Sept. 11, 2020, 2:30 p.m. UTC | #1
On Fri, Sep 11, 2020 at 2:40 PM Fabio Estevam <festevam@gmail.com> wrote:
>
> Now that i.MX board files have been removed, here is another
> round of cleanup that removes unused code.
>
> Fabio Estevam (9):
>   ARM: imx27: Remove imx27_soc_init()
>   ARM: imx27: Remove iomux-v1 board code
>   ARM: imx27: Get rid of mm-imx27.c
>   ARM: imx27: Retrieve AVIC base address from devicetree
>   ARM: imx31: Remove remaining i.MX31 board code
>   ARM: imx3: Remove imx3 soc_init()
>   ARM: imx: Remove iomux-v3 board code
>   ARM: imx: Remove imx device directory
>   ARM: imx: Remove remnant board file support pieces

Nice cleanup!

Whole series (regardless of the one comment I had):

Acked-by: Arnd Bergmann <arnd@arndb.de>
Shawn Guo Sept. 13, 2020, 3:16 a.m. UTC | #2
On Fri, Sep 11, 2020 at 09:40:25AM -0300, Fabio Estevam wrote:
> Now that i.MX board files have been removed, here is another
> round of cleanup that removes unused code.
> 
> Fabio Estevam (9):
>   ARM: imx27: Remove imx27_soc_init()
>   ARM: imx27: Remove iomux-v1 board code
>   ARM: imx27: Get rid of mm-imx27.c
>   ARM: imx27: Retrieve AVIC base address from devicetree
>   ARM: imx31: Remove remaining i.MX31 board code
>   ARM: imx3: Remove imx3 soc_init()
>   ARM: imx: Remove iomux-v3 board code
>   ARM: imx: Remove imx device directory
>   ARM: imx: Remove remnant board file support pieces

Applied all, thanks.