[U-Boot] [PATCHv2 1/5] igep00x0: enable CONFIG_NET_RANDOM_ETHADDR

Enric Balletbo i Serra eballetbo at gmail.com
Mon Jan 4 23:07:58 CET 2016


Enable CONFIG_NET_RANDOM_ETHADDR to generate a random MAC address
when ETHADDR is not set.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo at collabora.com>
---
 configs/igep0020_defconfig      | 1 +
 configs/igep0020_nand_defconfig | 1 +
 configs/igep0032_defconfig      | 1 +
 3 files changed, 3 insertions(+)

diff --git a/configs/igep0020_defconfig b/configs/igep0020_defconfig
index b9e6711..a96c130 100644
--- a/configs/igep0020_defconfig
+++ b/configs/igep0020_defconfig
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_ONENAND"
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SYS_NS16550=y
+CONFIG_NET_RANDOM_ETHADDR=y
diff --git a/configs/igep0020_nand_defconfig b/configs/igep0020_nand_defconfig
index 011ebac..cf3ee79 100644
--- a/configs/igep0020_nand_defconfig
+++ b/configs/igep0020_nand_defconfig
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0020,BOOT_NAND"
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SYS_NS16550=y
+CONFIG_NET_RANDOM_ETHADDR=y
diff --git a/configs/igep0032_defconfig b/configs/igep0032_defconfig
index ba160ef..b7f1d61 100644
--- a/configs/igep0032_defconfig
+++ b/configs/igep0032_defconfig
@@ -8,3 +8,4 @@ CONFIG_SYS_EXTRA_OPTIONS="MACH_TYPE=MACH_TYPE_IGEP0032,BOOT_ONENAND"
 CONFIG_CMD_GPIO=y
 # CONFIG_CMD_SETEXPR is not set
 CONFIG_SYS_NS16550=y
+CONFIG_NET_RANDOM_ETHADDR=y
-- 
2.1.0



More information about the U-Boot mailing list