[U-Boot] [PATCH v10 05/10] STiH410-B2260: enable USB Host Networking

patrice.chotard at st.com patrice.chotard at st.com
Tue Sep 5 09:04:22 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

Enable USB Host Networking support by enabling Ethernet/USB
adaptors support and by enabling some BOOTP flags

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---

v10:	_ remove obsolete CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS
v9:	_ none
v8:	_ none
v7:	_ none
v6:	_ add reviewed-by Simon Glass
	_ add missing comment in commit message
v5:	_ none
v4:	_ none
v3:	_ none
v2:	_ none

 include/configs/stih410-b2260.h | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index e07dd0e..372c083 100644
--- a/include/configs/stih410-b2260.h
+++ b/include/configs/stih410-b2260.h
@@ -45,4 +45,19 @@
 
 #define CONFIG_SKIP_LOWLEVEL_INIT
 
+/* USB Configs */
+#define CONFIG_USB_OHCI_NEW
+#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS	2
+
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
+#define CONFIG_USB_ETHER_SMSC95XX
+
+/* NET Configs */
+#define CONFIG_BOOTP_SUBNETMASK
+#define CONFIG_BOOTP_GATEWAY
+#define CONFIG_BOOTP_HOSTNAME
+#define CONFIG_BOOTP_BOOTPATH
+
 #endif /* __CONFIG_H */
-- 
1.9.1



More information about the U-Boot mailing list