diff mbox series

board: s400: generate unique mac address from SoC serial

Message ID 20200910085039.25785-1-narmstrong@baylibre.com
State New
Delegated to: Neil Armstrong
Headers show
Series board: s400: generate unique mac address from SoC serial | expand

Commit Message

Neil Armstrong Sept. 10, 2020, 8:50 a.m. UTC
Enable unique mac address generation from SoC serial on S400 board.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
 board/amlogic/s400/s400.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Neil Armstrong Sept. 28, 2020, 7:40 a.m. UTC | #1
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@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
diff mbox series

Patch

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;
 }