From 2b18e164e9cccb6a0171f443a83c50b519b4be23 Mon Sep 17 00:00:00 2001 From: Matt Madison Date: Sun, 10 Nov 2024 09:07:15 -0800 Subject: [PATCH] tegra-common: add TEGRA_UEFI_MINIMAL support - Default to off - Add the needed boot control overlay when enabled Signed-off-by: Matt Madison --- conf/machine/include/tegra-common.inc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/tegra-common.inc b/conf/machine/include/tegra-common.inc index e97da0aa..cf9445f6 100644 --- a/conf/machine/include/tegra-common.inc +++ b/conf/machine/include/tegra-common.inc @@ -14,7 +14,9 @@ UBOOT_EXTLINUX_INITRD ?= "${@'/boot/initrd' if d.getVar('INITRAMFS_IMAGE') != '' NVIDIA_BOARD ?= "generic" -TEGRA_BOOTCONTROL_OVERLAYS ?= "L4TConfiguration.dtbo" +TEGRA_UEFI_MINIMAL ?= "0" +TEGRA_BOOTCONTROL_MINIMAL_UEFI ?= "${@'BootOrderEmmc.dtbo' if bb.utils.to_boolean(d.getVar('TEGRA_UEFI_MINIMAL')) else ''}" +TEGRA_BOOTCONTROL_OVERLAYS ?= "L4TConfiguration.dtbo ${TEGRA_BOOTCONTROL_MINIMAL_UEFI}" TEGRA_BOOTCONTROL_OVERLAYS += "${@'L4TConfiguration-RootfsRedundancyLevelABEnable.dtbo' if bb.utils.to_boolean(d.getVar('USE_REDUNDANT_FLASH_LAYOUT')) else ''}" TEGRA_PLUGIN_MANAGER_OVERLAYS ??= "" TEGRA_DCE_OVERLAYS ??= ""