From b9d238f6e240e189299e49654ca3abf53e92cb28 Mon Sep 17 00:00:00 2001 From: Peter Chen Date: Wed, 16 Nov 2016 14:07:53 +0800 Subject: [PATCH] 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 (cherry picked from commit 60ffddf87cf6b8502c5d5fc6540364adfd66ebb3) Signed-off-by: Ye Li (cherry picked from commit 63c2e1de37e1e24f35279f50efa5a330e2cb3d07) (cherry picked from commit c82f3bef0aa0cba4937eb6c39501e446dca01746) --- configs/mx7ulp_evk_defconfig | 2 ++ configs/mx7ulp_evk_plugin_defconfig | 2 ++ include/configs/mx7ulp_evk.h | 1 + 3 files changed, 5 insertions(+) diff --git a/configs/mx7ulp_evk_defconfig b/configs/mx7ulp_evk_defconfig index c7f0665f87..c9f2ec8229 100644 --- a/configs/mx7ulp_evk_defconfig +++ b/configs/mx7ulp_evk_defconfig @@ -12,6 +12,8 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_FAT=y +CONFIG_CMD_PING=y +CONFIG_CMD_DHCP=y CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk-qspi" CONFIG_ENV_IS_IN_MMC=y diff --git a/configs/mx7ulp_evk_plugin_defconfig b/configs/mx7ulp_evk_plugin_defconfig index f97e63a4b9..77c740309b 100644 --- a/configs/mx7ulp_evk_plugin_defconfig +++ b/configs/mx7ulp_evk_plugin_defconfig @@ -12,6 +12,8 @@ CONFIG_CMD_GPIO=y CONFIG_CMD_I2C=y CONFIG_CMD_MMC=y CONFIG_CMD_FAT=y +CONFIG_CMD_PING=y +CONFIG_CMD_DHCP=y CONFIG_OF_CONTROL=y CONFIG_DEFAULT_DEVICE_TREE="imx7ulp-evk-qspi" CONFIG_ENV_IS_IN_MMC=y diff --git a/include/configs/mx7ulp_evk.h b/include/configs/mx7ulp_evk.h index 7ed5280026..e2561c4141 100644 --- a/include/configs/mx7ulp_evk.h +++ b/include/configs/mx7ulp_evk.h @@ -154,6 +154,7 @@ "else " \ "if run loadimage; then " \ "run mmcboot; " \ + "else run netboot; " \ "fi; " \ "fi; " \ "fi" -- 2.17.1