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

Peter Robinson pbrobinson at gmail.com
Thu Oct 19 08:54:08 UTC 2017


On Thu, Oct 19, 2017 at 9:26 AM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> The USB keyboard and USB storage support are non-essential from an
> architecture-wide sense.

A lot of Fedora users boot from USB HDDs by having a small (say an old
128Mb mSD card from a phone) SD card and then boot the OS from the
disk so this will break all of those, plus if they don't have a serial
console it means they can't do things like debug or select an older
kernel to boot if there was an issue.

> Remove the selection so that we can trim down the size of our binaries a
> bit.
>
> 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