]> git.baikalelectronics.ru Git - uboot.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)
commit9c82b6db86dcc5b8838e8465f5e0b2163379675f
tree06949568edd28df52b237a4f51bff9d8f7bdeb37
parent810c9dd1f1df4605a959e552a4a104a966078dff
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