diff options
author | Simon Glass <sjg@chromium.org> | 2023-02-05 15:36:36 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-02-09 16:32:26 -0500 |
commit | ddeac15e016c4ce9992f285c26f7171e7a96a323 (patch) | |
tree | b3221b61e4881e3410036fbb0df261d7c76541ec /cmd/nvedit.c | |
parent | 799e5be7064693b89574fff82b4327d6ea22894a (diff) | |
download | u-boot-ddeac15e016c4ce9992f285c26f7171e7a96a323.tar.gz u-boot-ddeac15e016c4ce9992f285c26f7171e7a96a323.tar.bz2 u-boot-ddeac15e016c4ce9992f285c26f7171e7a96a323.zip |
Correct SPL use of CMD_NVEDIT_EFI
This converts 1 usage of this option to the non-SPL form, since there is
no SPL_CMD_NVEDIT_EFI defined in Kconfig
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/nvedit.c')
-rw-r--r-- | cmd/nvedit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/nvedit.c b/cmd/nvedit.c index e2a5f0089e..7cbc3fd573 100644 --- a/cmd/nvedit.c +++ b/cmd/nvedit.c @@ -231,7 +231,7 @@ static int _do_env_set(int flag, int argc, char *const argv[], int env_flag) debug("Initial value for argc=%d\n", argc); -#if CONFIG_IS_ENABLED(CMD_NVEDIT_EFI) +#if !IS_ENABLED(CONFIG_SPL_BUILD) && IS_ENABLED(CONFIG_CMD_NVEDIT_EFI) if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'e') return do_env_set_efi(NULL, flag, --argc, ++argv); #endif |