]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
fastboot: Enable flashing by default on sunxi
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 14 Nov 2017 20:37:35 +0000 (21:37 +0100)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Thu, 7 Dec 2017 15:24:32 +0000 (16:24 +0100)
Now that more and more devices are built using eMMC, providing a way to
easily flash the system without too much hassle seems like a right thing to
do.

Since fastboot is the most deployed tool to do that these days, we can just
rely on it to provide a way to flash the various components in the system
(SPL, U-Boot and the system itself) easily, especially since you can upload
the U-Boot hosting the fastboot "server" through FEL.

Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
cmd/fastboot/Kconfig

index 4ce7a775e28ebd136eb70a8e696ca2bcd9fd2ee8..cbb9183ea266ed275aef91a90e30c01b5fa71208 100644 (file)
@@ -66,6 +66,7 @@ config FASTBOOT_USB_DEV
 
 config FASTBOOT_FLASH
        bool "Enable FASTBOOT FLASH command"
+       default y if ARCH_SUNXI
        help
          The fastboot protocol includes a "flash" command for writing
          the downloaded image to a non-volatile storage device. Define