From patchwork Thu Nov 16 09:22:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 119027 Delivered-To: patch@linaro.org Received: by 10.140.22.164 with SMTP id 33csp5357737qgn; Thu, 16 Nov 2017 01:24:16 -0800 (PST) X-Google-Smtp-Source: AGs4zMZl8/8yFRlRNzEYV35VjjYeYzVndtb6C0p2dh9Twbpnh24Tye/brUxqHjqaeZf/vpLRUECr X-Received: by 10.80.153.13 with SMTP id k13mr446218edb.208.1510824256758; Thu, 16 Nov 2017 01:24:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1510824256; cv=none; d=google.com; s=arc-20160816; b=MA+C0YBVHiXrFhL3r5pEFTK3OuExwie9dnmrCVZqoijeLH7KdiHjol5ywmxG+oBzRI kxiadyvjQXMYUswa9GaEl+vt7xfdKHC+SkPqVoTnHCSukIpZFeGX6e7xr5ClG3B+6sYI yavfCuiPPiLTrgFONowkGo6oAn82KP3svTBhj64CmS0d6UbRjx+unJ+7cNsZ8ojzJoGL 8i5ZPZ5DDvRwdMk1JQ2Gl7c2M1RBVsuPm/yDacXWDL6zD7Ndi1f0nAgEbQ/BoqIokgGn prF3R+reduoxGMJiIg01+PQ21F4tm6Sc8ZU1e3NHRk3tAzgLjdE0Xzmd3/jfcNib0jxM Q1Kg== 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=7fbkXbpYLmdDj6yRcNB0D1g3X53fdBKsbqq/yRZ7PJg=; b=hxkoQxW9sxxdh5N+W+qNTn2pFqLUQNrOkHgvBojUrwIqxw7NVjIiUw8GPI5x0fVTAC 0wDBeIt3X3/p4aqypNg0p3kMReWSQu1tjQUw8tZoJ48yzbdfSHMgHfO6MLfIpFaof5Jc Jb3S8OTfJg9iiwvQrFroYPgTJLVQAylJngKICQ+lhKmTuTTocxwY6Kca8+4xx/57Zpx1 MOi9m3Q8xZO9mwqzNa38mxWQJkYnzBIn+O47A0C+zrpoLyM2UGE9ZgNq7/LAhoOC3jC6 4VZyc07/Opkav8MDnX+kG66dhlMMUvfdVKDOHtaQeskxLgSVBuOTaCBhEZ6R0vtcdoqX ghlA== 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 v27si605315eda.233.2017.11.16.01.24.16; Thu, 16 Nov 2017 01:24:16 -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 2C665C21DF7; Thu, 16 Nov 2017 09:23:08 +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 5EEC7C21D93; Thu, 16 Nov 2017 09:22:49 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id E9C3DC21D7C; Thu, 16 Nov 2017 09:22:46 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id 966CEC21D6A for ; Thu, 16 Nov 2017 09:22:46 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 85434213E0; Thu, 16 Nov 2017 10:22:45 +0100 (CET) Received: from localhost (unknown [185.94.189.187]) by mail.free-electrons.com (Postfix) with ESMTPSA id 3CFA0203AF; Thu, 16 Nov 2017 10:22:35 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Thu, 16 Nov 2017 10:22:31 +0100 Message-Id: <20171116092231.27740-11-maxime.ripard@free-electrons.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20171116092231.27740-1-maxime.ripard@free-electrons.com> References: <20171116092231.27740-1-maxime.ripard@free-electrons.com> Cc: Andre Przywara , agraf@suse.de, u-boot@lists.denx.de, Maxime Ripard , Jagan Teki Subject: [U-Boot] [RFC PATCH 10/10] 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. Signed-off-by: Maxime Ripard Reviewed-by: Lukasz Majewski --- 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