summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLu, Pen-ChunX <pen-chunx.lu@intel.com>2024-08-05 15:16:40 +0800
committerLean Sheng Tan <sheng.tan@9elements.com>2024-09-24 11:16:27 +0000
commit8f62113a7b619822825289b5f6e65dd17969b85a (patch)
treef281514f417a072c9ba92084ee597e375c1a6a39
parent1b5e3a27075560d2d4265ece43e855fe43cfe395 (diff)
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 <pen-chunx.lu@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84326 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
-rw-r--r--src/soc/intel/xeon_sp/gnr/chip.c6
-rw-r--r--src/soc/intel/xeon_sp/gnr/chipset.cb1
2 files changed, 0 insertions, 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