summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-06-07 16:24:16 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-09 17:12:13 +0100
commit88aa35cdcdd43df418ca1e06143c13346a00bf77 (patch)
tree4659cdf85b9a0ac9bda1f266fb978fa01b2b0657 /meta
parente85889c0872ad8fb44aad28a06039bbde9dbca0b (diff)
downloadpoky-88aa35cdcdd43df418ca1e06143c13346a00bf77.tar.gz
u-boot: enable dhcp for MPC8315 board
Getting ip address from DHCP server is much more convenient than setting static ip. It allows to configure u-boot in more generic way and to avoid hardcoding static ip in u-boot configuration. Enabled dhcp client functionality for Yocto reference hardware MPC8315E-RDB. (From OE-Core rev: fa3a157e437aefa24c473ec53736a26f7e9fd470) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch19
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc4
2 files changed, 22 insertions, 1 deletions
diff --git a/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
new file mode 100644
index 0000000000..cea52b79e6
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
@@ -0,0 +1,19 @@
1Enabled dhcp client functionality for Yocto reference
2hardware MPC8315E-RDB.
3
4Upstream-Status: Pending
5
6Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
7
8diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
9index 4e2b705..b02ab1f 100644
10--- a/configs/MPC8315ERDB_defconfig
11+++ b/configs/MPC8315ERDB_defconfig
12@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
13 CONFIG_CMD_I2C=y
14 CONFIG_CMD_USB=y
15 # CONFIG_CMD_SETEXPR is not set
16+CONFIG_CMD_DHCP=y
17 CONFIG_CMD_MII=y
18 CONFIG_CMD_PING=y
19 CONFIG_CMD_EXT2=y
diff --git a/meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc b/meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc
index 3719aee52d..0e52f27df8 100644
--- a/meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc
+++ b/meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc
@@ -9,6 +9,8 @@ PE = "1"
9# repo during parse 9# repo during parse
10SRCREV = "64c4ffa9fa223f7ae8640f9c8f3044bfa0e3bfda" 10SRCREV = "64c4ffa9fa223f7ae8640f9c8f3044bfa0e3bfda"
11 11
12SRC_URI = "git://git.denx.de/u-boot.git" 12SRC_URI = "git://git.denx.de/u-boot.git \
13 file://MPC8315ERDB-enable-DHCP.patch \
14"
13 15
14S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"