提交 f7c36209 编写于 作者: J Jorge Ramirez-Ortiz 提交者: Kevin Hilman

ARM64: dts: meson s905x: accept MAC addr from u-boot environment

With the adequate configuration settings, u-boot will loop through the
list of aliases looking for "ethernetX".

By adding an ethernet alias, u-boot can fixup the local-mac-address
property in the kernel's device tree using a value held in its
environment variable ethaddr.
Tested-by: NJorge Ramirez-Ortiz <jramirez@baylibre.com>
Signed-off-by: NJorge Ramirez-Ortiz <jramirez@baylibre.com>
Signed-off-by: NKevin Hilman <khilman@baylibre.com>
上级 3e5925c6
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
aliases { aliases {
serial0 = &uart_AO; serial0 = &uart_AO;
ethernet0 = &ethmac;
}; };
chosen { chosen {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册