All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/1] cmd: disable CMD_NVEDIT_EFI by default
@ 2019-10-06 13:53 Heinrich Schuchardt
  2019-10-06 17:35 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Heinrich Schuchardt @ 2019-10-06 13:53 UTC (permalink / raw)
  To: u-boot

The growth of the UEFI sub-system leads to build failures for systems with
strict limits on the U-Boot image size.

CMD_NVEDIT_EFI supports displaying and editing of UEFI variables. The
setting is not needed for booting. Disabling it by default reduces the
size of the U-Boot image by 2 KiB.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
---
 cmd/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmd/Kconfig b/cmd/Kconfig
index 4e61565aab..8e55b34c96 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -531,7 +531,6 @@ config CMD_ENV_FLAGS
 config CMD_NVEDIT_EFI
 	bool "env [set|print] -e - set/print UEFI variables"
 	depends on EFI_LOADER
-	default y
 	imply HEXDUMP
 	help
 	  UEFI variables are encoded as some form of U-Boot variables.
--
2.23.0

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

* [U-Boot] [PATCH 1/1] cmd: disable CMD_NVEDIT_EFI by default
  2019-10-06 13:53 [U-Boot] [PATCH 1/1] cmd: disable CMD_NVEDIT_EFI by default Heinrich Schuchardt
@ 2019-10-06 17:35 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2019-10-06 17:35 UTC (permalink / raw)
  To: u-boot

On Sun, Oct 06, 2019 at 03:53:42PM +0200, Heinrich Schuchardt wrote:

> The growth of the UEFI sub-system leads to build failures for systems with
> strict limits on the U-Boot image size.
> 
> CMD_NVEDIT_EFI supports displaying and editing of UEFI variables. The
> setting is not needed for booting. Disabling it by default reduces the
> size of the U-Boot image by 2 KiB.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>

Thanks!

Reviewed-by: Tom Rini <trini@konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20191006/a7c98df6/attachment.sig>

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

end of thread, other threads:[~2019-10-06 17:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-06 13:53 [U-Boot] [PATCH 1/1] cmd: disable CMD_NVEDIT_EFI by default Heinrich Schuchardt
2019-10-06 17:35 ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.