]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3568: Read cpuid from otp
authorJonas Karlman <jonas@kwiboo.se>
Wed, 22 Feb 2023 22:44:41 +0000 (22:44 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 28 Feb 2023 10:07:28 +0000 (18:07 +0800)
commit2eedb6d93fcbb5a2038c687faada51bb92aec6ea
tree06949568edd28df52b237a4f51bff9d8f7bdeb37
parent628fb0683b65269a121c1cbc3a0d4f5adb4ecf13
rockchip: rk3568: Read cpuid from otp

The cpuid on RK3568 is located at 0xa instead of 0x7 as all other SoCs.
Add and use a CFG_CPUID_OFFSET to define this offset.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk356x-u-boot.dtsi
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/board.c
include/configs/rk3568_common.h
include/configs/rockchip-common.h