[PATCH 03/11] rockchip: rk3288-miqi: Set ethaddr env based on cpuid
Kever Yang
kever.yang at rock-chips.com
Wed Nov 6 11:41:27 CET 2024
On 2024/11/6 05:51, Jonas Karlman wrote:
> Enable Kconfig options to read cpuid from efuse and set cpuid#, serial#
> and ethaddr env vars based on the value read from efuse.
>
> Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
Reviewed-by: Kever Yang <kever.yang at rock-chips.com>
Thanks,
- Kever
> ---
> configs/miqi-rk3288_defconfig | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/configs/miqi-rk3288_defconfig b/configs/miqi-rk3288_defconfig
> index 5595352f03aa..764b4351e94c 100644
> --- a/configs/miqi-rk3288_defconfig
> +++ b/configs/miqi-rk3288_defconfig
> @@ -27,6 +27,7 @@ CONFIG_DEBUG_UART=y
> # CONFIG_ANDROID_BOOT_IMAGE is not set
> CONFIG_USE_PREBOOT=y
> CONFIG_DEFAULT_FDT_FILE="rk3288-miqi.dtb"
> +CONFIG_MISC_INIT_R=y
> CONFIG_SILENT_CONSOLE=y
> CONFIG_DISPLAY_BOARDINFO_LATE=y
> CONFIG_SPL_PAD_TO=0x7f8000
> @@ -50,7 +51,6 @@ CONFIG_SPL_OF_CONTROL=y
> CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
> CONFIG_ENV_IS_IN_MMC=y
> CONFIG_SYS_RELOC_GD_ENV_ADDR=y
> -CONFIG_NET_RANDOM_ETHADDR=y
> CONFIG_REGMAP=y
> CONFIG_SPL_REGMAP=y
> CONFIG_SYSCON=y
> @@ -61,6 +61,8 @@ CONFIG_SPL_CLK=y
> CONFIG_FASTBOOT_CMD_OEM_FORMAT=y
> CONFIG_ROCKCHIP_GPIO=y
> CONFIG_SYS_I2C_ROCKCHIP=y
> +CONFIG_MISC=y
> +CONFIG_ROCKCHIP_EFUSE=y
> CONFIG_MMC_DW=y
> CONFIG_MMC_DW_ROCKCHIP=y
> CONFIG_ETH_DESIGNWARE=y
More information about the U-Boot
mailing list