diff mbox

[3/3] ARM: sunxi: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

Message ID 1476373201-19906-3-git-send-email-yamada.masahiro@socionext.com
State Accepted
Commit 6ab224da57363a80e9f95b79ae1c208b0d8d2f4f
Headers show

Commit Message

Masahiro Yamada Oct. 13, 2016, 3:40 p.m. UTC
ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT
is not used.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

---

 include/configs/sun4i.h | 1 -
 include/configs/sun5i.h | 1 -
 include/configs/sun6i.h | 1 -
 include/configs/sun7i.h | 1 -
 include/configs/sun8i.h | 1 -
 5 files changed, 5 deletions(-)

-- 
1.9.1

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Comments

Hans de Goede Oct. 29, 2016, 12:28 p.m. UTC | #1
Hi,

On 13-10-16 17:40, Masahiro Yamada wrote:
> ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT

> is not used.

>

> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>


Thank you I've applied this to my tree and will
include it in my next pull-req.

Regards,

Hans


> ---

>

>  include/configs/sun4i.h | 1 -

>  include/configs/sun5i.h | 1 -

>  include/configs/sun6i.h | 1 -

>  include/configs/sun7i.h | 1 -

>  include/configs/sun8i.h | 1 -

>  5 files changed, 5 deletions(-)

>

> diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h

> index ea079eb..3dfd95a 100644

> --- a/include/configs/sun4i.h

> +++ b/include/configs/sun4i.h

> @@ -14,7 +14,6 @@

>

>  #ifdef CONFIG_USB_EHCI

>  #define CONFIG_USB_EHCI_SUNXI

> -#define CONFIG_USB_MAX_CONTROLLER_COUNT	2

>  #endif

>

>  #define CONFIG_SUNXI_USB_PHYS	3

> diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h

> index d257659..ec8f319 100644

> --- a/include/configs/sun5i.h

> +++ b/include/configs/sun5i.h

> @@ -14,7 +14,6 @@

>

>  #ifdef CONFIG_USB_EHCI

>  #define CONFIG_USB_EHCI_SUNXI

> -#define CONFIG_USB_MAX_CONTROLLER_COUNT	1

>  #endif

>

>  #define CONFIG_SUNXI_USB_PHYS	2

> diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h

> index 67a26c2..6c1eca4 100644

> --- a/include/configs/sun6i.h

> +++ b/include/configs/sun6i.h

> @@ -17,7 +17,6 @@

>

>  #ifdef CONFIG_USB_EHCI

>  #define CONFIG_USB_EHCI_SUNXI

> -#define CONFIG_USB_MAX_CONTROLLER_COUNT	2

>  #endif

>

>  #define CONFIG_SUNXI_USB_PHYS	3

> diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h

> index d8e6e20..5455901 100644

> --- a/include/configs/sun7i.h

> +++ b/include/configs/sun7i.h

> @@ -15,7 +15,6 @@

>

>  #ifdef CONFIG_USB_EHCI

>  #define CONFIG_USB_EHCI_SUNXI

> -#define CONFIG_USB_MAX_CONTROLLER_COUNT	2

>  #endif

>

>  #define CONFIG_SUNXI_USB_PHYS	3

> diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h

> index 011d70f..a4c3fb6 100644

> --- a/include/configs/sun8i.h

> +++ b/include/configs/sun8i.h

> @@ -15,7 +15,6 @@

>

>  #ifdef CONFIG_USB_EHCI

>  #define CONFIG_USB_EHCI_SUNXI

> -#define CONFIG_USB_MAX_CONTROLLER_COUNT	1

>  #endif

>

>  #ifdef CONFIG_MACH_SUN8I_H3

>

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot
diff mbox

Patch

diff --git a/include/configs/sun4i.h b/include/configs/sun4i.h
index ea079eb..3dfd95a 100644
--- a/include/configs/sun4i.h
+++ b/include/configs/sun4i.h
@@ -14,7 +14,6 @@ 
 
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_SUNXI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
 #endif
 
 #define CONFIG_SUNXI_USB_PHYS	3
diff --git a/include/configs/sun5i.h b/include/configs/sun5i.h
index d257659..ec8f319 100644
--- a/include/configs/sun5i.h
+++ b/include/configs/sun5i.h
@@ -14,7 +14,6 @@ 
 
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_SUNXI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	1
 #endif
 
 #define CONFIG_SUNXI_USB_PHYS	2
diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h
index 67a26c2..6c1eca4 100644
--- a/include/configs/sun6i.h
+++ b/include/configs/sun6i.h
@@ -17,7 +17,6 @@ 
 
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_SUNXI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
 #endif
 
 #define CONFIG_SUNXI_USB_PHYS	3
diff --git a/include/configs/sun7i.h b/include/configs/sun7i.h
index d8e6e20..5455901 100644
--- a/include/configs/sun7i.h
+++ b/include/configs/sun7i.h
@@ -15,7 +15,6 @@ 
 
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_SUNXI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	2
 #endif
 
 #define CONFIG_SUNXI_USB_PHYS	3
diff --git a/include/configs/sun8i.h b/include/configs/sun8i.h
index 011d70f..a4c3fb6 100644
--- a/include/configs/sun8i.h
+++ b/include/configs/sun8i.h
@@ -15,7 +15,6 @@ 
 
 #ifdef CONFIG_USB_EHCI
 #define CONFIG_USB_EHCI_SUNXI
-#define CONFIG_USB_MAX_CONTROLLER_COUNT	1
 #endif
 
 #ifdef CONFIG_MACH_SUN8I_H3