[PATCH v2 0/5] rockchip: Read cpuid and generate MAC address from efuse for RK3328 and RK3399

Chen-Yu Tsai
2024-02-12T13:51:27Z

Hi folks,

This is v2 of my "read cpuid and generate MAC address from efuse on
RK3328 and RK3399 by default" series.

Changes since v1:
- Also imply "CONFIG_MISC"
- Add back unintentionally removed CONFIG_OF_LIBFDT_OVERLAY=y
- Remove ROCKCHIP_OTP from nanopi-r4s-rk3399_defconfig as requested by
Jonas

This series enables ROCKCHIP_EFUSE and MISC_INIT_R by default for RK3328
and RK3399 so that the cpuid is read from the efuse and used to generate
a serial number and MAC addresses for all boards.

This stacks on top of the recent defconfig update series [1] from Jonas.

[1] https://lore.kernel.org/u-boot/20240207000301.3270722-1-jonas@kwiboo.se/

Chen-Yu Tsai (5):
rockchip: rk3328: Read cpuid and generate MAC address from efuse
rockchip: rk3399: Read cpuid and generate MAC address from efuse
rockchip: rk3328: regenerate defconfigs
rockchip: rk3399: regenerate defconfigs
rockchip: nanopi-r4s: Drop ROCKCHIP_OTP

arch/arm/mach-rockchip/Kconfig | 6 ++++++
configs/chromebook_bob_defconfig | 3 ---
configs/chromebook_kevin_defconfig | 3 ---
configs/eaidk-610-rk3399_defconfig | 1 -
configs/evb-rk3328_defconfig | 3 ---
configs/evb-rk3399_defconfig | 1 -
configs/firefly-rk3399_defconfig | 3 ---
configs/khadas-edge-captain-rk3399_defconfig | 1 -
configs/khadas-edge-rk3399_defconfig | 1 -
configs/khadas-edge-v-rk3399_defconfig | 1 -
configs/leez-rk3399_defconfig | 1 -
configs/nanopc-t4-rk3399_defconfig | 1 -
configs/nanopi-m4-2gb-rk3399_defconfig | 1 -
configs/nanopi-m4-rk3399_defconfig | 1 -
configs/nanopi-m4b-rk3399_defconfig | 1 -
configs/nanopi-neo4-rk3399_defconfig | 1 -
configs/nanopi-r2c-plus-rk3328_defconfig | 3 ---
configs/nanopi-r2c-rk3328_defconfig | 3 ---
configs/nanopi-r2s-rk3328_defconfig | 3 ---
configs/nanopi-r4s-rk3399_defconfig | 4 ----
configs/orangepi-r1-plus-lts-rk3328_defconfig | 3 ---
configs/orangepi-r1-plus-rk3328_defconfig | 3 ---
configs/orangepi-rk3399_defconfig | 1 -
configs/pinebook-pro-rk3399_defconfig | 3 ---
configs/pinephone-pro-rk3399_defconfig | 3 ---
configs/puma-rk3399_defconfig | 3 ---
configs/roc-cc-rk3328_defconfig | 3 ---
configs/roc-pc-mezzanine-rk3399_defconfig | 3 ---
configs/roc-pc-rk3399_defconfig | 3 ---
configs/rock-4c-plus-rk3399_defconfig | 3 ---
configs/rock-4se-rk3399_defconfig | 3 ---
configs/rock-pi-4-rk3399_defconfig | 3 ---
configs/rock-pi-4c-rk3399_defconfig | 3 ---
configs/rock-pi-e-rk3328_defconfig | 3 ---
configs/rock-pi-n10-rk3399pro_defconfig | 2 --
configs/rock64-rk3328_defconfig | 3 ---
configs/rock960-rk3399_defconfig | 2 --
configs/rockpro64-rk3399_defconfig | 3 ---
38 files changed, 6 insertions(+), 86 deletions(-)

--
2.39.2