From 18d684438d45a7e8dc5e6eaa4a1c5b2dee6faaa5 Mon Sep 17 00:00:00 2001
From: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Date: Mon, 1 Aug 2022 14:52:13 +0200
Subject: [PATCH] mntreform-config: set CONFIG_ENV_IS_NOWHERE=y

This is to avoid that u-boot reads the environment from emmc. This is
another step to make sure that accidentally running "saveenv" doesn't
mess anything up. It also makes sure that a u-boot image flashed to the
SD-Card really provides a pristine environment without external
influence.
---
 mntreform-config | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mntreform-config b/mntreform-config
index a249351defe..8fa99b5fdb1 100644
--- a/mntreform-config
+++ b/mntreform-config
@@ -654,11 +654,12 @@ CONFIG_MKIMAGE_DTC_PATH="dtc"
 #
 # Environment
 #
+CONFIG_ENV_IS_NOWHERE=y
 # CONFIG_ENV_IS_IN_EEPROM is not set
 # CONFIG_ENV_IS_IN_FAT is not set
 # CONFIG_ENV_IS_IN_EXT4 is not set
 # CONFIG_ENV_IS_IN_FLASH is not set
-CONFIG_ENV_IS_IN_MMC=y
+# CONFIG_ENV_IS_IN_MMC is not set
 # CONFIG_ENV_IS_IN_NAND is not set
 # CONFIG_ENV_IS_IN_NVRAM is not set
 # CONFIG_ENV_IS_IN_ONENAND is not set
-- 
GitLab