From patchwork Tue Jan 23 20:17:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 125580 Delivered-To: patch@linaro.org Received: by 10.46.66.141 with SMTP id h13csp1984759ljf; Tue, 23 Jan 2018 12:25:06 -0800 (PST) X-Google-Smtp-Source: AH8x226l6yx5Jlf/Nh0IyJdV2g75vZOvNSTga+Ig8W/HvJuY4KH5r7NhbtmnUmkvJawbgVHRYfmF X-Received: by 10.80.149.216 with SMTP id x24mr21182995eda.74.1516739106537; Tue, 23 Jan 2018 12:25:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516739106; cv=none; d=google.com; s=arc-20160816; b=VN6sBe2YazcVV9NDf/qfCaJrEcXCWyuDgJ/ztUUceeOAOP5l4xfQwOovD83sNh/xXd GAuTGPXPIktxYK0NpeFAcVa3NSww4ONlanJ/A2mD7grwIy++9EinaVaAe+f2qLpoKytz gFNV+QGiWeM90zJy03cM5YXBJuvlkPYwhhKA/e9kD/3TuLiZLBlIFSeqRrfMckVW2mJH u0PECDF6/cyfWdd+b5WE8W2Gkftq6RutVO4IeOk41HxRl8T9eiKwRmV8HQxp4Di7/adp YtKTD3zDaba4tKv03xD7Q2U2dZBfk1LAwiymcnntDqxpkR5PXd1kJlkJt+Pv/1Brx3A8 ZbuQ== 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=XAA2pTvRAyKJehg2LI/4tzXX8hRzkGZ2USPhp4UqhIX681ND2QZBCe+fHsDJG0V9Bo fxjQY1gI0afyyeHCrBxldG5DZ/N8xI272GDgKUU/0EwaYZiZPB3CneTK5Bqcis4RHI7p b0GoHEsIHvf/WPaLFj/mUjfcnP//TPX18FYZue7wlYTqMN0bQ9djPwcPyuPF2enU3ivZ igf1eJtSE1bSt7qwE7N+ePAh1VakyJUocf7UGvkIDA+nBbb6UEmwErdJlp+aWsjD0/mj pz75eMQO6g3NtUa9Rlum4xcAtThNlvPaOFoCF8buCUYV796BuG2rsGQfb3RNUrqV7PYb xfjQ== 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 u34si15624512edc.179.2018.01.23.12.25.06; Tue, 23 Jan 2018 12:25:06 -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 24A15C22139; Tue, 23 Jan 2018 20:21:09 +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 B149CC22171; Tue, 23 Jan 2018 20:17:38 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id C7D2CC22167; Tue, 23 Jan 2018 20:17:17 +0000 (UTC) Received: from mail.free-electrons.com (mail.free-electrons.com [62.4.15.54]) by lists.denx.de (Postfix) with ESMTP id BF485C21C51 for ; Tue, 23 Jan 2018 20:17:12 +0000 (UTC) Received: by mail.free-electrons.com (Postfix, from userid 110) id 9F70920C53; Tue, 23 Jan 2018 21:17:12 +0100 (CET) Received: from localhost (LFbn-1-2035-97.w90-76.abo.wanadoo.fr [90.76.104.97]) by mail.free-electrons.com (Postfix) with ESMTPSA id 6BD36207A8; Tue, 23 Jan 2018 21:17:12 +0100 (CET) From: Maxime Ripard To: Tom Rini Date: Tue, 23 Jan 2018 21:17:04 +0100 Message-Id: <23bad85f3664281aeced4aaf8c445f63fbd63f1e.1516723179.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 v3 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