]> git.ipfire.org Git - thirdparty/u-boot.git/commit
sysreset: socfpga: soc64: Enable L2 reset
authorAlif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Mon, 4 Aug 2025 01:24:44 +0000 (18:24 -0700)
committerTien Fong Chee <tien.fong.chee@intel.com>
Fri, 8 Aug 2025 14:20:50 +0000 (22:20 +0800)
commitc8f5166cff0ccdb1966ed786dba88e9548ce632e
tree51a7980a4ce504306ad5af9e2f166fa0813ab688
parent3a1cd4ffd7483465bf24539e9ba94f92dd17cd5d
sysreset: socfpga: soc64: Enable L2 reset

Put all slave CPUs (CPU1-3) into WFI mode. Master CPU (CPU0) writes
the magic word into system manager's scratch register to indicate
the system has performed L2 reset and request reset manager to
perform hardware handshake and then trigger L2 reset. CPU0 put
itself into WFI mode. L2 reset will reboot all HPS CPU cores after
which all HPS cores are in WFI mode. L2 reset is followed by warm
reset request by SPL via RMR_EL3 system register.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
arch/arm/Kconfig
drivers/sysreset/sysreset_socfpga_soc64.c
include/configs/socfpga_soc64_common.h