diff mbox series

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

Message ID 1504602267-31283-6-git-send-email-patrice.chotard@st.com
State Accepted
Commit e9d1257203fdd63f27105cfc4368e80ce4864c92
Delegated to: Tom Rini
Headers show
Series STiH410-B2260: add reset, usb and fastboot support | expand

Commit Message

Patrice CHOTARD Sept. 5, 2017, 9:04 a.m. UTC
From: Patrice Chotard <patrice.chotard@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@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(+)

Comments

Simon Glass Sept. 9, 2017, 4:54 a.m. UTC | #1
On 5 September 2017 at 03:04,  <patrice.chotard@st.com> wrote:
> From: Patrice Chotard <patrice.chotard@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@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(+)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Sept. 22, 2017, 2:18 p.m. UTC | #2
On Tue, Sep 05, 2017 at 11:04:22AM +0200, patrice.chotard@st.com wrote:

> From: Patrice Chotard <patrice.chotard@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@st.com>
> Reviewed-by: Simon Glass <sjg@chromium.org>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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