aboutsummaryrefslogtreecommitdiff
path: root/board/emulation/qemu-arm
diff options
context:
space:
mode:
authorSimon Glass2023-01-28 15:00:28 -0700
committerTom Rini2023-02-06 13:04:53 -0500
commit662cfa03cbe212a2b900ea9a69530d2f65ed1704 (patch)
treeb1aa9c97724177bceed556b99c76ae519a02264c /board/emulation/qemu-arm
parentece763de2f0d348a30655754f2be7100bc7057cc (diff)
arm: qemu: Move GUIDs to the C file
These are only used in one place, so move them there. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'board/emulation/qemu-arm')
-rw-r--r--board/emulation/qemu-arm/qemu-arm.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/board/emulation/qemu-arm/qemu-arm.c b/board/emulation/qemu-arm/qemu-arm.c
index 3df3e41c0b2..dae37640bc5 100644
--- a/board/emulation/qemu-arm/qemu-arm.c
+++ b/board/emulation/qemu-arm/qemu-arm.c
@@ -15,6 +15,16 @@
#include <virtio.h>
#include <linux/kernel.h>
+#include <linux/sizes.h>
+
+/* GUIDs for capsule updatable firmware images */
+#define QEMU_ARM_UBOOT_IMAGE_GUID \
+ EFI_GUID(0xf885b085, 0x99f8, 0x45af, 0x84, 0x7d, \
+ 0xd5, 0x14, 0x10, 0x7a, 0x4a, 0x2c)
+
+#define QEMU_ARM64_UBOOT_IMAGE_GUID \
+ EFI_GUID(0x058b7d83, 0x50d5, 0x4c47, 0xa1, 0x95, \
+ 0x60, 0xd8, 0x6a, 0xd3, 0x41, 0xc4)
#ifdef CONFIG_ARM64
#include <asm/armv8/mmu.h>