summaryrefslogtreecommitdiff
path: root/include/env_internal.h
diff options
context:
space:
mode:
authorAlgapally Santosh Sagar <[email protected]>2023-09-21 16:50:42 +0530
committerMichal Simek <[email protected]>2023-11-07 13:47:08 +0100
commit8819892bdbcfe8797bb1ebf45806d9b5ebb86674 (patch)
tree4d6a1c1c70a2534ad10b2a8e2d7343c209427efe /include/env_internal.h
parent3af0e9556c968fc2c40e3778d8f1e668a90af92e (diff)
configs: Add support in Kconfig and convert for armada boards
Move the DEFAULT_ENV_IS_RW to Kconfig for easier configuration. Hence, add the CONFIG_DEFAULT_ENV_IS_RW config to the defconfig files to allow enabling them for armada boards. Signed-off-by: Algapally Santosh Sagar <[email protected]> Signed-off-by: Venkatesh Yadav Abbarapu <[email protected]> Reviewed-by: Simon Glass <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michal Simek <[email protected]>
Diffstat (limited to 'include/env_internal.h')
-rw-r--r--include/env_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/env_internal.h b/include/env_internal.h
index 6a694946468..fcb464263f0 100644
--- a/include/env_internal.h
+++ b/include/env_internal.h
@@ -89,7 +89,7 @@ typedef struct environment_s {
extern env_t embedded_environment;
#endif /* ENV_IS_EMBEDDED */
-#ifdef DEFAULT_ENV_IS_RW
+#ifdef CONFIG_DEFAULT_ENV_IS_RW
extern char default_environment[];
#else
extern const char default_environment[];