Message ID | 20220823171405.386811-1-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 2d74226f2c6ed5b758c97865bef7e42c9f389437 |
Delegated to: | Simon Glass |
Headers | show |
Series | vbe: Enable command only with BOOTSTD_FULL | expand |
On Tue, 23 Aug 2022 at 20:14, Simon Glass <sjg@chromium.org> wrote: > > Avoid enabling this command by default. This saves about 1KB of code > space. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > cmd/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/cmd/Kconfig b/cmd/Kconfig > index 211ebe9c878..8ea064b8d2f 100644 > --- a/cmd/Kconfig > +++ b/cmd/Kconfig > @@ -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 > -- > 2.37.2.609.g9ff673ca1a-goog > Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
On Tue, 23 Aug 2022 at 20:14, Simon Glass <sjg@chromium.org> wrote: > > Avoid enabling this command by default. This saves about 1KB of code > space. > > Signed-off-by: Simon Glass <sjg@chromium.org> > --- > > cmd/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > Applied to u-boot-dm, thanks!
diff --git a/cmd/Kconfig b/cmd/Kconfig index 211ebe9c878..8ea064b8d2f 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -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
Avoid enabling this command by default. This saves about 1KB of code space. Signed-off-by: Simon Glass <sjg@chromium.org> --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)