From 25ea1661128959c08f546b6497598fcc16e603c4 Mon Sep 17 00:00:00 2001
From: Thomas Chou <thomas@wytron.com.tw>
Date: Sat, 29 Aug 2015 15:24:01 +0800
Subject: [PATCH] nios2: enable CONFIG_NET_RANDOM_ETHADDR

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

Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Cc: Joe Hershberger <joe.hershberger@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 5f93394249..f8d282168f 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.39.5