[PATCH 0/5] ARM: at91: sama5d3_xplained: migrate to DT

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Sep 21 23:49:56 PDT 2021


We have one other DT-enabled SAMA5D3 board already:
microchip-ksz8477-evb, which is basically a sama5d3 xplained in
different form factor and with a switch. Mimic what we do there to get
rid of the sama5d3 board code.

Tested booting first/second stage on SD and second stage after
at91bootstrap on NAND. The first two patches could be cherry-picked
to master.

Ahmad Fatoum (5):
  fs: fat: pbl: support >32M alignment for first partition
  ARM: at91: at91sam9263ek: add device tree check for board code
  Documentation: boards: at91: remove done TODOs
  ARM: at91: sam9_smc: register driver earlier
  ARM: AT91: migrate sama5d3-xplained to DT

 Documentation/boards/at91.rst                 |  16 +-
 .../at91/microchip-sama5d3-xplained.rst       |   8 -
 arch/arm/boards/at91sam9263ek/of_init.c       |   3 +
 arch/arm/boards/sama5d3_xplained/Makefile     |   2 +-
 arch/arm/boards/sama5d3_xplained/board.c      |  73 ++++++
 arch/arm/boards/sama5d3_xplained/init.c       | 241 ------------------
 arch/arm/boards/sama5d3_xplained/lowlevel.c   |  60 ++++-
 arch/arm/configs/at91_multi_defconfig         |   5 +-
 arch/arm/configs/sama5d3_xplained_defconfig   |  80 ------
 arch/arm/dts/Makefile                         |   1 +
 arch/arm/dts/at91-microchip-ksz9477-evb.dts   |   1 +
 arch/arm/dts/at91-sama5d3_xplained.dts        |  50 ++++
 arch/arm/dts/sama5d3.dtsi                     |  23 ++
 arch/arm/mach-at91/Kconfig                    |  14 +-
 arch/arm/mach-at91/sam9_smc.c                 |   2 +-
 common/filetype.c                             |   2 +-
 images/Makefile.at91                          |   9 +
 17 files changed, 235 insertions(+), 355 deletions(-)
 delete mode 100644 Documentation/boards/at91/microchip-sama5d3-xplained.rst
 create mode 100644 arch/arm/boards/sama5d3_xplained/board.c
 delete mode 100644 arch/arm/boards/sama5d3_xplained/init.c
 delete mode 100644 arch/arm/configs/sama5d3_xplained_defconfig
 create mode 100644 arch/arm/dts/at91-sama5d3_xplained.dts
 create mode 100644 arch/arm/dts/sama5d3.dtsi

-- 
2.30.2




More information about the barebox mailing list