summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd
diff options
context:
space:
mode:
authorJason Glenesk <jason.glenesk@amd.com>2023-03-16 15:28:10 -0700
committerMartin L Roth <gaumless@gmail.com>2023-03-20 01:33:20 +0000
commit60875b47185696c292150058f095b195d7d6901c (patch)
treec7639f8c566802bca024056fea30a963aed75af5 /src/vendorcode/amd
parent665c58b77a6cab398d600a612d1c14d56a01fd9b (diff)
soc/amd/mendocino: Consume fsp misc_data hob
Provide support function to query fsp misc_data hob and return smu reported power and thermal limit. BUG=b:253301653 TEST=Use get_amd_smu_reported_tdp(&tdp) values match what FSP placed in the hob. Change-Id: I9f0d8cdd616726c5a714e99504b83b0126dd273b Signed-off-by: Jason Glenesk <jason.glenesk@amd.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/73747 Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/vendorcode/amd')
-rw-r--r--src/vendorcode/amd/fsp/mendocino/FspGuids.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vendorcode/amd/fsp/mendocino/FspGuids.h b/src/vendorcode/amd/fsp/mendocino/FspGuids.h
index 1bef794418..cb99d2126b 100644
--- a/src/vendorcode/amd/fsp/mendocino/FspGuids.h
+++ b/src/vendorcode/amd/fsp/mendocino/FspGuids.h
@@ -21,4 +21,8 @@
GUID_INIT(0x3060C5EC, 0x7399, 0x432D, \
0xBC, 0x97, 0xBF, 0x95, 0xE4, 0x3D, 0x53, 0x0C )
+#define AMD_MISC_DATA_HOB_GUID \
+ GUID_INIT(0x27f7d972, 0x318f, 0x4665, \
+ 0x8a, 0x99, 0xf4, 0x4c, 0x04, 0x4b, 0x49, 0x08)
+
#endif /* __FSP_GUIDS__ */