[PATCH v2 1/2] armv8: Fix get_sctlr() return type
Tom Rini
trini at konsulko.com
Mon Nov 18 15:19:34 CET 2024
On Wed, 06 Nov 2024 20:58:30 -0600, Sam Protsenko wrote:
> SCTLR_EL2 is a 64-bit register [1]. Return its value as long (64 bit)
> instead of int (32 bit) in get_sctlr() to make sure it's not trimmed.
>
> [1] https://developer.arm.com/documentation/ddi0595/2021-06/AArch64-Registers/SCTLR-EL2--System-Control-Register--EL2-?lang=en
>
>
Applied to u-boot/next, thanks!
--
Tom
More information about the U-Boot
mailing list