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 <trini@konsulko.com>
This commit is contained in:
Tom Rini
2026-03-23 13:51:06 -06:00
parent 8af4e12487
commit 67e72e9686
2 changed files with 1 additions and 13 deletions

View File

@@ -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