cmd: disable CMD_NVEDIT_EFI by default
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Oct 2019 13:44:22 +0000 (15:44 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 6 Oct 2019 14:02:37 +0000 (16:02 +0200)
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

index 4e61565..8e55b34 100644 (file)
@@ -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.