[PATCH 0/2] arm: mach-k3: am64x: Add reset cause for cpuinfo
Bryan Brattlof
bb at ti.com
Wed Sep 10 16:47:12 CEST 2025
On August 31, 2025 thus sayeth Steffen Kothe:
> 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(+)
Works for me! Thanks for patching this up
Reviewed-by: Bryan Brattlof <bb at ti.com>
~Bryan
More information about the U-Boot
mailing list