u-boot-mvebu: clearfog: implement distro-boot
[openwrt/openwrt.git] / package / boot / uboot-mvebu / patches / 0001-clearfog-generate-random-MAC-address.patch
1 From ee16ee20205ea374613c3ac7f50209451eb29068 Mon Sep 17 00:00:00 2001
2 From: Josua Mayer <josua.mayer97@gmail.com>
3 Date: Sun, 23 Apr 2017 18:02:40 +0200
4 Subject: [PATCH 1/4] clearfog: generate random MAC address
5
6 The Clearfog does not come with predetermined MACs.
7 Falling back to random ones ensures ethernet can still operate anyway.
8
9 Signed-off-by: Josua Mayer >josua.mayer97@gmail.com>
10 ---
11 configs/clearfog_defconfig | 1 +
12 1 file changed, 1 insertion(+)
13
14 diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
15 index 1264871e83..41e94e6daf 100644
16 --- a/configs/clearfog_defconfig
17 +++ b/configs/clearfog_defconfig
18 @@ -47,6 +47,7 @@ CONFIG_DEBUG_UART=y
19 CONFIG_DEBUG_UART_BASE=0xd0012000
20 CONFIG_DEBUG_UART_CLOCK=250000000
21 CONFIG_DEBUG_UART_SHIFT=2
22 +CONFIG_NET_RANDOM_ETHADDR=y
23 CONFIG_SYS_NS16550=y
24 CONFIG_USB=y
25 CONFIG_DM_USB=y
26 --
27 2.12.2
28