U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Anurag Dutta <a-dutta@ti.com>
To: <afd@ti.com>, <trini@konsulko.com>
Cc: <u-boot@lists.denx.de>, <a-dutta@ti.com>, <a-chavda@ti.com>,
	<u-kumar1@ti.com>
Subject: [PATCH 2/2] configs: am57xx: Remove saved environments
Date: Sat, 8 Feb 2025 10:09:38 +0530	[thread overview]
Message-ID: <20250208043938.52832-3-a-dutta@ti.com> (raw)
In-Reply-To: <20250208043938.52832-1-a-dutta@ti.com>

Saved environments lead to inconsistencies leading to conflicts
with the default environment that U-boot should update during
development. Remove the previously saved environment so that
the default environment is always loaded.

Signed-off-by: Anurag Dutta <a-dutta@ti.com>
---
 configs/am57xx_evm_defconfig | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/configs/am57xx_evm_defconfig b/configs/am57xx_evm_defconfig
index d10d2a5940f..13260edf3f0 100644
--- a/configs/am57xx_evm_defconfig
+++ b/configs/am57xx_evm_defconfig
@@ -10,7 +10,6 @@ CONFIG_TARGET_AM57XX_EVM=y
 CONFIG_SPL_TEXT_BASE=0x40300000
 CONFIG_SYS_BOOTM_LEN=0x4000000
 CONFIG_SPL=y
-CONFIG_ENV_OFFSET_REDUND=0x280000
 CONFIG_SPL_SPI_FLASH_SUPPORT=y
 CONFIG_SPL_SPI=y
 CONFIG_ARMV7_LPAE=y
@@ -54,8 +53,7 @@ CONFIG_CMD_AVB=y
 CONFIG_OF_CONTROL=y
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIST="am57xx-beagle-x15 am57xx-beagle-x15-revb1 am57xx-beagle-x15-revc am5729-beagleboneai am572x-idk am571x-idk am574x-idk"
-CONFIG_ENV_OVERWRITE=y
-CONFIG_ENV_IS_IN_MMC=y
+# CONFIG_ENV_IS_IN_FAT is not set
 CONFIG_SYS_REDUNDAND_ENVIRONMENT=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
 CONFIG_SYS_MMC_ENV_DEV=1
-- 
2.34.1


  parent reply	other threads:[~2025-02-08  4:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-08  4:39 [PATCH 0/2] Remove "saveenv" functionality from am57xx evms Anurag Dutta
2025-02-08  4:39 ` [PATCH 1/2] configs: am57xx_hs: Remove saved environments Anurag Dutta
2025-02-08  4:39 ` Anurag Dutta [this message]
2025-02-09 17:20 ` [PATCH 0/2] Remove "saveenv" functionality from am57xx evms Tom Rini
2025-02-10  4:25   ` Kumar, Udit
2025-02-10 14:43     ` Tom Rini
2025-02-19  5:03       ` Kumar, Udit
2025-02-25 17:59 ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250208043938.52832-3-a-dutta@ti.com \
    --to=a-dutta@ti.com \
    --cc=a-chavda@ti.com \
    --cc=afd@ti.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=u-kumar1@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox