From patchwork Wed Nov 15 10:11:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 118930 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp4119630qgn; Wed, 15 Nov 2017 02:14:45 -0800 (PST) X-Google-Smtp-Source: AGs4zMZW72h7ABn+cdkeqwyGJzv926x7V2xmfUGZ2OfZDKfKU0eYVCPuNUg29P6ub/mungrFIBlw X-Received: by 10.80.155.6 with SMTP id o6mr22548022edi.39.1510740885734; Wed, 15 Nov 2017 02:14:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510740885; cv=none; d=google.com; s=arc-20160816; b=aJG+IjaRA+vKroFrrijSjkT3TgZppNDsdGB4JT6Fvvh0Qt7KnBAi6chDkc60wMmVNQ hmp2bGOCEvejurS9V69uBzViaYE/9L1sYiwCbih+SJXg6EG7pg7XLbASm7s4z35r06Am dOr4IOFmlK+9t29jGTBcG6WvqjIKzcsguvpLmGWcEg2zeKkr4HxDOFUY0MUJHU76Z/Cs t+K2WcRVb1CqcqhJODUPBOXqByqkfF6DbqKPEKWqX+jhJ7593pYvT4BpwOs4Poib//hJ OaArV0+3GXdjLB4ip2X4C7ethzSzr9PaijAt0e8TuRKVxVf36cVwI9ZkAGhNtdCuMWdy WIIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:arc-authentication-results; bh=S7mG+lR+8lA73kbDggZoWqTfufg6+tyRexjUNCZ97s0=; b=UcMBcZvpGAKOkIcLeNL1oBZimNKK4hJPk5qIL/cz9PW3+nWuLPAESqRY/cR6zdP1yU XqqoB3RmUIzCSSBGO2HKaI8RLCwr4emMrFBLRwpm+cZ06GxBv+mGWgdsdeuq5qtHX+JG WAm5EJbmArpIp3f4ecPmuSRkfDDuXWnRJhLoJpzIe/XBmKIURt6U4b6x65ETZ/pCiwuv WaYaxFRf9arX/RD27qvjaAFwg4lCzrYQ5spQ8tNVkJlsHHEmukP9HkSmSIhTlDzR1mEk uMkvfM7Pnv/1VICgNNSimZYY57Gd66WrMs4ucN4AZq6+ugUQTovs7anmhQQyET4ciD37 ThMA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id p6si1898341edk.106.2017.11.15.02.14.45; Wed, 15 Nov 2017 02:14:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 559A6C21C73; Wed, 15 Nov 2017 10:13:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 21CC0C21DC5; Wed, 15 Nov 2017 10:12:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id B24E7C21DA6; Wed, 15 Nov 2017 10:12:21 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 21DB0C21DA5 for ; Wed, 15 Nov 2017 10:12:17 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 0DAB72083D; Wed, 15 Nov 2017 11:12:16 +0100 (CET) Received: from localhost (unknown [185.94.189.188]) by mail.free-electrons.com (Postfix) with ESMTPSA id 6FE1D213DA; Wed, 15 Nov 2017 11:11:56 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Wed, 15 Nov 2017 11:11:51 +0100 Message-Id: <20171115101151.11382-5-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171115101151.11382-1-maxime.ripard@free-electrons.com> References: <20171115101151.11382-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 4/4] fastboot: Enable flashing by default on sunxi X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" 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. Signed-off-by: Maxime Ripard --- 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 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