[v2,4/4] fastboot: Enable flashing by default on sunxi

Message ID 4ad8275cc5a8b4e526fe0e08beff0701d20c03a3.1512489372.git-series.maxime.ripard@free-electrons.com
State Accepted
Commit 7c750fac22fa46546c25b3a3d2ca0598fba2f10e
Headers show
  • sunxi: Ease eMMC usage and flashing
Related show

Commit Message

Maxime Ripard Dec. 5, 2017, 3:56 p.m.
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

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 | 1 +
 1 file changed, 1 insertion(+)


diff --git a/cmd/fastboot/Kconfig b/cmd/fastboot/Kconfig
index 4ce7a775e28e..cbb9183ea266 100644
--- a/cmd/fastboot/Kconfig
+++ b/cmd/fastboot/Kconfig
@@ -66,6 +66,7 @@  config FASTBOOT_USB_DEV
 	bool "Enable FASTBOOT FLASH command"
+	default y if ARCH_SUNXI
 	  The fastboot protocol includes a "flash" command for writing
 	  the downloaded image to a non-volatile storage device. Define