[U-Boot] [PATCH] nios2: enable CONFIG_NET_RANDOM_ETHADDR

Thomas Chou thomas at wytron.com.tw
Sat Aug 29 09:24:57 CEST 2015


Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address
when ETHADDR is not set.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
Cc: Joe Hershberger <joe.hershberger at ni.com>
---
 configs/nios2-generic_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configs/nios2-generic_defconfig b/configs/nios2-generic_defconfig
index 5f93394..f8d2821 100644
--- a/configs/nios2-generic_defconfig
+++ b/configs/nios2-generic_defconfig
@@ -10,3 +10,4 @@ CONFIG_HUSH_PARSER=y
 CONFIG_CMD_DHCP=y
 # CONFIG_CMD_NFS is not set
 CONFIG_CMD_PING=y
+CONFIG_NET_RANDOM_ETHADDR=y
-- 
2.1.4



More information about the U-Boot mailing list