summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2016-11-16 14:07:53 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:24:35 +0800
commit63c2e1de37e1e24f35279f50efa5a330e2cb3d07 (patch)
tree6b6886199f92ec64f639f97dc35ab32f08669c22
parentbe3d3d5c140a1617c1ce35e8657f2d45bc8c70eb (diff)
downloadu-boot-imx-63c2e1de37e1e24f35279f50efa5a330e2cb3d07.zip
u-boot-imx-63c2e1de37e1e24f35279f50efa5a330e2cb3d07.tar.gz
u-boot-imx-63c2e1de37e1e24f35279f50efa5a330e2cb3d07.tar.bz2
MLK-13547 configs: mx7ulp_evk: enable ethernet boot support
Since we can use USB ethernet instead of local ethernet, add ethernet support for it. To use USB ethernet function at u-boot, just plug in Micro-AB cable at USBOTG1 port with USB2Ethernet adapter connected. Signed-off-by: Peter Chen <peter.chen@nxp.com> (cherry picked from commit 60ffddf87cf6b8502c5d5fc6540364adfd66ebb3) Signed-off-by: Ye Li <ye.li@nxp.com>
-rw-r--r--configs/mx7ulp_evk_defconfig2
-rw-r--r--configs/mx7ulp_evk_plugin_defconfig2
-rw-r--r--include/configs/mx7ulp_evk.h1
3 files changed, 5 insertions, 0 deletions
diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig
index 5907de4..2f8f5ca 100644
--- a/configs/mx7ulp_evk_defconfig
+++ b/configs/mx7ulp_evk_defconfig
@@ -5,6 +5,8 @@ CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk-qspi"
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
CONFIG_HUSH_PARSER=y
CONFIG_CMD_I2C=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_DHCP=y
CONFIG_OF_CONTROL=y
CONFIG_DM=y
CONFIG_DM_GPIO=y
diff --git a/configs/mx7ulp_evk_plugin_defconfig b/configs/mx7ulp_evk_plugin_defconfig
index 3f1a658..1a7bebf 100644
--- a/configs/mx7ulp_evk_plugin_defconfig
+++ b/configs/mx7ulp_evk_plugin_defconfig
@@ -6,6 +6,8 @@ CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk-qspi"
CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/freescale/mx7ulp_evk/imximage.cfg"
CONFIG_HUSH_PARSER=y
CONFIG_CMD_I2C=y
+CONFIG_CMD_PING=y
+CONFIG_CMD_DHCP=y
CONFIG_OF_CONTROL=y
CONFIG_DM=y
CONFIG_DM_GPIO=y
diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h
index 11bdd96..4f7f6fb 100644
--- a/include/configs/mx7ulp_evk.h
+++ b/include/configs/mx7ulp_evk.h
@@ -176,6 +176,7 @@
"else " \
"if run loadimage; then " \
"run mmcboot; " \
+ "else run netboot; " \
"fi; " \
"fi; " \
"fi"