cmd: nvedit: remove error check, handle with Kconfig
authorTroy Kisky <troykiskyboundary@gmail.com>
Mon, 13 Mar 2023 21:31:24 +0000 (14:31 -0700)
committerTom Rini <trini@konsulko.com>
Tue, 9 May 2023 15:38:33 +0000 (11:38 -0400)
commit289aa6a371efdb3dae0cd5bdcf694d7fb4568477
treeb6f53ea7fc97a5b70686627ea10c54fe1b81846a
parent11910550b65e6072b9542d462c0aa93f4ca81836
cmd: nvedit: remove error check, handle with Kconfig

Avoid error messages when SPL,TPL,VPL build don't
have the environment options of the main build.
This is needed when defined(CONFIG_ENV_IS_IN_xxx) is changed
to CONFIG_IS_ENABLED(ENV_IS_IN_xxx).

Signed-off-by: Troy Kisky <troykiskyboundary@gmail.com>
cmd/nvedit.c
env/Kconfig