[PATCH v3 33/81] env: Allow VPL environment to be nowhere

Simon Glass sjg at chromium.org
Mon Feb 6 20:05:01 CET 2023


Add an option to put the VPL environment nowhere (not in storage).

Signed-off-by: Simon Glass <sjg at chromium.org>
---

(no changes since v1)

 env/Kconfig | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/env/Kconfig b/env/Kconfig
index c409ea71fe5..0418c558b93 100644
--- a/env/Kconfig
+++ b/env/Kconfig
@@ -859,6 +859,16 @@ config TPL_ENV_IS_IN_FLASH
 
 endif
 
+if VPL_ENV_SUPPORT
+
+config VPL_ENV_IS_NOWHERE
+	bool "VPL Environment is not stored"
+	default y if ENV_IS_NOWHERE
+	help
+	  Similar to ENV_IS_NOWHERE, used for VPL environment.
+
+endif  # VPL_ENV_SUPPORT
+
 config USE_BOOTFILE
 	bool "Add a 'bootfile' environment variable"
 	help
-- 
2.39.1.519.gcb327c4b5f-goog



More information about the U-Boot mailing list