summaryrefslogtreecommitdiff
path: root/cmd/Kconfig
diff options
context:
space:
mode:
authorTom Rini <[email protected]>2026-03-23 13:51:06 -0600
committerTom Rini <[email protected]>2026-04-07 11:30:41 -0600
commit67e72e9686e702b85c38f62e4fc02f8efe3ffe82 (patch)
treecb9f70d74098c77a34137fc8a8f413511bdf8d54 /cmd/Kconfig
parent8af4e124875932567cea627e04f26cf5cc529e25 (diff)
env: remote: Disallow CMD_SAVEENV
Looking at how the saveenv portion of this driver was implemented, it does not appear that it could actually result in changes being saved on the remote end. Update Kconfig to disallow CMD_SAVEENV for ENV_IS_IN_REMOTE and then remove the relevant code. Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r--cmd/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig
index f47ce7f45ce..ff6ad37fbe4 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -717,6 +717,7 @@ config CMD_GREPENV
config CMD_SAVEENV
bool "saveenv"
+ depends on !(SRIO_PCIE_BOOT_SLAVE && ENV_IS_IN_REMOTE)
default y
help
Save all environment variables into the compiled-in persistent