]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mach-k3: am62: move device identification accessor functions to header
authorMax Krummenacher <max.krummenacher@toradex.com>
Wed, 17 Jan 2024 10:16:47 +0000 (11:16 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Jan 2024 16:12:11 +0000 (11:12 -0500)
commit9c68b0427cd75b22758f8b262a6b9e8bcca64320
treea67edf76bc5010592da217943a46b24a85048a86
parenta1f466a9400a5e9570909414af7dc4681284c444
arm: mach-k3: am62: move device identification accessor functions to header

mach-k3/am625_fdt.c does fdt fixup depending on fields in the device
identification register. Move the accessors to the device identification
register as inline functions into the am62_hardware.h header, so that
they can be used for other functionality.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
arch/arm/mach-k3/am625_fdt.c
arch/arm/mach-k3/include/mach/am62_hardware.h