[oe-commits] [openembedded-core] 02/25: u-boot: enable dhcp for MPC8315 board

git at git.openembedded.org git at git.openembedded.org
Fri Jun 9 16:12:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit fa3a157e437aefa24c473ec53736a26f7e9fd470
Author: Ed Bartosh <ed.bartosh at linux.intel.com>
AuthorDate: Wed Jun 7 16:24:16 2017 +0300

    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.
    
    Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 .../u-boot/files/MPC8315ERDB-enable-DHCP.patch        | 19 +++++++++++++++++++
 meta/recipes-bsp/u-boot/u-boot-common_2017.05.inc     |  4 +++-
 2 files changed, 22 insertions(+), 1 deletion(-)

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 0000000..cea52b7
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/files/MPC8315ERDB-enable-DHCP.patch
@@ -0,0 +1,19 @@
+Enabled dhcp client functionality for Yocto reference
+hardware MPC8315E-RDB.
+
+Upstream-Status: Pending
+
+Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
+
+diff --git a/configs/MPC8315ERDB_defconfig b/configs/MPC8315ERDB_defconfig
+index 4e2b705..b02ab1f 100644
+--- a/configs/MPC8315ERDB_defconfig
++++ b/configs/MPC8315ERDB_defconfig
+@@ -9,6 +9,7 @@ CONFIG_HUSH_PARSER=y
+ CONFIG_CMD_I2C=y
+ CONFIG_CMD_USB=y
+ # CONFIG_CMD_SETEXPR is not set
++CONFIG_CMD_DHCP=y
+ CONFIG_CMD_MII=y
+ CONFIG_CMD_PING=y
+ 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 3719aee..0e52f27 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"
 # repo during parse
 SRCREV = "64c4ffa9fa223f7ae8640f9c8f3044bfa0e3bfda"
 
-SRC_URI = "git://git.denx.de/u-boot.git"
+SRC_URI = "git://git.denx.de/u-boot.git \
+    file://MPC8315ERDB-enable-DHCP.patch \
+"
 
 S = "${WORKDIR}/git"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list