summaryrefslogtreecommitdiff
path: root/src/commonlib/bsd/include
diff options
context:
space:
mode:
authorMartin Roth <gaumless@gmail.com>2022-10-26 16:48:24 -0600
committerMartin L Roth <gaumless@gmail.com>2022-10-29 22:49:58 +0000
commit7bcfa920c1f40358cc113d7b077d09804f60bab1 (patch)
treed2b57345e729cec899d338e8a75eb37c240d298e /src/commonlib/bsd/include
parent396fb3db74db75d2cace0d9942d9b4ed49a7e497 (diff)
commonlib...cbmem_id.h: Add AMD STB buffer IDs for CBMEM
- CBMEM_ID_AMD_STB Main Spill-to-DRAM buffer. 2 to 16MiB. - CBMEM_ID_AMD_MP2 Debug buffer. 128KiB Signed-off-by: Martin Roth <gaumless@gmail.com> Change-Id: I27157ad65df992bcdd0e0d15a6d01b96e24067c0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68926 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/commonlib/bsd/include')
-rw-r--r--src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h b/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h
index 0cf9c7fdef..b3d0040c6c 100644
--- a/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h
+++ b/src/commonlib/bsd/include/commonlib/bsd/cbmem_id.h
@@ -82,6 +82,8 @@
#define CBMEM_ID_SMM_COMBUFFER 0x53534d32
#define CBMEM_ID_TYPE_C_INFO 0x54595045
#define CBMEM_ID_MEM_CHIP_INFO 0x5048434D
+#define CBMEM_ID_AMD_STB 0x5f425453
+#define CBMEM_ID_AMD_MP2 0x5f32504d
#define CBMEM_ID_TO_NAME_TABLE \
{ CBMEM_ID_ACPI, "ACPI " }, \
@@ -157,5 +159,7 @@
{ CBMEM_ID_FSP_LOGO, "FSP LOGO "}, \
{ CBMEM_ID_SMM_COMBUFFER, "SMM COMBUFFER"}, \
{ CBMEM_ID_TYPE_C_INFO, "TYPE_C INFO"},\
- { CBMEM_ID_MEM_CHIP_INFO, "MEM CHIP INFO"}
+ { CBMEM_ID_MEM_CHIP_INFO, "MEM CHIP INFO"},\
+ { CBMEM_ID_AMD_STB, "AMD STB"},\
+ { CBMEM_ID_AMD_STB, "AMD MP2 BUFFER"}
#endif /* _CBMEM_ID_H_ */