[PATCH 1/3] environment: Drop /dev/env0 default
Sascha Hauer
s.hauer at pengutronix.de
Tue Apr 28 02:24:10 PDT 2026
Since [1] all boards that want to use /dev/env0 as environment path do so
explicitly, so we can drop the default fallback to /dev/env0.
[1] c31204804b ("environment: explicitly set env path to /dev/env0 where used")
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
common/environment.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/common/environment.c b/common/environment.c
index ec14d0629a..207b58e743 100644
--- a/common/environment.c
+++ b/common/environment.c
@@ -132,8 +132,6 @@ const char *default_environment_path_get(void)
cdev = default_environment_path_search();
if (cdev)
default_environment_path = basprintf("/dev/%s", cdev->name);
- else
- default_environment_path = xstrdup("/dev/env0");
return default_environment_path;
}
--
2.47.3
More information about the barebox
mailing list