From 29686e104edaeeda41e6ddcfa46cb77db96cb0cb Mon Sep 17 00:00:00 2001
From: Brad Figg <bfigg@nvidia.com>
Date: Wed, 7 Aug 2024 11:13:22 -0700
Subject: [PATCH] NVIDIA: [Config] EFI: set CAPSULE_LOADER=y for arm64

BugLink: https://bugs.launchpad.net/bugs/2067111

Nvidia provide a way to flash the UEFI via capsule loader in arm64.
CAPSULE_LOADER is also built-in in L4T kernel so for the easy use,
need to make CAPSULE_LOADER as built-in in arm64.

Nvidia-BugLink: https://nvbugspro.nvidia.com/bug/4601764

Signed-off-by: Brad Figg <bfigg@nvidia.com>
Acked-by: Jacob Martin <jacob.martin@canonical.com>
Acked-by: Noah Wager <noah.wager@canonical.com>
---
 debian.nvidia/config/annotations | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian.nvidia/config/annotations b/debian.nvidia/config/annotations
index f985a64bbea53..acc8d2cf81ba9 100644
--- a/debian.nvidia/config/annotations
+++ b/debian.nvidia/config/annotations
@@ -182,3 +182,4 @@ CONFIG_RUST_DEBUG_ASSERTIONS                    policy<{'amd64': '-'}>
 CONFIG_RUST_OVERFLOW_CHECKS                     policy<{'amd64': '-'}>
 CONFIG_RUST_PHYLIB_ABSTRACTIONS                 policy<{'amd64': '-'}>
 CONFIG_SAMPLES_RUST                             policy<{'amd64': '-'}>
+CONFIG_EFI_CAPSULE_LOADER                       policy<{'amd64': 'm', 'arm64': 'y'}>