summaryrefslogtreecommitdiff
path: root/board/emulation
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-01-29 01:00:28 +0300
committerTom Rini <trini@konsulko.com>2023-02-06 21:04:53 +0300
commit662cfa03cbe212a2b900ea9a69530d2f65ed1704 (patch)
treeb1aa9c97724177bceed556b99c76ae519a02264c /board/emulation
parentece763de2f0d348a30655754f2be7100bc7057cc (diff)
downloadu-boot-662cfa03cbe212a2b900ea9a69530d2f65ed1704.tar.xz
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')
-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 3df3e41c0b..dae37640bc 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>