From 8f62113a7b619822825289b5f6e65dd17969b85a Mon Sep 17 00:00:00 2001 From: "Lu, Pen-ChunX" Date: Mon, 5 Aug 2024 15:16:40 +0800 Subject: soc/intel/xeon_sp/gnr: Remove duplicated HPET table Both lpc.c and chip.c will create HPET table. remove hpet_device_ops for avoiding create two HPET table. Change-Id: I32628e98b5c1fac4b72ea3abf755b62847161bec Signed-off-by: Lu, Pen-ChunX Reviewed-on: https://review.coreboot.org/c/coreboot/+/84326 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/intel/xeon_sp/gnr/chip.c | 6 ------ src/soc/intel/xeon_sp/gnr/chipset.cb | 1 - 2 files changed, 7 deletions(-) diff --git a/src/soc/intel/xeon_sp/gnr/chip.c b/src/soc/intel/xeon_sp/gnr/chip.c index aa9b37874b..45a0173395 100644 --- a/src/soc/intel/xeon_sp/gnr/chip.c +++ b/src/soc/intel/xeon_sp/gnr/chip.c @@ -9,12 +9,6 @@ #include "chip.h" -struct device_operations hpet_device_ops = { -#if CONFIG(HAVE_ACPI_TABLES) - .write_acpi_tables = &acpi_write_hpet, -#endif -}; - struct device_operations cpu_bus_ops = { .init = mp_cpu_bus_init, }; diff --git a/src/soc/intel/xeon_sp/gnr/chipset.cb b/src/soc/intel/xeon_sp/gnr/chipset.cb index ef33eac9d2..a27b1d753a 100644 --- a/src/soc/intel/xeon_sp/gnr/chipset.cb +++ b/src/soc/intel/xeon_sp/gnr/chipset.cb @@ -16,6 +16,5 @@ chip soc/intel/xeon_sp/gnr device domain 0 on device pci 00.0 mandatory end # MMAP/VT-d device gpio 0 alias ibl_gpio_communities on end # GPIO - device mmio 0xfed00000 on ops hpet_device_ops end # HPET end end -- cgit v1.2.3