u-boot-brain/arch/arm
Yann E. MORIN 2997ee5054 arm: sunxi: do not force USB for arch-sunxi
Currently, USB is forced-enabled for the sunxi familly, and there is no
way to disable it.

However, USB takes a long time to initiliase, delaying the boot by up to
5 seconds (without any USB device attached!). This is a very long delay,
especially in cases where USB booting is not wanted at all, and where
the device is expected to boot relatively often (even in production).

Change the way the dependencies are handled, by only forcibly selecting
USB when CONFIG_DISTRO_DEFAULTS ("defaults suitable for booting general
purpose Linux distributions") is set. This option defaults to y for the
sunxi familly, so the current default behaviour is kept unchanged. Users
interested in boot time and/or size will be able to disable this to
further disable USB.

With USB disabled, the time spent in U-Boot before handing control to
the Linux kernel is about 1s now, down from ~5s (Nanopi Neo, sunxi H3).

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Ian Campbell <ijc@hellion.org.uk>
Cc: Hans De Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2016-11-28 15:10:28 -05:00
..
cpu Merge git://git.denx.de/u-boot-fsl-qoriq 2016-11-25 17:39:54 -05:00
dts Merge git://git.denx.de/u-boot-rockchip 2016-11-26 09:26:27 -05:00
imx-common imx-common: compile plugin code 2016-10-24 10:58:18 +02:00
include Merge git://git.denx.de/u-boot-fsl-qoriq 2016-11-25 17:39:54 -05:00
lib efi_loader: Allow to compile helloworld.efi w/o bundling it 2016-11-27 09:53:39 -05:00
mach-at91 arm, at91: add icache support 2016-10-28 18:37:13 +02:00
mach-bcm283x bcm2835_gpio: Implement GPIOF_FUNC 2016-09-06 13:18:18 -04:00
mach-davinci common: Pass the boot device into spl_boot_mode() 2016-06-26 20:17:22 +02:00
mach-exynos arm: exynos7420: remove custome low level init function 2016-11-22 11:40:24 -08:00
mach-highbank
mach-integrator integrator: switch to DM serial port 2015-08-12 20:47:49 -04:00
mach-keystone ARM: keystone2: PLL: Enable glitch free initialization sequence 2016-11-13 15:54:36 -05:00
mach-kirkwood arm: kirkwood: add support for Synology DS109 board 2016-10-09 10:55:32 +02:00
mach-meson arm: Disable HVC PSCI calls by default 2016-10-18 09:08:08 +02:00
mach-mvebu arm64: mvebu: Add Armada 7K db-88f7040 development board support 2016-09-27 17:29:54 +02:00
mach-omap2 arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00
mach-orion5x Use correct spelling of "U-Boot" 2016-02-06 12:00:59 +01:00
mach-rmobile armv8: Support loading 32-bit OS in AArch32 execution state 2016-11-22 11:40:24 -08:00
mach-rockchip rockchip: Add support for veyron-minnie (ASUS Chromebook Flip) 2016-11-25 17:59:32 -07:00
mach-s5pc1xx arm: s5pc1xx: move SoC to mach-s5pc1xx 2015-11-30 17:17:01 +09:00
mach-snapdragon drivers/sysreset: group sysreset drivers 2016-08-12 09:22:17 -04:00
mach-socfpga Fix spelling of "resetting". 2016-10-31 10:13:17 -04:00
mach-stm32 Revert "stm32: Change USART port to USART6 for stm32f746 discovery board" 2016-07-21 15:38:13 -04:00
mach-sunxi sunxi: A64: enable USB support 2016-10-30 11:38:04 +01:00
mach-tegra Merge branch 'master' of git://git.denx.de/u-boot-tegra 2016-11-08 10:36:57 -05:00
mach-uniphier ARM: uniphier: update DRAM init code for LD11 SoC 2016-10-29 17:24:30 +09:00
mach-versatile arm: Remove versatileab board 2015-09-11 15:01:25 -04:00
mach-zynq zynq: nand: Runtime detection of nand buswidth through slcr 2016-11-15 15:27:51 +01:00
thumb1/include/asm/proc-armv arm: support Thumb-1 with CONFIG_SYS_THUMB_BUILD 2015-11-10 15:03:48 +01:00
config.mk TI: Remove CONFIG_OMAP_COMMON in favor of CONFIG_ARCH_OMAP2 2016-11-21 14:07:29 -05:00
Kconfig arm: sunxi: do not force USB for arch-sunxi 2016-11-28 15:10:28 -05:00
Kconfig.debug
Makefile arm: Introduce arch/arm/mach-omap2 for OMAP2 derivative platforms 2016-11-21 14:07:29 -05:00