microblaze: Enable random mac generation
authorMichal Simek <michal.simek@xilinx.com>
Wed, 25 Sep 2019 11:17:50 +0000 (13:17 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 8 Oct 2019 07:55:11 +0000 (09:55 +0200)
In case that mac address is not found it is generated randomly.

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

index 1857562cd7b6bfd8fba32f641e5370ea86432c08..7d2859c5c376e2379ec64c7860564cca11dd46e6 100644 (file)
@@ -42,6 +42,7 @@ CONFIG_CMD_JFFS2=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_EMBED=y
 CONFIG_DEFAULT_DEVICE_TREE="microblaze-generic"
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_NETCONSOLE=y
 CONFIG_SPL_DM=y
 CONFIG_XILINX_GPIO=y