From patchwork Tue Nov 28 10:34: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: 119837 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2921650edl; Tue, 28 Nov 2017 02:42:07 -0800 (PST) X-Google-Smtp-Source: AGs4zMYynb321MKsU3MX+VWfb5kYl76WC/7p0kMtgJbOwinO8uecScuQjBNqJEDeZ5TVcX1Ko1LA X-Received: by 10.80.179.15 with SMTP id q15mr1973651edd.166.1511865727122; Tue, 28 Nov 2017 02:42:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511865727; cv=none; d=google.com; s=arc-20160816; b=byqTcvQC5wILEXdWbxgVw+kYiB05ZhZw5mb3YYVEPzS1lQaBnNphAG+GRxO+1NNBLM Hnni+4CGIViZp3sjviuaD82f6ZtAWTwvQbtgE5e895eW7uq3pJNdetdB67D+5hXoSusZ LU0Vl4rI/GbdYIDm3/s889eoex0nr8nY5L8Pt4uI2XX4i9tKop7e7Ysn+/5rQ0UJUnSC ynPPVWWF7pPTfVRBkKwy9HZEZ8TFp5W/YgxlijUvTk6DsMGSVMRu9uXNF6/Mh212VwAS XypgQWuI2zB0hZwD4KDN3fLqKuDZhOQJ8Ogqkw1/ggc7mR/dxkueUAUMRRCKPkPwHjyv ppxQ== 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=iOBdNKtrnB/NfP9r/lHbFpIxzSHoJtjYqbnROaIxCMM=; b=i95/Bt9SXWjq03KSYtcS3lYtCoGsPiXJMBvm3DopbJsGbn+y7JUHZXCEhU8hYG0zTM k8WjKDHWfAgraROGQvRv90fj9ft5f+8zA2eXwMsj/1lNU+tc5Ije+uhZoxamaknABVSO oCkOj8XTdmBJc1UniBJOqnh5XDLaPW5Q5r0Om37TBKq5n6IyOXqGd/H4539PEQQgf0mf WZt87I2fxWtS3h33CTrJnlKiXkZZnEuZG1LVW0sT2f3UpEP1RZfwyqN2RVfFX9CfI1cz igRz7Zmjxr4vKbNHkU/3NNM1cKWwI3wS6Sab/taAWDSu7wD1Dhi4vKvQT+0zfg3Xga20 FQ9w== 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 x13si376672edk.420.2017.11.28.02.42.06; Tue, 28 Nov 2017 02:42:07 -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 A58C4C21E90; Tue, 28 Nov 2017 10:40:58 +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 41C1EC21E2F; Tue, 28 Nov 2017 10:40:57 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 196E2C21EBA; Tue, 28 Nov 2017 10:34:45 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 75011C21E32 for ; Tue, 28 Nov 2017 10:34:45 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id C560620746; Tue, 28 Nov 2017 11:34:44 +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 9C94520373; Tue, 28 Nov 2017 11:34:44 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 28 Nov 2017 11:34:41 +0100 Message-Id: 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 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 Reviewed-by: Andre Przywara --- 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