soc/amd/mendocino: enable CPPC feature
This is sort-of reverts commit cbf290c692
("soc/amd/sabrina: drop
CPPC code"), since it turned out that the CPPC feature is supported
on Sabrina (now Mendocino) despite this being missing from the
documentation I looked at when writing the patch referenced above.
Since the CPPC ACPI code generation functionality has been moved to
common code, this isn't a direct revert.
BUG=b:237336330
TEST=None
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I1c059653eeae207d723c77e8a78b19c86e362296
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66401
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#include <acpi/acpi.h>
|
||||
#include <acpi/acpigen.h>
|
||||
#include <amdblocks/acpi.h>
|
||||
#include <amdblocks/cppc.h>
|
||||
#include <amdblocks/cpu.h>
|
||||
#include <amdblocks/acpimmio.h>
|
||||
#include <amdblocks/ioapic.h>
|
||||
@@ -358,6 +359,8 @@ void generate_cpu_entries(const struct device *device)
|
||||
acpigen_write_CSD_package(cpu / threads_per_core, threads_per_core,
|
||||
CSD_HW_ALL, 0);
|
||||
|
||||
generate_cppc_entries(cpu);
|
||||
|
||||
acpigen_pop_len();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user