From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Kettenis Date: Thu, 19 Oct 2017 13:44:16 +0200 (CEST) Subject: [U-Boot] [PATCH 1/3] ARM: sunxi: Disable USB host options by default In-Reply-To: <20171019082649.27819-2-maxime.ripard@free-electrons.com> (message from Maxime Ripard on Thu, 19 Oct 2017 10:26:47 +0200) References: <20171019082649.27819-1-maxime.ripard@free-electrons.com> <20171019082649.27819-2-maxime.ripard@free-electrons.com> Message-ID: <68d94b36a125df39@bloch.sibelius.xs4all.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > From: Maxime Ripard > 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 > --- > 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 >