[PATCH 0/2] arm: mach-k3: am64x: Add reset cause for cpuinfo
Steffen Kothe
steffen.kothe at skothe.net
Sun Aug 31 17:17:04 CEST 2025
Hi together,
AM64X hereby receives support for reset reason printing during boot.
Unfortunately does the AM64X register mapping slighlty differ from
the AM62X. WDT and PORZ are not part of the reset source register, but
the mapping remains the same for all other causes.
To prevent ifdef/else constructs, I decided to follow a simple
copy/paste approach and adjusted the logic accordingly.
Cheers,
Steffen Kothe
Steffen Kothe (2):
arm: mach-k3: am64_hardware.h: Add CTRLMMR_MCU_RST_SRC reset cause bit
mappings
arm: mach-k3: am64x: Implement get_reset_reason()
arch/arm/mach-k3/am64x/boot.c | 36 +++++++++++++++++++
arch/arm/mach-k3/include/mach/am64_hardware.h | 20 +++++++++++
2 files changed, 56 insertions(+)
--
2.51.0
More information about the U-Boot
mailing list