[PATCH 0/2] Enable reset_cpu() in SPL for ZynqMP
lukas.funke-oss at weidmueller.com
lukas.funke-oss at weidmueller.com
Mon Jun 3 15:34:45 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.
The series also introduces SPL_ZYNQMP_FIRMWARE Kconfig symbol in order
to make 'CONFIG_IS_ENABLED()' work in SPL.
Lukas Funke (2):
arm64: zynqmp: Add 'SPL_ZYNQMP_FIRMWARE' to Kconfig
xilinx: zynqmp: Enable reset_cpu() in SPL
arch/arm/mach-zynqmp/Kconfig | 2 +-
arch/arm/mach-zynqmp/aes.c | 2 ++
arch/arm/mach-zynqmp/cpu.c | 4 ++--
board/xilinx/zynqmp/zynqmp.c | 13 +++++++++++--
drivers/firmware/Kconfig | 5 +++++
drivers/mmc/zynq_sdhci.c | 4 ++--
drivers/pinctrl/Kconfig | 2 +-
7 files changed, 24 insertions(+), 8 deletions(-)
--
2.30.2
More information about the U-Boot
mailing list