From 713c1f8ab490e84230f9813121cd70ce1ecbf5f1 Mon Sep 17 00:00:00 2001 From: kobak Date: Tue, 7 May 2024 09:38:57 +0800 Subject: [PATCH] UBUNTU: [Config] EFI: set CAPSULE_LOADER=y BugLink: https://nvbugspro.nvidia.com/bug/4601764 Nvidia provide a way to flash the UEFI via capsule loader. CAPSULE_LOADER is also built-in in L4T kernel so for the easy use, need to make CAPSULE_LOADER as built-in. Signed-off-by: kobak --- debian.master/config/annotations | 1 - debian.nvidia-6.5/config/annotations | 1 + drivers/firmware/efi/Kconfig | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/debian.master/config/annotations b/debian.master/config/annotations index 4891ec6c7ba8..1878af7ef970 100644 --- a/debian.master/config/annotations +++ b/debian.master/config/annotations @@ -4586,7 +4586,6 @@ CONFIG_EEPROM_MAX6875 policy<{'amd64': 'm', 'arm64': ' CONFIG_EFI policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'riscv64': 'y'}> CONFIG_EFI_ARMSTUB_DTB_LOADER policy<{'arm64': 'n', 'armhf': 'n'}> CONFIG_EFI_BOOTLOADER_CONTROL policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'riscv64': 'm'}> -CONFIG_EFI_CAPSULE_LOADER policy<{'amd64': 'm', 'arm64': 'm', 'armhf': 'm', 'riscv64': 'm'}> CONFIG_EFI_COCO_SECRET policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'riscv64': 'y'}> CONFIG_EFI_CUSTOM_SSDT_OVERLAYS policy<{'amd64': 'y', 'arm64': 'y', 'riscv64': 'y'}> CONFIG_EFI_DEV_PATH_PARSER policy<{'amd64': 'y'}> diff --git a/debian.nvidia-6.5/config/annotations b/debian.nvidia-6.5/config/annotations index 3d50ef4145bd..3fa70f90f1a6 100644 --- a/debian.nvidia-6.5/config/annotations +++ b/debian.nvidia-6.5/config/annotations @@ -75,6 +75,7 @@ CONFIG_CORESIGHT_TPDA policy<{'arm64': 'n'}> CONFIG_CORESIGHT_TPDM policy<{'arm64': 'n'}> CONFIG_CORESIGHT_TRBE policy<{'arm64': 'm'}> CONFIG_DEBUG_INFO_COMPRESSED_ZSTD policy<{'amd64': '-', 'arm64': '-'}> +CONFIG_EFI_CAPSULE_LOADER policy<{'amd64': 'y', 'arm64': 'y', 'armhf': 'y', 'riscv64': 'y'}> CONFIG_ETM4X_IMPDEF_FEATURE policy<{'arm64': 'n'}> CONFIG_GCC_VERSION policy<{'amd64': '110400', 'arm64': '110400'}> CONFIG_GPIO_AAEON policy<{'amd64': '-'}> diff --git a/drivers/firmware/efi/Kconfig b/drivers/firmware/efi/Kconfig index 231f1c70d1db..52181da7308f 100644 --- a/drivers/firmware/efi/Kconfig +++ b/drivers/firmware/efi/Kconfig @@ -124,6 +124,7 @@ config EFI_BOOTLOADER_CONTROL config EFI_CAPSULE_LOADER tristate "EFI capsule loader" depends on EFI && !IA64 + default y help This option exposes a loader interface "/dev/efi_capsule_loader" for users to load EFI capsules. This driver requires working runtime