[PATCH 0/5] board: sl28: add basic PSCI implementation

Michael Walle michael at walle.cc
Fri Nov 26 17:34:20 CET 2021


Add PSCI support to reset and power-off the board. Because this board can
be used without TF-A, supply a (mandatory) PSCI implementation.

The armv8 u-boot part already contains most bits for the implementation, it
is just, that it isn't compatible with the layerscape parts. Thus, we first
need to clean that up and then we can add our three little functions for
the PSCI support.

Michael Walle (5):
  armv8: include psci_update_dt() unconditionally
  armv8: layerscape: get rid of smc_call()
  armv8: psci: skip setup code if we are not EL3
  armv8: psci: add ARMV8_PSCI_RELOCATE Kconfig option
  board: sl28: add basic PSCI implementation

 arch/arm/cpu/armv8/Kconfig                | 30 +++++++++-----
 arch/arm/cpu/armv8/cpu-dt.c               |  7 ++--
 arch/arm/cpu/armv8/cpu.c                  |  3 ++
 arch/arm/cpu/armv8/fsl-layerscape/Kconfig |  3 ++
 arch/arm/cpu/armv8/fsl-layerscape/cpu.c   | 49 +++++++++--------------
 arch/arm/cpu/armv8/fsl-layerscape/mp.c    | 11 ++---
 arch/arm/cpu/armv8/sec_firmware.c         | 19 ++++-----
 board/freescale/ls1043ardb/Kconfig        |  8 ----
 board/kontron/sl28/Makefile               |  2 +
 board/kontron/sl28/psci.c                 | 42 +++++++++++++++++++
 10 files changed, 103 insertions(+), 71 deletions(-)
 create mode 100644 board/kontron/sl28/psci.c

-- 
2.30.2



More information about the U-Boot mailing list