u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] configs: Move some usb config in defconfig
@ 2021-10-04  9:23 Patrick Delaunay
  2021-10-04  9:33 ` Mark Kettenis
  2021-10-05  7:01 ` Patrice CHOTARD
  0 siblings, 2 replies; 4+ messages in thread
From: Patrick Delaunay @ 2021-10-04  9:23 UTC (permalink / raw)
  To: u-boot
  Cc: Patrick Delaunay, Aswath Govindraju, Ian Ray, Jaehoon Chung,
	Jagan Teki, Lukasz Majewski, Marek Vasut, Matthias Brugger,
	Oleksandr Suvorov, Patrice Chotard, Rick Chen, Sean Anderson,
	Sebastian Reichel, Simon Glass, U-Boot STM32

Using the tools moveconfig.py to move the following config in the
defconfig files:
 CONFIG_USB_HOST_ETHER
 CONFIG_USB_ETHER_ASIX
 CONFIG_USB_ETHER_MCS7830
 CONFIG_USB_ETHER_SMSC95XX

These option are already migrated since the commit f58ad98a621c ("usb: net:
migrate USB Ethernet adapters to Kconfig") and the commit ae3584498bf8
("usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig").

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

 configs/dh_imx6_defconfig       | 2 ++
 configs/kp_imx6q_tpc_defconfig  | 2 ++
 configs/mx53ppd_defconfig       | 4 ++++
 configs/stih410-b2260_defconfig | 4 ++++
 include/configs/dh_imx6.h       | 2 --
 include/configs/kp_imx6q_tpc.h  | 2 --
 include/configs/mx53ppd.h       | 4 ----
 include/configs/stih410-b2260.h | 5 -----
 8 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
index eb588b68d3..abbb6412e8 100644
--- a/configs/dh_imx6_defconfig
+++ b/configs/dh_imx6_defconfig
@@ -97,6 +97,8 @@ CONFIG_MXC_SPI=y
 CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="dh"
 CONFIG_USB_GADGET_VENDOR_NUM=0x0525
diff --git a/configs/kp_imx6q_tpc_defconfig b/configs/kp_imx6q_tpc_defconfig
index 85fdfad834..bcaa82ab89 100644
--- a/configs/kp_imx6q_tpc_defconfig
+++ b/configs/kp_imx6q_tpc_defconfig
@@ -76,5 +76,7 @@ CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_IMX_THERMAL=y
 CONFIG_USB=y
 # CONFIG_SPL_DM_USB is not set
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
 CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
 CONFIG_IMX_WATCHDOG=y
diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
index 081707f27e..5f39df85ef 100644
--- a/configs/mx53ppd_defconfig
+++ b/configs/mx53ppd_defconfig
@@ -70,6 +70,10 @@ CONFIG_SYSRESET=y
 CONFIG_SYSRESET_WATCHDOG=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_MX5=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
+CONFIG_USB_ETHER_MCS7830=y
+CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_DM_VIDEO=y
 CONFIG_SYS_WHITE_ON_BLACK=y
 CONFIG_VIDEO_IPUV3=y
diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig
index d5ec00e1e0..a7ad277066 100644
--- a/configs/stih410-b2260_defconfig
+++ b/configs/stih410-b2260_defconfig
@@ -53,6 +53,10 @@ CONFIG_USB_EHCI_GENERIC=y
 CONFIG_USB_OHCI_HCD=y
 CONFIG_USB_OHCI_GENERIC=y
 CONFIG_USB_DWC3=y
+CONFIG_USB_HOST_ETHER=y
+CONFIG_USB_ETHER_ASIX=y
+CONFIG_USB_ETHER_MCS7830=y
+CONFIG_USB_ETHER_SMSC95XX=y
 CONFIG_USB_GADGET=y
 CONFIG_USB_GADGET_MANUFACTURER="STMicroelectronics"
 CONFIG_USB_GADGET_VENDOR_NUM=0x483
diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
index 7af8fceb71..ee56eb691a 100644
--- a/include/configs/dh_imx6.h
+++ b/include/configs/dh_imx6.h
@@ -50,8 +50,6 @@
 /* USB Configs */
 #ifdef CONFIG_CMD_USB
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_USB_HOST_ETHER
-#define CONFIG_USB_ETHER_ASIX
 #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
 #define CONFIG_MXC_USB_FLAGS		0
 #define CONFIG_USB_MAX_CONTROLLER_COUNT	2 /* Enabled USB controller number */
diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs/kp_imx6q_tpc.h
index 8471dffe83..3061c96e76 100644
--- a/include/configs/kp_imx6q_tpc.h
+++ b/include/configs/kp_imx6q_tpc.h
@@ -23,8 +23,6 @@
 /* USB Configs */
 #ifdef CONFIG_CMD_USB
 #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
-#define CONFIG_USB_HOST_ETHER
-#define CONFIG_USB_ETHER_ASIX
 #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
 #define CONFIG_MXC_USB_FLAGS		0
 #define CONFIG_USB_MAX_CONTROLLER_COUNT	2 /* Enabled USB controller number */
diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
index b623242256..f8118818b0 100644
--- a/include/configs/mx53ppd.h
+++ b/include/configs/mx53ppd.h
@@ -14,10 +14,6 @@
 #define CONFIG_SYS_FSL_CLK
 
 /* USB Configs */
-#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)
 #define CONFIG_MXC_USB_FLAGS	0
diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
index b1917c9d3f..2fe0900e9f 100644
--- a/include/configs/stih410-b2260.h
+++ b/include/configs/stih410-b2260.h
@@ -57,11 +57,6 @@
 #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 */
 
 #endif /* __CONFIG_H */
-- 
2.25.1


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

* Re: [PATCH] configs: Move some usb config in defconfig
  2021-10-04  9:23 [PATCH] configs: Move some usb config in defconfig Patrick Delaunay
@ 2021-10-04  9:33 ` Mark Kettenis
  2021-10-04  9:35   ` EXT: " Ian Ray
  2021-10-05  7:01 ` Patrice CHOTARD
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Kettenis @ 2021-10-04  9:33 UTC (permalink / raw)
  To: Patrick Delaunay
  Cc: u-boot, patrick.delaunay, a-govindraju, ian.ray, jh80.chung,
	jagan, lukma, marex, mbrugger, oleksandr.suvorov,
	patrice.chotard, rick, seanga2, sebastian.reichel, sjg,
	uboot-stm32

> From: Patrick Delaunay <patrick.delaunay@foss.st.com>
> Date: Mon, 4 Oct 2021 11:23:41 +0200
> 
> Using the tools moveconfig.py to move the following config in the
> defconfig files:
>  CONFIG_USB_HOST_ETHER
>  CONFIG_USB_ETHER_ASIX
>  CONFIG_USB_ETHER_MCS7830
>  CONFIG_USB_ETHER_SMSC95XX
> 
> These option are already migrated since the commit f58ad98a621c ("usb: net:
> migrate USB Ethernet adapters to Kconfig") and the commit ae3584498bf8
> ("usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig").
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>  configs/dh_imx6_defconfig       | 2 ++
>  configs/kp_imx6q_tpc_defconfig  | 2 ++
>  configs/mx53ppd_defconfig       | 4 ++++
>  configs/stih410-b2260_defconfig | 4 ++++
>  include/configs/dh_imx6.h       | 2 --
>  include/configs/kp_imx6q_tpc.h  | 2 --
>  include/configs/mx53ppd.h       | 4 ----
>  include/configs/stih410-b2260.h | 5 -----
>  8 files changed, 12 insertions(+), 13 deletions(-)

Reviewed-by: Mark Kettenis <kettenis@openbsd.org>

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

* Re: EXT: Re: [PATCH] configs: Move some usb config in defconfig
  2021-10-04  9:33 ` Mark Kettenis
@ 2021-10-04  9:35   ` Ian Ray
  0 siblings, 0 replies; 4+ messages in thread
From: Ian Ray @ 2021-10-04  9:35 UTC (permalink / raw)
  To: Mark Kettenis
  Cc: Patrick Delaunay, u-boot, a-govindraju, jh80.chung, jagan, lukma,
	marex, mbrugger, oleksandr.suvorov, patrice.chotard, rick,
	seanga2, sebastian.reichel, sjg, uboot-stm32

On Mon, Oct 04, 2021 at 11:33:45AM +0200, Mark Kettenis wrote:
> 
> > From: Patrick Delaunay <patrick.delaunay@foss.st.com>
> > Date: Mon, 4 Oct 2021 11:23:41 +0200
> > 
> > Using the tools moveconfig.py to move the following config in the
> > defconfig files:
> >  CONFIG_USB_HOST_ETHER
> >  CONFIG_USB_ETHER_ASIX
> >  CONFIG_USB_ETHER_MCS7830
> >  CONFIG_USB_ETHER_SMSC95XX
> > 
> > These option are already migrated since the commit f58ad98a621c ("usb: net:
> > migrate USB Ethernet adapters to Kconfig") and the commit ae3584498bf8
> > ("usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig").
> > 
> > Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> > ---
> > 
> >  configs/dh_imx6_defconfig       | 2 ++
> >  configs/kp_imx6q_tpc_defconfig  | 2 ++
> >  configs/mx53ppd_defconfig       | 4 ++++
> >  configs/stih410-b2260_defconfig | 4 ++++
> >  include/configs/dh_imx6.h       | 2 --
> >  include/configs/kp_imx6q_tpc.h  | 2 --
> >  include/configs/mx53ppd.h       | 4 ----
> >  include/configs/stih410-b2260.h | 5 -----
> >  8 files changed, 12 insertions(+), 13 deletions(-)
> 
> Reviewed-by: Mark Kettenis <kettenis@openbsd.org>
> 

Reviewed-by: Ian Ray <ian.ray@ge.com>


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

* Re: [PATCH] configs: Move some usb config in defconfig
  2021-10-04  9:23 [PATCH] configs: Move some usb config in defconfig Patrick Delaunay
  2021-10-04  9:33 ` Mark Kettenis
@ 2021-10-05  7:01 ` Patrice CHOTARD
  1 sibling, 0 replies; 4+ messages in thread
From: Patrice CHOTARD @ 2021-10-05  7:01 UTC (permalink / raw)
  To: Patrick Delaunay, u-boot
  Cc: Aswath Govindraju, Ian Ray, Jaehoon Chung, Jagan Teki,
	Lukasz Majewski, Marek Vasut, Matthias Brugger,
	Oleksandr Suvorov, Rick Chen, Sean Anderson, Sebastian Reichel,
	Simon Glass, U-Boot STM32

HI Patrick

On 10/4/21 11:23 AM, Patrick Delaunay wrote:
> Using the tools moveconfig.py to move the following config in the
> defconfig files:
>  CONFIG_USB_HOST_ETHER
>  CONFIG_USB_ETHER_ASIX
>  CONFIG_USB_ETHER_MCS7830
>  CONFIG_USB_ETHER_SMSC95XX
> 
> These option are already migrated since the commit f58ad98a621c ("usb: net:
> migrate USB Ethernet adapters to Kconfig") and the commit ae3584498bf8
> ("usb: net: migrate CONFIG_USB_HOST_ETHER to Kconfig").
> 
> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
> ---
> 
>  configs/dh_imx6_defconfig       | 2 ++
>  configs/kp_imx6q_tpc_defconfig  | 2 ++
>  configs/mx53ppd_defconfig       | 4 ++++
>  configs/stih410-b2260_defconfig | 4 ++++
>  include/configs/dh_imx6.h       | 2 --
>  include/configs/kp_imx6q_tpc.h  | 2 --
>  include/configs/mx53ppd.h       | 4 ----
>  include/configs/stih410-b2260.h | 5 -----
>  8 files changed, 12 insertions(+), 13 deletions(-)
> 
> diff --git a/configs/dh_imx6_defconfig b/configs/dh_imx6_defconfig
> index eb588b68d3..abbb6412e8 100644
> --- a/configs/dh_imx6_defconfig
> +++ b/configs/dh_imx6_defconfig
> @@ -97,6 +97,8 @@ CONFIG_MXC_SPI=y
>  CONFIG_SYSRESET=y
>  CONFIG_SYSRESET_WATCHDOG=y
>  CONFIG_USB=y
> +CONFIG_USB_HOST_ETHER=y
> +CONFIG_USB_ETHER_ASIX=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_GADGET_MANUFACTURER="dh"
>  CONFIG_USB_GADGET_VENDOR_NUM=0x0525
> diff --git a/configs/kp_imx6q_tpc_defconfig b/configs/kp_imx6q_tpc_defconfig
> index 85fdfad834..bcaa82ab89 100644
> --- a/configs/kp_imx6q_tpc_defconfig
> +++ b/configs/kp_imx6q_tpc_defconfig
> @@ -76,5 +76,7 @@ CONFIG_SYSRESET_WATCHDOG=y
>  CONFIG_IMX_THERMAL=y
>  CONFIG_USB=y
>  # CONFIG_SPL_DM_USB is not set
> +CONFIG_USB_HOST_ETHER=y
> +CONFIG_USB_ETHER_ASIX=y
>  CONFIG_WATCHDOG_TIMEOUT_MSECS=60000
>  CONFIG_IMX_WATCHDOG=y
> diff --git a/configs/mx53ppd_defconfig b/configs/mx53ppd_defconfig
> index 081707f27e..5f39df85ef 100644
> --- a/configs/mx53ppd_defconfig
> +++ b/configs/mx53ppd_defconfig
> @@ -70,6 +70,10 @@ CONFIG_SYSRESET=y
>  CONFIG_SYSRESET_WATCHDOG=y
>  CONFIG_USB=y
>  CONFIG_USB_EHCI_MX5=y
> +CONFIG_USB_HOST_ETHER=y
> +CONFIG_USB_ETHER_ASIX=y
> +CONFIG_USB_ETHER_MCS7830=y
> +CONFIG_USB_ETHER_SMSC95XX=y
>  CONFIG_DM_VIDEO=y
>  CONFIG_SYS_WHITE_ON_BLACK=y
>  CONFIG_VIDEO_IPUV3=y
> diff --git a/configs/stih410-b2260_defconfig b/configs/stih410-b2260_defconfig
> index d5ec00e1e0..a7ad277066 100644
> --- a/configs/stih410-b2260_defconfig
> +++ b/configs/stih410-b2260_defconfig
> @@ -53,6 +53,10 @@ CONFIG_USB_EHCI_GENERIC=y
>  CONFIG_USB_OHCI_HCD=y
>  CONFIG_USB_OHCI_GENERIC=y
>  CONFIG_USB_DWC3=y
> +CONFIG_USB_HOST_ETHER=y
> +CONFIG_USB_ETHER_ASIX=y
> +CONFIG_USB_ETHER_MCS7830=y
> +CONFIG_USB_ETHER_SMSC95XX=y
>  CONFIG_USB_GADGET=y
>  CONFIG_USB_GADGET_MANUFACTURER="STMicroelectronics"
>  CONFIG_USB_GADGET_VENDOR_NUM=0x483
> diff --git a/include/configs/dh_imx6.h b/include/configs/dh_imx6.h
> index 7af8fceb71..ee56eb691a 100644
> --- a/include/configs/dh_imx6.h
> +++ b/include/configs/dh_imx6.h
> @@ -50,8 +50,6 @@
>  /* USB Configs */
>  #ifdef CONFIG_CMD_USB
>  #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
> -#define CONFIG_USB_HOST_ETHER
> -#define CONFIG_USB_ETHER_ASIX
>  #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
>  #define CONFIG_MXC_USB_FLAGS		0
>  #define CONFIG_USB_MAX_CONTROLLER_COUNT	2 /* Enabled USB controller number */
> diff --git a/include/configs/kp_imx6q_tpc.h b/include/configs/kp_imx6q_tpc.h
> index 8471dffe83..3061c96e76 100644
> --- a/include/configs/kp_imx6q_tpc.h
> +++ b/include/configs/kp_imx6q_tpc.h
> @@ -23,8 +23,6 @@
>  /* USB Configs */
>  #ifdef CONFIG_CMD_USB
>  #define CONFIG_EHCI_HCD_INIT_AFTER_RESET
> -#define CONFIG_USB_HOST_ETHER
> -#define CONFIG_USB_ETHER_ASIX
>  #define CONFIG_MXC_USB_PORTSC		(PORT_PTS_UTMI | PORT_PTS_PTW)
>  #define CONFIG_MXC_USB_FLAGS		0
>  #define CONFIG_USB_MAX_CONTROLLER_COUNT	2 /* Enabled USB controller number */
> diff --git a/include/configs/mx53ppd.h b/include/configs/mx53ppd.h
> index b623242256..f8118818b0 100644
> --- a/include/configs/mx53ppd.h
> +++ b/include/configs/mx53ppd.h
> @@ -14,10 +14,6 @@
>  #define CONFIG_SYS_FSL_CLK
>  
>  /* USB Configs */
> -#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)
>  #define CONFIG_MXC_USB_FLAGS	0
> diff --git a/include/configs/stih410-b2260.h b/include/configs/stih410-b2260.h
> index b1917c9d3f..2fe0900e9f 100644
> --- a/include/configs/stih410-b2260.h
> +++ b/include/configs/stih410-b2260.h
> @@ -57,11 +57,6 @@
>  #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 */
>  
>  #endif /* __CONFIG_H */
> 

Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>

Thanks
Patrice

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

end of thread, other threads:[~2021-10-05  7:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04  9:23 [PATCH] configs: Move some usb config in defconfig Patrick Delaunay
2021-10-04  9:33 ` Mark Kettenis
2021-10-04  9:35   ` EXT: " Ian Ray
2021-10-05  7:01 ` Patrice CHOTARD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).