From patchwork Tue Nov 28 10:24:49 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 119830 Delivered-To: patch@linaro.org Received: by 10.80.225.132 with SMTP id k4csp2915940edl; Tue, 28 Nov 2017 02:35:00 -0800 (PST) X-Google-Smtp-Source: AGs4zMYIEiyg4+tEtus0Mfuw13oVW1Dqh18PrUsN7xOJNkghRP/dnSMQRasAALZEjTGp/fBWtqii X-Received: by 10.80.216.202 with SMTP id y10mr1967895edj.221.1511865300516; Tue, 28 Nov 2017 02:35:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511865300; cv=none; d=google.com; s=arc-20160816; b=ONur900HcCpqAPdksKaXHb0lkjbK9mmUx9w+P4UZWJNEK92lN3MEM5dEbR1WjeYrya RSkMxuHyQnekzEB2ro7dclDnS9M+nMy4+0elNMq+4xrHH/tdSFd+6Bbz+SlVDP4MM8Fe hvAszxyxtFEJGMFc4XNVjMeJa6NMlxoWIaxB2ueHuczq+3Vx7tnUDE52gbTnAQk3wy/g BREi7wq2Bck90a92851SBPIXQZeQI/XroqWmD3pYXQVHhcTqS/A8zpmaTxeh+TsWTC1e hs8BORfKSk0UCRLymaoHxneY689L4rKRq1+0dbrzoGc1D/F1Vuz/E+b7pOsJuBqcSXRG q4xQ== 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=yYhxWeV6HH5aX/v8w0YeWXdRB+gxGlnS+mQeFxSPTNU=; b=VFT9LFIf56rFd+ym9aCDt7fhvFOdg9dMo8YU17+huoqOtdkKWnn6HrcvkMWksgD1rY NDCYXW7sOagp68TknkvyHACRMGhvusb1nVLf4qgCRxpgIVXLzzaQnOquTb/JRGtRi3Q4 e6DJUpNgci0NCLkvgBufNPCUDzPfbjCaFoNMzuFcKigqmuoQOjTCRwRfIkmge929kt1E 1G9ZVXUbag6meCdZFdLmWB9ufO6iFem8ulrx8nITqXqY1CQ507oigvuDo8pyX55ia4Nl neDK6uuYdehR/Fxtk/0+Ml1uWF1mIfRsVlkXco0GRpoFDBI9LiFlgdlVx3XU+EMWAfUW zcog== 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 b22si357927edj.335.2017.11.28.02.35.00; Tue, 28 Nov 2017 02:35:00 -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 1BB07C21E5D; Tue, 28 Nov 2017 10:29:11 +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 2A744C21DF0; Tue, 28 Nov 2017 10:25:41 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 6A8C4C21E8B; Tue, 28 Nov 2017 10:25:03 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id AE360C21E2F for ; Tue, 28 Nov 2017 10:24:57 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 0D2E420856; Tue, 28 Nov 2017 11:24:57 +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 D3EB120380; Tue, 28 Nov 2017 11:24:56 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 28 Nov 2017 11:24:49 +0100 Message-Id: <182f5231f9319f8a2b34f3c4ba743f370d2934ef.1511864667.git-series.maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: References: In-Reply-To: References: Cc: Thomas Petazzoni , u-boot@lists.denx.de, Andre Przywara , agraf@suse.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [PATCH 14/14] env: sunxi: Enable FAT-based environment support by default 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 we have everything in place to implement the transition scheme, let's enable it by default. Reviewed-by: Lukasz Majewski Signed-off-by: Maxime Ripard Reviewed-by: Andre Przywara --- env/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/env/Kconfig b/env/Kconfig index bf6eab6b4ace..19524638e6e1 100644 --- a/env/Kconfig +++ b/env/Kconfig @@ -55,6 +55,7 @@ config ENV_IS_IN_FAT bool "Environment is in a FAT filesystem" depends on !CHAIN_OF_TRUST default y if ARCH_BCM283X + default y if ARCH_SUNXI default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS select FAT_WRITE help @@ -370,6 +371,7 @@ config ENV_AES config ENV_FAT_INTERFACE string "Name of the block device for the environment" depends on ENV_IS_IN_FAT + default "mmc" if ARCH_SUNXI default "mmc" if TI_COMMON_CMD_OPTIONS || ARCH_ZYNQMP || ARCH_AT91 help Define this to a string that is the name of the block device. @@ -379,6 +381,8 @@ config ENV_FAT_DEVICE_AND_PART depends on ENV_IS_IN_FAT default "0:1" if TI_COMMON_CMD_OPTIONS default "0:auto" if ARCH_ZYNQMP + default "0:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA = -1 + default "1:auto" if ARCH_SUNXI && MMC_SUNXI_SLOT_EXTRA != -1 default "0" if ARCH_AT91 help Define this to a string to specify the partition of the device. It can