Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3A2DC352A1 for ; Tue, 6 Dec 2022 08:18:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2515B851CD; Tue, 6 Dec 2022 09:18:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=foss.st.com header.i=@foss.st.com header.b="N9drWv6I"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 01636852ED; Tue, 6 Dec 2022 09:18:00 +0100 (CET) Received: from mx07-00178001.pphosted.com (mx08-00178001.pphosted.com [91.207.212.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 7CCA6851B0 for ; Tue, 6 Dec 2022 09:17:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=83393c7670=patrice.chotard@foss.st.com Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2B63HoXi023669; Tue, 6 Dec 2022 09:17:57 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=selector1; bh=LweMDb45mEIDyZOSHM65RNkpDJmv+jBAxe5nkoi+hY0=; b=N9drWv6IWMNHDFSxRKOZdPx5SAo4Qtptwgb7LpeqnTlkTflyICsmdO2Is3BWTZmcDTkB 3DhfhWX5HvekSacXwVSJ2knW1UY53cL9+fccfQGbs4uoPmgeVSFTjcKOxvHTxXmVnTe+ lm1KPHeTGXUXjJAY4hD8cXHASRXZMgbTpzhySaZ5D7/KUzu59QT/cfziiItzsMjDLd+/ 8R8Vpued3QZwoBnyLFygWTzEQHQ/WqP/Jz79O9iS6lqdMYlKhv4TSTKuwi19KQIryuVq fyBNBXDWyA4Eu+cuXPys9AFuFa8HZLwBwJWbeHuC7btYl/uvB87yCartYbaOWahpa3AQ FA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3m7x7pqfxb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Dec 2022 09:17:57 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4580C10002A; Tue, 6 Dec 2022 09:17:53 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node1.st.com [10.75.129.69]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 3E6752138E0; Tue, 6 Dec 2022 09:17:53 +0100 (CET) Received: from [10.201.20.130] (10.201.20.130) by SHFDAG1NODE1.st.com (10.75.129.69) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.13; Tue, 6 Dec 2022 09:17:52 +0100 Message-ID: <07963d80-d534-e9b1-81d1-22eb8dbbab5f@foss.st.com> Date: Tue, 6 Dec 2022 09:17:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Subject: Re: [PATCH 5/8] configs: stm32mp: activate CONFIG_ENV_MMC_USE_DT Content-Language: en-US To: Patrick Delaunay , CC: U-Boot STM32 References: <20221110104905.3076915-1-patrick.delaunay@foss.st.com> <20221110114828.5.Ic76d234844d7f990415f7286b9b971c59ec8b35a@changeid> From: Patrice CHOTARD In-Reply-To: <20221110114828.5.Ic76d234844d7f990415f7286b9b971c59ec8b35a@changeid> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.201.20.130] X-ClientProxiedBy: SHFCAS1NODE2.st.com (10.75.129.73) To SHFDAG1NODE1.st.com (10.75.129.69) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-06_05,2022-12-05_01,2022-06-22_01 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 11/10/22 11:49, Patrick Delaunay wrote: > Activate by default CONFIG_ENV_MMC_USE_DT as "u-boot,mmc-env-partition" > should be always use in STMicroelectronics boards device tree to locate > the environment for mmc backend. The 2 defines: > CONFIG_ENV_OFFSET=0x280000 > CONFIG_ENV_OFFSET_REDUND=0x2C0000 > are only valid for spi-nor and not for SD-Card or eMMC. > > Signed-off-by: Patrick Delaunay > --- > > configs/stm32mp13_defconfig | 1 + > configs/stm32mp15_basic_defconfig | 1 + > configs/stm32mp15_defconfig | 1 + > configs/stm32mp15_trusted_defconfig | 1 + > 4 files changed, 4 insertions(+) > > diff --git a/configs/stm32mp13_defconfig b/configs/stm32mp13_defconfig > index af6b1839d039..4cab07647349 100644 > --- a/configs/stm32mp13_defconfig > +++ b/configs/stm32mp13_defconfig > @@ -46,6 +46,7 @@ CONFIG_ENV_IS_IN_MMC=y > CONFIG_SYS_REDUNDAND_ENVIRONMENT=y > CONFIG_SYS_RELOC_GD_ENV_ADDR=y > CONFIG_SYS_MMC_ENV_DEV=-1 > +CONFIG_ENV_MMC_USE_DT=y > CONFIG_CLK_SCMI=y > CONFIG_GPIO_HOG=y > CONFIG_DM_I2C=y > diff --git a/configs/stm32mp15_basic_defconfig b/configs/stm32mp15_basic_defconfig > index 86ebbef0a6c8..4a96ad22bcc8 100644 > --- a/configs/stm32mp15_basic_defconfig > +++ b/configs/stm32mp15_basic_defconfig > @@ -91,6 +91,7 @@ CONFIG_ENV_UBI_VOLUME="uboot_config" > CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r" > CONFIG_SYS_RELOC_GD_ENV_ADDR=y > CONFIG_SYS_MMC_ENV_DEV=-1 > +CONFIG_ENV_MMC_USE_DT=y > # CONFIG_SPL_ENV_IS_NOWHERE is not set > # CONFIG_SPL_ENV_IS_IN_SPI_FLASH is not set > CONFIG_TFTP_TSIZE=y > diff --git a/configs/stm32mp15_defconfig b/configs/stm32mp15_defconfig > index caa79e68834f..151981849de9 100644 > --- a/configs/stm32mp15_defconfig > +++ b/configs/stm32mp15_defconfig > @@ -65,6 +65,7 @@ CONFIG_ENV_UBI_VOLUME="uboot_config" > CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r" > CONFIG_SYS_RELOC_GD_ENV_ADDR=y > CONFIG_SYS_MMC_ENV_DEV=-1 > +CONFIG_ENV_MMC_USE_DT=y > CONFIG_TFTP_TSIZE=y > CONFIG_STM32_ADC=y > CONFIG_CLK_SCMI=y > diff --git a/configs/stm32mp15_trusted_defconfig b/configs/stm32mp15_trusted_defconfig > index 3309c2e79246..098eedc9b727 100644 > --- a/configs/stm32mp15_trusted_defconfig > +++ b/configs/stm32mp15_trusted_defconfig > @@ -66,6 +66,7 @@ CONFIG_ENV_UBI_VOLUME="uboot_config" > CONFIG_ENV_UBI_VOLUME_REDUND="uboot_config_r" > CONFIG_SYS_RELOC_GD_ENV_ADDR=y > CONFIG_SYS_MMC_ENV_DEV=-1 > +CONFIG_ENV_MMC_USE_DT=y > CONFIG_TFTP_TSIZE=y > CONFIG_STM32_ADC=y > CONFIG_CLK_SCMI=y Reviewed-by: Patrice Chotard Thanks Patrice