summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-08-29 15:24:01 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-10-23 07:28:37 +0800
commit25ea1661128959c08f546b6497598fcc16e603c4 (patch)
tree4bc5f3214e806fdfe10bc2b376dffe19ac02afb1
parentca1d80c02f6b5c227311e287bb05122e04ade1c6 (diff)
downloadu-boot-25ea1661128959c08f546b6497598fcc16e603c4.tar.gz
u-boot-25ea1661128959c08f546b6497598fcc16e603c4.tar.bz2
u-boot-25ea1661128959c08f546b6497598fcc16e603c4.zip
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>
-rw-r--r--configs/nios2-generic_defconfig1
1 files changed, 1 insertions, 0 deletions
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