[PATCH 1/1] efi_loader: reduce UEFI size if HAS_BOARD_SIZE_LIMIT=y
Ilias Apalodimas
ilias.apalodimas at linaro.org
Mon Jan 20 14:59:39 CET 2025
On Fri, 17 Jan 2025 at 22:34, Heinrich Schuchardt
<heinrich.schuchardt at canonical.com> wrote:
>
> If a board has a strict size limit, disable
>
> * Unicode capitalization and
> * HII protocols
>
> by default to reduce the image size.
>
> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
> ---
> lib/efi_loader/Kconfig | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/lib/efi_loader/Kconfig b/lib/efi_loader/Kconfig
> index c46ffe3a9d8..59df4e19cb6 100644
> --- a/lib/efi_loader/Kconfig
> +++ b/lib/efi_loader/Kconfig
> @@ -386,7 +386,7 @@ config EFI_DT_FIXUP
>
> config EFI_LOADER_HII
> bool "HII protocols"
> - default y
> + default y if !HAS_BOARD_SIZE_LIMIT
> help
> The Human Interface Infrastructure is a complicated framework that
> allows UEFI applications to draw fancy menus and hook strings using
> @@ -406,7 +406,7 @@ if EFI_UNICODE_COLLATION_PROTOCOL2
>
> config EFI_UNICODE_CAPITALIZATION
> bool "Support Unicode capitalization"
> - default y
> + default y if !HAS_BOARD_SIZE_LIMIT
> help
> Select this option to enable correct handling of the capitalization of
> Unicode codepoints in the range 0x0000-0xffff. If this option is not
> --
> 2.47.1
>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas at linaro.org>
More information about the U-Boot
mailing list