[PATCH 0/9] ARM: misc cleanups

Sascha Hauer s.hauer at pengutronix.de
Tue Feb 28 06:30:22 PST 2023


I am working on making it possible to build support for multiple
arch/arm/mach-*/ into the same barebox. Here are some misc cleanups
I stumbled upon while preparing multi arch support.

Sascha Hauer (9):
  ARM: mxs: remove unused mach/clock.h
  ARM: imx: remove unused mach/clock.h
  ARM: rockchip: drop mach/timer.h
  ARM: i.MX: Move imxfb.h to include/platform_data/
  pinctrl: rockchip: Fix uninitialized var warning
  ARM: at91: remove unnecessary configs
  ARM: at91: Switch all boards to multiimage
  at91: consolidate usb-a963 128m images
  ARM: pxa: Move plat/ include files to mach/

 arch/arm/Kconfig                              |   1 +
 arch/arm/boards/animeo_ip/lowlevel.c          |   2 +-
 arch/arm/boards/at91rm9200ek/lowlevel.c       |   2 +-
 arch/arm/boards/at91sam9260ek/lowlevel.c      |  13 +-
 arch/arm/boards/at91sam9261ek/lowlevel_init.c |  11 +-
 arch/arm/boards/at91sam9m10g45ek/lowlevel.c   |   2 +-
 arch/arm/boards/at91sam9m10ihd/lowlevel.c     |   2 +-
 arch/arm/boards/at91sam9n12ek/lowlevel.c      |   2 +-
 .../arm/boards/chumby_falconwing/falconwing.c |   1 -
 .../boards/crystalfontz-cfa10036/cfa10036.c   |   1 -
 arch/arm/boards/dss11/lowlevel.c              |   2 +-
 arch/arm/boards/duckbill/board.c              |   1 -
 .../boards/eukrea_cpuimx25/eukrea_cpuimx25.c  |   2 +-
 .../boards/eukrea_cpuimx27/eukrea_cpuimx27.c  |   2 +-
 arch/arm/boards/freescale-mx21-ads/imx21ads.c |   2 +-
 arch/arm/boards/freescale-mx23-evk/mx23-evk.c |   1 -
 arch/arm/boards/guf-neso/board.c              |   2 +-
 arch/arm/boards/haba-knx/lowlevel.c           |   2 +-
 .../boards/imx233-olinuxino/imx23-olinuxino.c |   1 -
 arch/arm/boards/karo-tx28/tx28-stk5.c         |   1 -
 arch/arm/boards/phytec-phycard-imx27/pca100.c |   2 +-
 arch/arm/boards/phytec-phycore-imx27/pcm038.c |   2 +-
 arch/arm/boards/pm9261/lowlevel_init.c        |   2 +-
 arch/arm/boards/pm9263/lowlevel_init.c        |   2 +-
 arch/arm/boards/pm9g45/lowlevel.c             |   2 +-
 arch/arm/boards/qil-a926x/lowlevel.c          |  13 +-
 arch/arm/boards/telit-evk-pro3/lowlevel.c     |   2 +-
 .../arm/boards/tny-a926x/tny_a9260_lowlevel.c |  13 +-
 .../arm/boards/tny-a926x/tny_a9263_lowlevel.c |   2 +-
 .../arm/boards/usb-a926x/usb_a9260_lowlevel.c |  13 +-
 .../arm/boards/usb-a926x/usb_a9263_lowlevel.c |  21 +-
 arch/arm/configs/qil_a9260_128mib_defconfig   |  73 ---
 arch/arm/configs/qil_a9g20_128mib_defconfig   |  73 ---
 .../usb_a9263_128mib_bootstrap_defconfig      |  24 -
 arch/arm/configs/usb_a9263_128mib_defconfig   |  77 ---
 arch/arm/configs/usb_a9g20_128mib_defconfig   |  83 ----
 arch/arm/mach-at91/Kconfig                    |   7 -
 arch/arm/mach-imx/include/mach/clock.h        |   3 -
 arch/arm/mach-imx/include/mach/devices.h      |   2 +-
 arch/arm/mach-mxs/clocksource-imx23.c         |   1 -
 arch/arm/mach-mxs/clocksource-imx28.c         |   1 -
 arch/arm/mach-mxs/include/mach/clock.h        |   7 -
 arch/arm/mach-pxa/include/mach/gpio.h         |  38 +-
 arch/arm/mach-pxa/include/mach/mfp-pxa2xx.h   |   2 +-
 arch/arm/mach-pxa/include/mach/mfp-pxa3xx.h   |   2 +-
 arch/arm/mach-pxa/include/mach/mfp.h          | 460 ++++++++++++++++-
 arch/arm/mach-pxa/include/plat/gpio.h         |  42 --
 arch/arm/mach-pxa/include/plat/mfp.h          | 469 ------------------
 arch/arm/mach-pxa/mfp-pxa3xx.c                |   2 +-
 arch/arm/mach-rockchip/include/mach/timer.h   |  19 -
 drivers/clocksource/rk_timer.c                |  10 +-
 drivers/mci/mxs.c                             |   1 -
 drivers/pinctrl/pinctrl-rockchip.c            |   2 +-
 drivers/serial/serial_auart.c                 |   2 -
 drivers/serial/stm-serial.c                   |   1 -
 drivers/spi/mxs_spi.c                         |   1 -
 drivers/video/imx-ipu-fb.c                    |   2 +-
 drivers/video/imx.c                           |   2 +-
 images/Makefile.at91                          |  96 ++++
 .../mach => include/platform_data}/imxfb.h    |   0
 60 files changed, 695 insertions(+), 934 deletions(-)
 delete mode 100644 arch/arm/configs/qil_a9260_128mib_defconfig
 delete mode 100644 arch/arm/configs/qil_a9g20_128mib_defconfig
 delete mode 100644 arch/arm/configs/usb_a9263_128mib_bootstrap_defconfig
 delete mode 100644 arch/arm/configs/usb_a9263_128mib_defconfig
 delete mode 100644 arch/arm/configs/usb_a9g20_128mib_defconfig
 delete mode 100644 arch/arm/mach-imx/include/mach/clock.h
 delete mode 100644 arch/arm/mach-mxs/include/mach/clock.h
 delete mode 100644 arch/arm/mach-pxa/include/plat/gpio.h
 delete mode 100644 arch/arm/mach-pxa/include/plat/mfp.h
 delete mode 100644 arch/arm/mach-rockchip/include/mach/timer.h
 rename {arch/arm/mach-imx/include/mach => include/platform_data}/imxfb.h (100%)

-- 
2.30.2




More information about the barebox mailing list