diff mbox

[U-Boot,v4,4/6] tegra: imx: omap: enable Moschip USB ethernet support for several boards

Message ID 1394304378-29962-5-git-send-email-gsi@denx.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Gerhard Sittig March 8, 2014, 6:46 p.m. UTC
enable support for the Moschip USB ethernet adapter for those boards
which previously had support for "all other" USB ethernet adapters
(that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk,
mx53loco, nitrogen6x, omap3_beagle

Signed-off-by: Gerhard Sittig <gsi@denx.de>
---

Changes in v4: None

Changes in v3: None

Changes in v2:
- introduce the patch to add MCS7830 USB ethernet to several boards

 include/configs/harmony.h      |    1 +
 include/configs/m53evk.h       |    1 +
 include/configs/mx53loco.h     |    1 +
 include/configs/nitrogen6x.h   |    1 +
 include/configs/omap3_beagle.h |    1 +
 5 files changed, 5 insertions(+)

Comments

Marek Vasut March 8, 2014, 7:39 p.m. UTC | #1
On Saturday, March 08, 2014 at 07:46:16 PM, Gerhard Sittig wrote:
> enable support for the Moschip USB ethernet adapter for those boards
> which previously had support for "all other" USB ethernet adapters
> (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk,
> mx53loco, nitrogen6x, omap3_beagle
> 
> Signed-off-by: Gerhard Sittig <gsi@denx.de>

Acked-by: Marek Vasut <marex@denx.de>

Even though you might want to group them together into some 
CONFIG_USB_ETHERNET_ALL eventually. We don't want to touch all those files once 
we get more and more different USB ethernet chips supported.

Best regards,
Marek Vasut
Hui Liu March 10, 2014, 2:35 a.m. UTC | #2
> -----Original Message-----
> From: Gerhard Sittig [mailto:gsi@denx.de]
> Sent: Sunday, March 09, 2014 2:46 AM
> To: u-boot@lists.denx.de
> Cc: Joe Hershberger; Simon Glass; Marek Vasut; Tom Warren; Tom Rini;
> Marek Vasut; Liu Hui-R64343; Eric Nelson; Markus Hubig; Gerhard Sittig;
> Stephen Warren; Stefano Babic
> Subject: [PATCH v4 4/6] tegra: imx: omap: enable Moschip USB ethernet
> support for several boards
> 
> enable support for the Moschip USB ethernet adapter for those boards
> which previously had support for "all other" USB ethernet adapters
> (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk,
> mx53loco, nitrogen6x, omap3_beagle
> 
> Signed-off-by: Gerhard Sittig <gsi@denx.de>

For the i.mx part:

Acked-by:Jason Liu <r64343@freescale.com>

> ---
> 
> Changes in v4: None
> 
> Changes in v3: None
> 
> Changes in v2:
> - introduce the patch to add MCS7830 USB ethernet to several boards
> 
>  include/configs/harmony.h      |    1 +
>  include/configs/m53evk.h       |    1 +
>  include/configs/mx53loco.h     |    1 +
>  include/configs/nitrogen6x.h   |    1 +
>  include/configs/omap3_beagle.h |    1 +
>  5 files changed, 5 insertions(+)
> 
> diff --git a/include/configs/harmony.h b/include/configs/harmony.h index
> fa66c665ec8c..34b43faeb079 100644
> --- a/include/configs/harmony.h
> +++ b/include/configs/harmony.h
> @@ -62,6 +62,7 @@
>  /* USB networking support */
>  #define CONFIG_USB_HOST_ETHER
>  #define CONFIG_USB_ETHER_ASIX
> +#define CONFIG_USB_ETHER_MCS7830
>  #define CONFIG_USB_ETHER_SMSC95XX
> 
>  /* General networking support */
> diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h index
> bd67603b50a2..16546c28b441 100644
> --- a/include/configs/m53evk.h
> +++ b/include/configs/m53evk.h
> @@ -185,6 +185,7 @@
>  #define CONFIG_USB_STORAGE
>  #define CONFIG_USB_HOST_ETHER
>  #define CONFIG_USB_ETHER_ASIX
> +#define CONFIG_USB_ETHER_MCS7830
>  #define CONFIG_USB_ETHER_SMSC95XX
>  #define CONFIG_MXC_USB_PORT		1
>  #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index 77f856770539..1415584463bc 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -65,6 +65,7 @@
>  #define CONFIG_USB_STORAGE
>  #define CONFIG_USB_HOST_ETHER
>  #define CONFIG_USB_ETHER_ASIX
> +#define CONFIG_USB_ETHER_MCS7830
>  #define CONFIG_USB_ETHER_SMSC95XX
>  #define CONFIG_MXC_USB_PORT	1
>  #define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
> diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
> index ac517ce25ed8..f2db8c515b92 100644
> --- a/include/configs/nitrogen6x.h
> +++ b/include/configs/nitrogen6x.h
> @@ -115,6 +115,7 @@
>  #define CONFIG_USB_STORAGE
>  #define CONFIG_USB_HOST_ETHER
>  #define CONFIG_USB_ETHER_ASIX
> +#define CONFIG_USB_ETHER_MCS7830
>  #define CONFIG_USB_ETHER_SMSC95XX
>  #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
>  #define CONFIG_EHCI_HCD_INIT_AFTER_RESET	/* For OTG port */
> diff --git a/include/configs/omap3_beagle.h
> b/include/configs/omap3_beagle.h index e01a6d9547f9..73eea304d19f 100644
> --- a/include/configs/omap3_beagle.h
> +++ b/include/configs/omap3_beagle.h
> @@ -121,6 +121,7 @@
>  #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3  #define
> CONFIG_USB_HOST_ETHER  #define CONFIG_USB_ETHER_ASIX
> +#define CONFIG_USB_ETHER_MCS7830
>  #define CONFIG_USB_ETHER_SMSC95XX
> 
>  /* GPIO banks */
> --
> 1.7.10.4
> 
>
Tom Rini March 12, 2014, 9:05 p.m. UTC | #3
On Sat, Mar 08, 2014 at 07:46:16PM +0100, Gerhard Sittig wrote:

> enable support for the Moschip USB ethernet adapter for those boards
> which previously had support for "all other" USB ethernet adapters
> (that's Asix _and_ SMSC) enabled -- which applies to harmony, m53evk,
> mx53loco, nitrogen6x, omap3_beagle
> 
> Signed-off-by: Gerhard Sittig <gsi@denx.de>
> Acked-by: Marek Vasut <marex@denx.de>

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

Patch

diff --git a/include/configs/harmony.h b/include/configs/harmony.h
index fa66c665ec8c..34b43faeb079 100644
--- a/include/configs/harmony.h
+++ b/include/configs/harmony.h
@@ -62,6 +62,7 @@ 
 /* USB networking support */
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 #define CONFIG_USB_ETHER_SMSC95XX
 
 /* General networking support */
diff --git a/include/configs/m53evk.h b/include/configs/m53evk.h
index bd67603b50a2..16546c28b441 100644
--- a/include/configs/m53evk.h
+++ b/include/configs/m53evk.h
@@ -185,6 +185,7 @@ 
 #define CONFIG_USB_STORAGE
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_MXC_USB_PORT		1
 #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
index 77f856770539..1415584463bc 100644
--- a/include/configs/mx53loco.h
+++ b/include/configs/mx53loco.h
@@ -65,6 +65,7 @@ 
 #define CONFIG_USB_STORAGE
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_MXC_USB_PORT	1
 #define CONFIG_MXC_USB_PORTSC	(PORT_PTS_UTMI | PORT_PTS_PTW)
diff --git a/include/configs/nitrogen6x.h b/include/configs/nitrogen6x.h
index ac517ce25ed8..f2db8c515b92 100644
--- a/include/configs/nitrogen6x.h
+++ b/include/configs/nitrogen6x.h
@@ -115,6 +115,7 @@ 
 #define CONFIG_USB_STORAGE
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 #define CONFIG_USB_ETHER_SMSC95XX
 #define CONFIG_USB_MAX_CONTROLLER_COUNT 2
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET	/* For OTG port */
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h
index e01a6d9547f9..73eea304d19f 100644
--- a/include/configs/omap3_beagle.h
+++ b/include/configs/omap3_beagle.h
@@ -121,6 +121,7 @@ 
 #define CONFIG_SYS_USB_EHCI_MAX_ROOT_PORTS 3
 #define CONFIG_USB_HOST_ETHER
 #define CONFIG_USB_ETHER_ASIX
+#define CONFIG_USB_ETHER_MCS7830
 #define CONFIG_USB_ETHER_SMSC95XX
 
 /* GPIO banks */