From: Tom Rini Date: Thu, 29 May 2025 14:32:52 +0000 (-0600) Subject: Merge patch series "Print Reset Reason for K3 based devices" X-Git-Tag: v2025.10-rc1~118^2~64 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4c0e1d8fad5a63aa56bdb24900267cb03fdc9214;p=thirdparty%2Fu-boot.git Merge patch series "Print Reset Reason for K3 based devices" Wadim Egorov 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 --- 4c0e1d8fad5a63aa56bdb24900267cb03fdc9214