[PATCH v3 0/1] Enable reset_cpu() in SPL for ZynqMP

lukas.funke-oss at weidmueller.com lukas.funke-oss at weidmueller.com
Fri Jun 7 11:26:07 CEST 2024


From: Lukas Funke <lukas.funke at weidmueller.com>


This series enables the CPU reset in the SPL for ZynqMP based platforms.
This only works if CONFIG_SYSRESET is disabled. This is usually the
case since the the regular sysreset requires bl31 firmware to be loaded
in order to hand the sysreset over to PMU firmware. In SPL we can talk
to the PMU firmware directly and request a CPU reset.


Changes in v3:
- Use 'ZYNQMP_PM_RESET_SOFT' directly
- Add comment on what happens if CONFIG_ZYNQMP_FIRMWARE is not enabled

Changes in v2:
- Drop 2/2 since reworking ZYNQMP_FIRMWARE dependency is out-of-scope

Lukas Funke (1):
  xilinx: zynqmp: Enable reset_cpu() in SPL

 board/xilinx/zynqmp/zynqmp.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)

-- 
2.30.2



More information about the U-Boot mailing list