coreboot_tables: Update CB_MEM_TAG and LB_MEM_TAG values to 17

Update the values of CB_MEM_TAG and LB_MEM_TAG from 7 to 17. This change
is necessary to avoid conflicts with the ACPI System Address Map
Interfaces specification.

Change-Id: I802cd724b8f330a9f814fb952ab824cfc23c0e67
Signed-off-by: Yidi Lin <yidilin@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90676
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Yidi Lin 2026-01-03 11:07:15 +08:00 committed by Matt DeVillier
commit 6f394ce50d
2 changed files with 7 additions and 3 deletions

View file

@ -121,8 +121,8 @@ struct cb_memory_range {
#define CB_MEM_NVS 4
#define CB_MEM_UNUSABLE 5
#define CB_MEM_VENDOR_RSVD 6
#define CB_MEM_TAG 7
#define CB_MEM_TABLE 16
#define CB_MEM_TAG 17
struct cb_memory {
u32 tag;

View file

@ -143,8 +143,12 @@ struct lb_memory_range {
#define LB_MEM_NVS 4 /* ACPI NVS Memory */
#define LB_MEM_UNUSABLE 5 /* Unusable address space */
#define LB_MEM_VENDOR_RSVD 6 /* Vendor Reserved */
#define LB_MEM_TAG 7 /* Armv9 tag storage for MTE */
#define LB_MEM_TABLE 16 /* Ram configuration tables are kept in */
/*
* The memory type [1 ... 16) needs to match
* https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/15_System_Address_Map_Interfaces/Sys_Address_Map_Interfaces.html
*/
#define LB_MEM_TABLE 16 /* Ram configuration tables are kept in */
#define LB_MEM_TAG 17 /* Armv9 tag storage for MTE */
#define LB_MEM_SOFT_RESERVED 0xefffffff /* Specific purpose memory */
};