u-boot.lists.denx.de archive mirror
 help / color / mirror / Atom feed
* [PATCH] vbe: Enable command only with BOOTSTD_FULL
@ 2022-08-23 17:14 Simon Glass
  2022-08-24 13:33 ` Ilias Apalodimas
  2022-08-27  1:59 ` Simon Glass
  0 siblings, 2 replies; 3+ messages in thread
From: Simon Glass @ 2022-08-23 17:14 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, Ashok Reddy Soma, Ilias Apalodimas,
	John Keeping, Masahisa Kojima, Michal Simek, Ovidiu Panait

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] vbe: Enable command only with BOOTSTD_FULL
  2022-08-23 17:14 [PATCH] vbe: Enable command only with BOOTSTD_FULL Simon Glass
@ 2022-08-24 13:33 ` Ilias Apalodimas
  2022-08-27  1:59 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Ilias Apalodimas @ 2022-08-24 13:33 UTC (permalink / raw)
  To: Simon Glass
  Cc: U-Boot Mailing List, Tom Rini, Ashok Reddy Soma, John Keeping,
	Masahisa Kojima, Michal Simek, Ovidiu Panait

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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] vbe: Enable command only with BOOTSTD_FULL
  2022-08-23 17:14 [PATCH] vbe: Enable command only with BOOTSTD_FULL Simon Glass
  2022-08-24 13:33 ` Ilias Apalodimas
@ 2022-08-27  1:59 ` Simon Glass
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2022-08-27  1:59 UTC (permalink / raw)
  To: Ilias Apalodimas
  Cc: U-Boot Mailing List, Tom Rini, Ashok Reddy Soma, John Keeping,
	Masahisa Kojima, Michal Simek, Ovidiu Panait, Simon Glass

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!

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-27  1:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-23 17:14 [PATCH] vbe: Enable command only with BOOTSTD_FULL Simon Glass
2022-08-24 13:33 ` Ilias Apalodimas
2022-08-27  1:59 ` Simon Glass

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).