[PATCH] board: s400: generate unique mac address from SoC serial

Neil Armstrong narmstrong at baylibre.com
Mon Sep 28 09:40:43 CEST 2020


On 10/09/2020 10:50, Neil Armstrong wrote:
> Enable unique mac address generation from SoC serial on S400 board.
> 
> Signed-off-by: Neil Armstrong <narmstrong at baylibre.com>
> ---
>  board/amlogic/s400/s400.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/board/amlogic/s400/s400.c b/board/amlogic/s400/s400.c
> index 7e2f0cdae3..b081942dcc 100644
> --- a/board/amlogic/s400/s400.c
> +++ b/board/amlogic/s400/s400.c
> @@ -18,5 +18,7 @@ int misc_init_r(void)
>  {
>  	meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
>  
> +	meson_generate_serial_ethaddr();
> +
>  	return 0;
>  }
> 

Applied to u-boot-amlogic-next


More information about the U-Boot mailing list