[PATCH] ARM: imx_v6_v7_defconfig: Make usbnet drivers builtin for boot

From: Leonard Crestez
Date: Mon Aug 27 2018 - 08:33:05 EST


Chips such as imx6sll and imx7ulp have no ethernet support so the common
development usecase of nfs boot is supported via usb ethernet dongles.

Add drivers for additional usbnet device directly into the kernel image
image produced by the imx defconfig.

This list is based on the usbnet devices supported by uboot.

Signed-off-by: Leonard Crestez <leonard.crestez@xxxxxxx>

---
This is not a very pretty solution but very convenient.
---
arch/arm/configs/imx_v6_v7_defconfig | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/arch/arm/configs/imx_v6_v7_defconfig b/arch/arm/configs/imx_v6_v7_defconfig
index e2c127608bcc..7474bb5b3a6f 100644
--- a/arch/arm/configs/imx_v6_v7_defconfig
+++ b/arch/arm/configs/imx_v6_v7_defconfig
@@ -147,13 +147,16 @@ CONFIG_SMSC911X=y
CONFIG_AT803X_PHY=y
CONFIG_MICREL_PHY=y
CONFIG_SMSC_PHY=y
CONFIG_USB_PEGASUS=m
CONFIG_USB_RTL8150=m
-CONFIG_USB_RTL8152=m
+CONFIG_USB_RTL8152=y
+CONFIG_USB_LAN78XX=y
CONFIG_USB_USBNET=y
CONFIG_USB_NET_CDC_EEM=m
+CONFIG_USB_NET_SMSC95XX=y
+CONFIG_USB_NET_MCS7830=y
CONFIG_BRCMFMAC=m
CONFIG_MWIFIEX=m
CONFIG_MWIFIEX_SDIO=m
CONFIG_MWIFIEX_PCIE=m
CONFIG_WL12XX=m
--
2.17.1