From 972d9f2cce2792b847c4c1879f5b52c19585c37c Mon Sep 17 00:00:00 2001 From: Felix Held Date: Wed, 23 Feb 2022 16:32:20 +0100 Subject: arch/x86: consolidate HPET base address definitions Both the HPET_BASE_ADDRESS define from arch/x86/include/arch/hpet.h and the HPET_ADDRESS Kconfig option define the base address of the HPET MMIO region which is 0xfed00000 on all chipsets and SoCs in the coreboot tree. Since these two different constants are used in different places that however might end up used in the same coreboot build, drop the Kconfig option and use the definition from arch/x86 instead. Since it's no longer needed to check for a mismatch of those two constants, the corresponding checks are dropped too. Signed-off-by: Felix Held Change-Id: Ia797bb8ac150ae75807cb3bd1f9db5b25dfca35e Reviewed-on: https://review.coreboot.org/c/coreboot/+/62307 Reviewed-by: Angel Pons Reviewed-by: Lance Zhao Tested-by: build bot (Jenkins) --- src/soc/amd/sabrina/include/soc/iomap.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/soc/amd/sabrina/include') diff --git a/src/soc/amd/sabrina/include/soc/iomap.h b/src/soc/amd/sabrina/include/soc/iomap.h index cfe4184888..7f9746b97f 100644 --- a/src/soc/amd/sabrina/include/soc/iomap.h +++ b/src/soc/amd/sabrina/include/soc/iomap.h @@ -15,11 +15,6 @@ #define GNB_IO_APIC_ADDR 0xfec01000 #define SPI_BASE_ADDRESS 0xfec10000 -#include /* This will be removed in a follow-up patch */ -#if CONFIG_HPET_ADDRESS != HPET_BASE_ADDRESS -#error HPET address must be 0xfed00000 -#endif - /* FCH AL2AHB Registers */ #define ALINK_AHB_ADDRESS 0xfedc0000 -- cgit v1.2.3