xref: /rk3399_ARM-atf/include/plat/arm/common/arm_gpt_partition_guid.h (revision 7d5e2e833b26e62fb431ee702fa67e4092209563)
1 /*
2  * Copyright (c) 2026, Arm Limited. All rights reserved.
3  *
4  * SPDX-License-Identifier: BSD-3-Clause
5  */
6 #ifndef ARM_GPT_PARTITION_GUID_H
7 #define ARM_GPT_PARTITION_GUID_H
8 
9 #include <drivers/partition/efi.h>
10 
11 /*
12  * Platforms can override these GUIDs (for example in platform_def.h) to use
13  * GPT partition GUIDs for lookup. The defaults are NULL_GUID so that the
14  * common code can fall back to partition names when GUIDs are not provided.
15  */
16 #ifndef ARM_GPT_FWU_METADATA_TYPE_GUID
17 #define ARM_GPT_FWU_METADATA_TYPE_GUID		\
18 	EFI_GUID(0x8a7a84a0U, 0x8387U, 0x40f6U, 0xabU, 0x41U, \
19 		 0xa8U, 0xb9U, 0xa5U, 0xa6U, 0x0dU, 0x23U)
20 #endif
21 
22 #ifndef ARM_FIP_IMG_TYPE_GUID
23 #define ARM_FIP_IMG_TYPE_GUID			\
24 	EFI_GUID(0x78c312e5U, 0x9fccU, 0x491aU, 0xa7U, 0x8fU, \
25 		 0xd2U, 0x68U, 0x9cU, 0x35U, 0x9eU, 0x22U)
26 #endif
27 
28 #endif /* ARM_GPT_PARTITION_GUID_H */
29