vbe: Enable command only with BOOTSTD_FULL
authorSimon Glass <sjg@chromium.org>
Tue, 23 Aug 2022 17:14:05 +0000 (10:14 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Aug 2022 22:33:48 +0000 (16:33 -0600)
Avoid enabling this command by default. This saves about 1KB of code
space.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/Kconfig

index 211ebe9..8ea064b 100644 (file)
@@ -333,7 +333,7 @@ config BOOTM_RTEMS
 config CMD_VBE
        bool "vbe - Verified Boot for Embedded"
        depends on BOOTMETH_VBE
-       default y
+       default y if BOOTSTD_FULL
        help
          Provides various subcommands related to VBE, such as listing the
          available methods, looking at the state and changing which method