[U-Boot] [PATCH 3/3] ARM: sunxi: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

Hans de Goede hdegoede at redhat.com
Sat Oct 29 14:28:47 CEST 2016


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 at 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
>


More information about the U-Boot mailing list