aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-01 15:29:14 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-02 14:43:53 +0200
commit7130833a27929de8c66c4d65bc4b520ecfaf6ea8 (patch)
tree0fec1574f86d0198c712763782dfd9db02faa978 /package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch
parent3242c076492a46ddf5da92fb4bd3de813cab56f4 (diff)
downloadupstream-7130833a27929de8c66c4d65bc4b520ecfaf6ea8.tar.gz
upstream-7130833a27929de8c66c4d65bc4b520ecfaf6ea8.tar.bz2
upstream-7130833a27929de8c66c4d65bc4b520ecfaf6ea8.zip
mvebu: fix boot script for booting from mmc
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch')
-rw-r--r--package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch b/package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch
new file mode 100644
index 0000000000..2dd9f28283
--- /dev/null
+++ b/package/boot/uboot-mvebu/patches/002-enable_random_mac_addr.patch
@@ -0,0 +1,10 @@
+--- a/configs/clearfog_defconfig
++++ b/configs/clearfog_defconfig
+@@ -14,6 +14,7 @@ CONFIG_DEBUG_UART=y
+ CONFIG_DEBUG_UART_BASE=0xd0012000
+ CONFIG_DEBUG_UART_CLOCK=250000000
+ CONFIG_DEBUG_UART_SHIFT=2
++CONFIG_NET_RANDOM_ETHADDR=y
+ CONFIG_SYS_NS16550=y
+ CONFIG_USB=y
+ CONFIG_DM_USB=y