From: Sascha Hauer <s.hauer@pengutronix.de>
To: BAREBOX <barebox@lists.infradead.org>
Subject: [PATCH 1/3] environment: Drop /dev/env0 default
Date: Tue, 28 Apr 2026 11:24:10 +0200 [thread overview]
Message-ID: <20260428-env-autoprobe-v1-1-9cdedfa0752e@pengutronix.de> (raw)
In-Reply-To: <20260428-env-autoprobe-v1-0-9cdedfa0752e@pengutronix.de>
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@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
next prev parent reply other threads:[~2026-04-28 9:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-28 9:24 [PATCH 0/3] environment: Allow autoprobing env devices without CONFIG_INSECURE Sascha Hauer
2026-04-28 9:24 ` Sascha Hauer [this message]
2026-04-28 9:24 ` [PATCH 2/3] environment: add global.env.path Sascha Hauer
2026-04-28 9:24 ` [PATCH 3/3] environment: add explicit option to allow searching for environment devices Sascha Hauer
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=20260428-env-autoprobe-v1-1-9cdedfa0752e@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
/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