From patchwork Tue Jan 16 09:16:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 124646 Delivered-To: patch@linaro.org Received: by 10.46.64.148 with SMTP id r20csp948982lje; Tue, 16 Jan 2018 01:27:05 -0800 (PST) X-Google-Smtp-Source: ACJfBov2GB4W7vrrk763kBUoDd6K6D4SGX1Dry0e/os+9yd3FqCizWcnCM2Usr0I+1P742zvloL5 X-Received: by 10.80.202.193 with SMTP id f1mr10020841edi.30.1516094825869; Tue, 16 Jan 2018 01:27:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516094825; cv=none; d=google.com; s=arc-20160816; b=qo7BE6ol4zMGgbsFl7f0yyHaIKngm0d1jiZbMvyMrVcwwL35IOij8L6xd3ooe6i4Hr 5raxiVRY2rfCFXr3qDp+s3KJwWL6ajbN4ifUPjH7en9j1Bu9B2kTh4zD2hg5Dr0bXNJ6 9ULpsxd9njg72xYVxro8yiZrUeghn8rioZrelCmHlnaTSrn7ZTHXtE9RyNf/g0cOK9j2 JmwGk3DufYNpcPFqs62CLWbESoIvyMWSwwvtuSwGI6rTTZBU7h3oog+k6DxzmXIN8g/b rHr6F3lsgWqvYtUL1eEyjArK59Dh+a2D8CUaemBa/8bYkE33i82dV3lclNaG2fKxkbhu K70Q== 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=slCPTX+MOUChmi/qMMX6PfbnM4bmc5ROJAH/7G7G1Bw=; b=GIXwT/MbE6dUQqVepOuZB78B9DIWQpgmMBMfCvBZkLBaFskWprPqicE2zHawbEkBM+ fhprn3NQBf2ywMtxoCJlHRduueBO8AX9AiXnoNYISu0YBnmaWWh8VTO3X96S13/lg+f6 a3KpWxzv8OTEzhuOmkSUaKGBS+MDv33CgqZetlY89oPNK5C4MZg1e/tc/FUcqkoFaP7U PmngLG/gLF48/5S9KqyYs96CqHKf6piOcVSaGibOEU53Jq6fncA//yGoCxFnahx7c3oJ iFaQk9JEHuYTjimpY6a1h9QC+9ZbfgixmXMZb1gCNqx/Xu90K3T0N6RdxLg/bsJQ81eT OBLg== 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 g3si165724edc.336.2018.01.16.01.27.05; Tue, 16 Jan 2018 01:27:05 -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 5B75FC21DCE; Tue, 16 Jan 2018 09:20:59 +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 29E4DC21E97; Tue, 16 Jan 2018 09:17:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 31228C21DE4; Tue, 16 Jan 2018 09:17:04 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id D63ACC21E40 for ; Tue, 16 Jan 2018 09:16:59 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id B26AA208BA; Tue, 16 Jan 2018 10:16:58 +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 868A220725; Tue, 16 Jan 2018 10:16:58 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 16 Jan 2018 10:16:51 +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 v2 15/15] 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: Andre Przywara Reviewed-by: Lukasz Majewski Signed-off-by: Maxime Ripard --- env/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/env/Kconfig b/env/Kconfig index 6e2fbf416c12..d1bf75ab41ca 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 && MMC default y if MMC_OMAP_HS && TI_COMMON_CMD_OPTIONS select FAT_WRITE help @@ -363,6 +364,7 @@ config ENV_IS_IN_UBI 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. @@ -372,6 +374,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