[PATCH 9/9] configs: ls1021a-tsn: enable the generation of random Ethernet MAC addresses

Ramon Fried rfried.dev at gmail.com
Tue Sep 28 15:26:46 CEST 2021


On Tue, Sep 28, 2021 at 2:48 AM Vladimir Oltean <vladimir.oltean at nxp.com> wrote:
>
> Don't fail when booting a board with an empty EEPROM for MAC addresses.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean at nxp.com>
> ---
>  configs/ls1021atsn_qspi_defconfig   | 1 +
>  configs/ls1021atsn_sdcard_defconfig | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/configs/ls1021atsn_qspi_defconfig b/configs/ls1021atsn_qspi_defconfig
> index cb89f73583d9..f8854a4976c0 100644
> --- a/configs/ls1021atsn_qspi_defconfig
> +++ b/configs/ls1021atsn_qspi_defconfig
> @@ -42,6 +42,7 @@ CONFIG_SPI_FLASH_DATAFLASH=y
>  CONFIG_PHY_ATHEROS=y
>  CONFIG_PHY_BROADCOM=y
>  CONFIG_PHY_FIXED=y
> +CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_DM_ETH=y
>  CONFIG_DM_MDIO=y
>  CONFIG_DM_DSA=y
> diff --git a/configs/ls1021atsn_sdcard_defconfig b/configs/ls1021atsn_sdcard_defconfig
> index 49cd3edcb68c..ba17febc4f40 100644
> --- a/configs/ls1021atsn_sdcard_defconfig
> +++ b/configs/ls1021atsn_sdcard_defconfig
> @@ -53,6 +53,7 @@ CONFIG_SPI_FLASH_DATAFLASH=y
>  CONFIG_PHY_ATHEROS=y
>  CONFIG_PHY_BROADCOM=y
>  CONFIG_PHY_FIXED=y
> +CONFIG_NET_RANDOM_ETHADDR=y
>  CONFIG_DM_ETH=y
>  CONFIG_DM_MDIO=y
>  CONFIG_DM_DSA=y
> --
> 2.25.1
>
Reviewed-by: Ramon Fried <rfried.dev at gmail.com>


More information about the U-Boot mailing list