]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: s400: generate unique mac address from SoC serial
authorNeil Armstrong <narmstrong@baylibre.com>
Thu, 10 Sep 2020 08:50:39 +0000 (10:50 +0200)
committerNeil Armstrong <narmstrong@baylibre.com>
Mon, 5 Oct 2020 15:59:45 +0000 (17:59 +0200)
Enable unique mac address generation from SoC serial on S400 board.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
board/amlogic/s400/s400.c

index 7e2f0cdae32d8f5cb577c6c4513be104a9ef5042..b081942dccfb8753b6f424ac509542f6a0c779f2 100644 (file)
@@ -18,5 +18,7 @@ int misc_init_r(void)
 {
        meson_eth_init(PHY_INTERFACE_MODE_RGMII, 0);
 
+       meson_generate_serial_ethaddr();
+
        return 0;
 }