From aebf534364de1e7dc449920bc25fe2123cf4dd75 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 26 Jul 2023 17:33:31 +0200 Subject: soc/amd/cpu.c: Conditionally define .acpi_fill_ssdt Signed-off-by: Arthur Heymans Change-Id: I0e81c08191f3c5f768bd3cad0e4915d4476c739f Reviewed-on: https://review.coreboot.org/c/coreboot/+/76493 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held Reviewed-by: Matt DeVillier --- src/soc/amd/common/block/cpu/cpu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/soc/amd/common/block/cpu/cpu.c b/src/soc/amd/common/block/cpu/cpu.c index bce0fc3ad6..c122474d81 100644 --- a/src/soc/amd/common/block/cpu/cpu.c +++ b/src/soc/amd/common/block/cpu/cpu.c @@ -21,5 +21,7 @@ struct device_operations amd_cpu_bus_ops = { .read_resources = noop_read_resources, .set_resources = noop_set_resources, .init = mp_cpu_bus_init, +#if CONFIG(HAVE_ACPI_TABLES) .acpi_fill_ssdt = generate_cpu_entries, +#endif }; -- cgit v1.2.3