From patchwork Tue Dec 5 15:56:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 120709 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5918971qgn; Tue, 5 Dec 2017 07:59:36 -0800 (PST) X-Google-Smtp-Source: AGs4zMZypJB1fB649mogK4sI8WDLY2+7J5YKNgLVCAY9V8V4asAYccPLTOqv+he/2+4r81Bj70t2 X-Received: by 10.80.192.5 with SMTP id r5mr36527743edb.138.1512489576022; Tue, 05 Dec 2017 07:59:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512489576; cv=none; d=google.com; s=arc-20160816; b=I9vOy8WUCYrflxfIqxAPBa8KEySFdDbkeGVNqQE39TWLvqwBhV4A5NAkhUCijaBpJC mVTXc81Wm6SH/x84kry3XBEpEYzxjG8rbVBzJcH7wVNDLHixdcw3ENnAwkc3BvUQNTJC J7eAcw+HTsaoi5pn1n012iDCGhvCov5RRQitvFV0fAXUoZhRab9xt/ROl4FHhkm7u4ct rz3dCzgel6qGiIclrR3IbXkZvoBnkkMtJJ450L79vlQzsgvh4DEwGPGsRRGlinDJjTdn Pk9afj9AtZXHv8bbRf5+cePW8hNxhUs7sywfpbecbgnDBHkHriJzar5Uv4yn8bh/5+56 2fzA== 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:references :in-reply-to:message-id:date:to:from:arc-authentication-results; bh=ycibv5Egmb+PuUs1+uDZrx+FqXMSbA8vNe96lnw7FHk=; b=RTZXLO28xNyLkTgSknA/4hQq5mLr5ZFPFXE4udladX6Eu/sxpn9VACKsJlYD9+hYjZ hi23MEg0Q31ZnirZmw3FdMuutLqDY7UBdI4uiYDnT/ZFdS8GJ0SdBfuuGuoGj0b6e5/+ r2AjQYT5iMNQMEOhLUfv6KYsI4uv1UstyvOp7p16LVJz/Yze/0Zbh5eYujkFdZOkFIMd qKsy+yVKOsxFWaU9pvVuwVrMGB7iWpOvekWv0B552nEYPIzdCOPfeVMzvThh0haw2HjI zLhdTc51ZScu/N1s00KxOJuerOJ5wYarlwQYVluzoDZpP9OnmQEcDXZOuUe8tPi9n6mL QFqw== 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 f23si535448edb.350.2017.12.05.07.59.35; Tue, 05 Dec 2017 07:59:36 -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 8C29FC21E85; Tue, 5 Dec 2017 15:58:24 +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 AC65EC220A7; Tue, 5 Dec 2017 15:58:22 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E7B7DC21F83; Tue, 5 Dec 2017 15:57:07 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 84D19C21F94 for ; Tue, 5 Dec 2017 15:57:03 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id C6B3B20741; Tue, 5 Dec 2017 16:57:02 +0100 (CET) Received: from localhost (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id C2D7F20856; Tue, 5 Dec 2017 16:56:46 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 5 Dec 2017 16:56:41 +0100 Message-Id: <4ad8275cc5a8b4e526fe0e08beff0701d20c03a3.1512489372.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH v2 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. Reviewed-by: Andre Przywara 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