rockchip: Enable ETH address randomization for the rock2
authorRomain Perier <romain.perier@collabora.com>
Wed, 11 Jan 2017 10:46:16 +0000 (11:46 +0100)
committerSimon Glass <sjg@chromium.org>
Thu, 12 Jan 2017 03:24:19 +0000 (20:24 -0700)
This commit enables ethernet MAC address randomization on the rock2. It
removes the error at startup 'ethernet@ff290000 address not set'.

Signed-off-by: Romain Perier <romain.perier@collabora.com>
configs/rock2_defconfig

index 95adbdf99c20fc9484b104db292c0f3623000202..488c6f46d3d74a7cecc7a21614f2be268a525532 100644 (file)
@@ -32,6 +32,7 @@ CONFIG_CMD_FAT=y
 CONFIG_CMD_FS_GENERIC=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names clock-names interrupt-parent"
+CONFIG_NET_RANDOM_ETHADDR=y
 CONFIG_REGMAP=y
 CONFIG_SPL_REGMAP=y
 CONFIG_SYSCON=y