zynqmp: enable CONFIG_NET_RANDOM_ETHADDR
authorMichal Simek <michal.simek@xilinx.com>
Wed, 12 Aug 2015 10:58:54 +0000 (12:58 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 19 Aug 2015 09:28:21 +0000 (11:28 +0200)
commitd1221462fece27ad163dcd0c181a456c73fe2011
treec9bd32f96ea2d1a2e01aef3ca825f6be568b1f0e
parentf0600af212301ec121ba6a4afc0a91b6b21a354e
zynqmp: enable CONFIG_NET_RANDOM_ETHADDR

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