[U-Boot] [PATCH 1/3] ARM: sunxi: Disable USB host options by default

Mark Kettenis mark.kettenis at xs4all.nl
Thu Oct 19 11:44:16 UTC 2017


> From: Maxime Ripard <maxime.ripard at free-electrons.com>
> Date: Thu, 19 Oct 2017 10:26:47 +0200
> 
> The USB keyboard and USB storage support are non-essential from an
> architecture-wide sense.
> 
> Remove the selection so that we can trim down the size of our binaries a
> bit.

But many people rely on these options and I'd say they should be
enabled on the majority of the boards out there.

If you really want to go this way, I'd say you should enable these
options in all the board-specific configs and subsequently remove them
from those boards where they're not useful.

> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/Kconfig | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 64e0ee43f112..0eaf54bd8ddb 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -688,7 +688,6 @@ config ARCH_SUNXI
>  	select DM
>  	select DM_ETH
>  	select DM_GPIO
> -	select DM_KEYBOARD
>  	select DM_SERIAL
>  	select DM_USB if DISTRO_DEFAULTS
>  	select OF_BOARD_SETUP
> @@ -699,8 +698,6 @@ config ARCH_SUNXI
>  	select SYS_NS16550
>  	select SPL_SYS_THUMB_BUILD if !ARM64
>  	select USB if DISTRO_DEFAULTS
> -	select USB_STORAGE if DISTRO_DEFAULTS
> -	select USB_KEYBOARD if DISTRO_DEFAULTS
>  	select USE_TINY_PRINTF
>  	imply CMD_GPT
>  	imply FAT_WRITE
> -- 
> 2.14.2
> 
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot
> 


More information about the U-Boot mailing list