public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: imx_v6_v7_defconfig: Make usbnet drivers builtin for boot
@ 2018-08-27 12:32 Leonard Crestez
  2018-08-29 14:55 ` Shawn Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Leonard Crestez @ 2018-08-27 12:32 UTC (permalink / raw)
  To: Shawn Guo, Fabio Estevam
  Cc: Peter Chen, Dong Aisheng, Anson Huang, linux-imx, kernel,
	linux-arm-kernel, linux-kernel

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@nxp.com>

---
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-08-29 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-27 12:32 [PATCH] ARM: imx_v6_v7_defconfig: Make usbnet drivers builtin for boot Leonard Crestez
2018-08-29 14:55 ` Shawn Guo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox