]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3328: Read cpuid and generate MAC address from efuse
authorChen-Yu Tsai <wens@csie.org>
Mon, 12 Feb 2024 13:51:04 +0000 (21:51 +0800)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 14 Mar 2024 03:40:49 +0000 (11:40 +0800)
The rockchip-efuse driver supports the efuse found on RK3328. This
hardware block is part of the SoC and contains the CPUID, which can
be used to generate stable serial numbers and MAC addresses.

Enable the driver and reading cpuid by default for RK3328.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Christopher Obbard <chris.obbard@collabora.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
arch/arm/mach-rockchip/Kconfig

index 343361a5327dc39626e8ac0a9c1e1ccf06774091..651e7d7fa6274431890083f21726ea643f70ae0b 100644 (file)
@@ -189,6 +189,9 @@ config ROCKCHIP_RK3328
        select ENABLE_ARM_SOC_BOOT0_HOOK
        select DEBUG_UART_BOARD_INIT
        select SYS_NS16550
+       imply MISC
+       imply ROCKCHIP_EFUSE
+       imply MISC_INIT_R
        help
          The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
          including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two