]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Merge patch series "Print Reset Reason for K3 based devices"
authorTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:32:52 +0000 (08:32 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 29 May 2025 14:32:52 +0000 (08:32 -0600)
Wadim Egorov <w.egorov@phytec.de> says:

Although AM62x, AM62Ax, AM64x, and AM62Px share the same register for
reset reason, not all TRMs document this consistently. To avoid relying
on undocumented behavior, introduce SoC-specific implementations for
now. If TI confirms all SoCs share the same register, this can be moved to
common.c for reuse.

It will be mostly copy&paste for the mentioned devices.

Also, I am not sure how this Register operates exactly. I noticed that
two bits can be set at once, so I started to check for set bits instead
of having a switch/case logic.

Link: https://lore.kernel.org/r/20250515111554.2916254-1-w.egorov@phytec.de

Trivial merge