aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-mvebu/patches
diff options
context:
space:
mode:
authorJosua Mayer <josua.mayer97@gmail.com>2018-03-21 00:10:17 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2018-03-31 16:12:39 +0200
commit0a3e07b2f5a5a8b20da173663007cb1f4b8f3eb8 (patch)
tree39202313b8ac1991d66f73939f5cb3c42e8b23f1 /package/boot/uboot-mvebu/patches
parent4b486e32fb34567fe8b04aea552225db699813e1 (diff)
downloadupstream-0a3e07b2f5a5a8b20da173663007cb1f4b8f3eb8.tar.gz
upstream-0a3e07b2f5a5a8b20da173663007cb1f4b8f3eb8.tar.bz2
upstream-0a3e07b2f5a5a8b20da173663007cb1f4b8f3eb8.zip
u-boot-mvebu: set configuration options in Makefile
CONFIG_* variables can easily be set by overriding Build/Configure. so set NET_RANDOM_ETHADDR=y and CMD_SETEXPR=y here. This replaces the following patches: 0001-clearfog-generate-random-MAC-address.patch 0004-clearfog-enable-setexpr-command-by-default.patch Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
Diffstat (limited to 'package/boot/uboot-mvebu/patches')
-rw-r--r--package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch28
-rw-r--r--package/boot/uboot-mvebu/patches/0004-clearfog-enable-setexpr-command-by-default.patch24
2 files changed, 0 insertions, 52 deletions
diff --git a/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch b/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch
deleted file mode 100644
index c34616292a..0000000000
--- a/package/boot/uboot-mvebu/patches/0001-clearfog-generate-random-MAC-address.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From ee16ee20205ea374613c3ac7f50209451eb29068 Mon Sep 17 00:00:00 2001
-From: Josua Mayer <josua.mayer97@gmail.com>
-Date: Sun, 23 Apr 2017 18:02:40 +0200
-Subject: [PATCH 1/4] clearfog: generate random MAC address
-
-The Clearfog does not come with predetermined MACs.
-Falling back to random ones ensures ethernet can still operate anyway.
-
-Signed-off-by: Josua Mayer >josua.mayer97@gmail.com>
----
- configs/clearfog_defconfig | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/configs/clearfog_defconfig b/configs/clearfog_defconfig
-index 1264871e83..41e94e6daf 100644
---- a/configs/clearfog_defconfig
-+++ b/configs/clearfog_defconfig
-@@ -47,6 +47,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
---
-2.12.2
-
diff --git a/package/boot/uboot-mvebu/patches/0004-clearfog-enable-setexpr-command-by-default.patch b/package/boot/uboot-mvebu/patches/0004-clearfog-enable-setexpr-command-by-default.patch
deleted file mode 100644
index ca734660ef..0000000000
--- a/package/boot/uboot-mvebu/patches/0004-clearfog-enable-setexpr-command-by-default.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 7b53a0f5ddf0b1201a09c368b06cd5750d5fbe3a Mon Sep 17 00:00:00 2001
-From: Josua Mayer <josua.mayer97@gmail.com>
-Date: Sun, 23 Apr 2017 17:45:11 +0200
-Subject: [PATCH 4/4] clearfog: enable setexpr command by default
-
-Turns out this command is pretty useful in advanced boot-scripts.
--> enable
-
-Signed-off-by: Josua Mayer <josua.mayer97@gmail.com>
----
- configs/clearfog_defconfig | 1 +
- 1 file changed, 1 insertion(+)
-
---- a/configs/clearfog_defconfig
-+++ b/configs/clearfog_defconfig
-@@ -23,7 +23,7 @@ CONFIG_CMD_SF=y
- CONFIG_CMD_SPI=y
- CONFIG_CMD_I2C=y
- CONFIG_CMD_USB=y
--# CONFIG_CMD_SETEXPR is not set
-+CONFIG_CMD_SETEXPR=y
- CONFIG_CMD_TFTPPUT=y
- CONFIG_CMD_DHCP=y
- CONFIG_CMD_MII=y