]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
zynqmp: enable CONFIG_NET_RANDOM_ETHADDR
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Aug 2015 10:58:54 +0000 (12:58 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 08:24:18 +0000 (10:24 +0200)
We have to set a MAC address to use network.
Otherwise, the tftpboot command fails with the following message:

  Gem.e000b000 Waiting for PHY auto negotiation to complete........ done
  *** ERROR: `ethaddr' not set

Since commit 92ac52082140 ("net: Remove all references to
CONFIG_ETHADDR and friends"), we can not use CONFIG_ETHADDR.

The easiest way to set a MAC address is to enable
CONFIG_NET_RANDOM_ETHADDR.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
configs/xilinx_zynqmp_ep_defconfig

index 0ee6fe4455d6659ba9ca7c2b8fbbba4effea689c..770c797ffd87df407df2c79a2826bab1e2208dca 100644 (file)
@@ -20,4 +20,5 @@ CONFIG_CMD_DHCP=y
 CONFIG_CMD_PING=y
 CONFIG_CMD_TIME=y
 CONFIG_CMD_TIMER=y
+CONFIG_NET_RANDOM_ETHADDR=y
 # CONFIG_REGEX is not set