mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-06-04 14:10:01 +00:00
arm-bsp/u-boot: corstone1000: add unique firmware GUID
Add new Corstone-1000 firmware GUID and remove previous u-boot GUID to be updated into ESRT table. SR-IR 2.0 requires the capsule GUID to be unique. Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
committed by
Jon Mason
parent
391b9dc0a9
commit
0457cfd605
+47
@@ -0,0 +1,47 @@
|
||||
From 98b33cc6b3a56f56224e0a6fe6c3564de7b1341a Mon Sep 17 00:00:00 2001
|
||||
From: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
|
||||
Date: Tue, 8 Aug 2023 10:24:39 +0000
|
||||
Subject: [PATCH] corstone1000: ESRT: add unique firmware GUID
|
||||
|
||||
Add unique Corstone-1000 firmware GUID
|
||||
|
||||
Upstream-Status: Pending [Not submitted to upstream yet]
|
||||
Signed-off-by: Anusmita Dutta Mazumder <anusmita.duttamazumder@arm.com>
|
||||
---
|
||||
lib/efi_loader/efi_firmware.c | 12 ++++++------
|
||||
1 file changed, 6 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/lib/efi_loader/efi_firmware.c b/lib/efi_loader/efi_firmware.c
|
||||
index 6135f8ed1c..c9117ae2b2 100644
|
||||
--- a/lib/efi_loader/efi_firmware.c
|
||||
+++ b/lib/efi_loader/efi_firmware.c
|
||||
@@ -20,12 +20,12 @@
|
||||
#define FMP_PAYLOAD_HDR_SIGNATURE SIGNATURE_32('M', 'S', 'S', '1')
|
||||
|
||||
#if CONFIG_IS_ENABLED(TARGET_CORSTONE1000)
|
||||
-#define EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID \
|
||||
- EFI_GUID(0xe2bb9c06, 0x70e9, 0x4b14, 0x97, 0xa3, \
|
||||
- 0x5a, 0x79, 0x13, 0x17, 0x6e, 0x3f)
|
||||
+/* Firmware GUID */
|
||||
+#define EFI_CORSTONE1000_FIRMWARE_GUID \
|
||||
+ EFI_GUID(0x989f3a4e, 0x46e0, 0x4cd0, 0x98, 0x77, \
|
||||
+ 0xa2, 0x5c, 0x70, 0xc0, 0x13, 0x29)
|
||||
|
||||
- const efi_guid_t efi_firmware_image_type_uboot_raw =
|
||||
- EFI_FIRMWARE_IMAGE_TYPE_UBOOT_RAW_GUID;
|
||||
+efi_guid_t corstone1000_firmware_guid = EFI_CORSTONE1000_FIRMWARE_GUID;
|
||||
|
||||
static efi_status_t efi_corstone1000_img_info_get (
|
||||
efi_uintn_t *image_info_size,
|
||||
@@ -353,7 +353,7 @@ efi_status_t EFIAPI efi_firmware_get_image_info(
|
||||
descriptor_version, descriptor_count,
|
||||
descriptor_size,
|
||||
package_version, package_version_name,
|
||||
- &efi_firmware_image_type_uboot_raw);
|
||||
+ &corstone1000_firmware_guid);
|
||||
#else
|
||||
ret = efi_fill_image_desc_array(image_info_size, image_info,
|
||||
descriptor_version, descriptor_count,
|
||||
--
|
||||
2.38.1
|
||||
|
||||
@@ -51,6 +51,7 @@ SRC_URI:append:corstone1000 = " \
|
||||
file://0031-corstone1000-enable-PSCI-reset.patch \
|
||||
file://0032-Enable-EFI-set-get-time-services.patch \
|
||||
file://0033-corstone1000-detect-inflated-kernel-size.patch \
|
||||
file://0034-corstone1000-ESRT-add-unique-firmware-GUID.patch \
|
||||
"
|
||||
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user