[PATCH v2 0/7] ZynqMP: Cleanup and extend board support

Michael Tretter m.tretter at pengutronix.de
Thu Jun 24 08:00:47 PDT 2021


This is v2 of the series to extend the ZynqMP ZCU104 board support.

This series adds support for reset source detection, Barebox environment,
barebox_update and soft reset (via PSCI) for the ZynqMP ZCU104 board. It
extends the zynqmp_defconfig to enable more features that you would probably
want by default on a ZynqMP board. I also added some introductory information
how to build and use Barebox on the ZynqMP.

Compared to v1, I removed the actually unused zynqmp.h file, and changed the
reset source from RESET_UKWN to RESET_JTAG on debugger reset.

Michael

Changelog:

- Set RESET_JTAG on debugger reset
- Remove unused zynqmp.h

Michael Tretter (7):
  ARM: zynqmp: set reset source
  clk: zynqmp: do not enable already enabled clocks
  dts: zcu104: add Barebox environment
  ARM: zynqmp: add update handler
  ARM: zynqmp: zcu104: register update handler
  ARM: zynqmp: defconfig: enable more features
  Documentation: zynqmp: add some documentation

 Documentation/boards/zynqmp.rst               | 40 +++++++++++
 arch/arm/boards/xilinx-zcu104/Makefile        |  1 +
 arch/arm/boards/xilinx-zcu104/board.c         | 18 +++++
 arch/arm/configs/zynqmp_defconfig             | 23 ++++++
 arch/arm/dts/zynqmp-zcu104-revA.dts           | 10 +++
 arch/arm/mach-zynqmp/Makefile                 |  2 +
 .../arm/mach-zynqmp/include/mach/zynqmp-bbu.h | 21 ++++++
 arch/arm/mach-zynqmp/zynqmp-bbu.c             | 48 +++++++++++++
 arch/arm/mach-zynqmp/zynqmp.c                 | 72 +++++++++++++++++++
 drivers/clk/zynqmp/clk-gate-zynqmp.c          |  3 +
 10 files changed, 238 insertions(+)
 create mode 100644 Documentation/boards/zynqmp.rst
 create mode 100644 arch/arm/boards/xilinx-zcu104/board.c
 create mode 100644 arch/arm/mach-zynqmp/include/mach/zynqmp-bbu.h
 create mode 100644 arch/arm/mach-zynqmp/zynqmp-bbu.c
 create mode 100644 arch/arm/mach-zynqmp/zynqmp.c

-- 
2.30.2




More information about the barebox mailing list