From 75547dbc53cde54dc83e26ef22828ce7cf9e2ba2 Mon Sep 17 00:00:00 2001
From: Felix Held <felix-coreboot@felixheld.de>
Date: Mon, 8 Aug 2022 22:55:12 +0200
Subject: soc/amd/common/fsp: add common CPPC data HOB support

Add common AMD FSP functionality to get the nominal and minimal CPU core
CPPC frequencies. Those functions will be used in the _CPC ACPI object
generation in a follow-up patch.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Signed-off-by: Matt DeVillier <matt.devillier@amd.corp-partner.google.com>
Change-Id: I68ebdf610795d2673e0118a732f54f5f719b73c0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66550
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
---
 src/soc/amd/common/block/include/amdblocks/cppc.h | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'src/soc/amd/common/block')

diff --git a/src/soc/amd/common/block/include/amdblocks/cppc.h b/src/soc/amd/common/block/include/amdblocks/cppc.h
index 7961f60794..aed7693a41 100644
--- a/src/soc/amd/common/block/include/amdblocks/cppc.h
+++ b/src/soc/amd/common/block/include/amdblocks/cppc.h
@@ -8,5 +8,7 @@
 
 struct cppc_config;
 void generate_cppc_entries(unsigned int core_id);
+enum cb_err get_ccx_cppc_min_frequency(uint32_t *freq);
+enum cb_err get_ccx_cppc_nom_frequency(uint32_t *freq);
 
 #endif /* AMD_CEZANNE_CPPC_H */
-- 
cgit v1.2.3