From 1cf942c18f893f9a2bb6eadbfb867b8ad0e68dbd Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Wed, 20 Dec 2023 08:18:20 -0800 Subject: Revert "cpu/intel/common: Define build time physical address reserved bits" This reverts commit 6dff1fd7d5e419b2f947f516551dcab3f4ebe30a. BUG=b:314886709 Change-Id: Ic63c93cb15d2998e13d49a872f32d425237f528b Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/79663 Tested-by: build bot (Jenkins) Reviewed-by: Subrata Banik Reviewed-by: Arthur Heymans --- src/cpu/intel/common/Kconfig | 8 -------- src/cpu/intel/common/common_init.c | 3 --- 2 files changed, 11 deletions(-) (limited to 'src/cpu/intel/common') diff --git a/src/cpu/intel/common/Kconfig b/src/cpu/intel/common/Kconfig index 0f6bd6879a..51b8ccb83f 100644 --- a/src/cpu/intel/common/Kconfig +++ b/src/cpu/intel/common/Kconfig @@ -31,14 +31,6 @@ config SET_MSR_AESNI_LOCK_BIT config CPU_INTEL_COMMON_TIMEBASE bool -config CPU_INTEL_COMMON_RESERVED_PHYS_ADDR_BITS - int - help - Specify the number of physical address reserved bits. This - config can be set for SoCs with reserved bits which cannot - be probed at runtime. A runtime detection by hardware - probing will be attempted if the value is -1. - endif config CPU_INTEL_COMMON_VOLTAGE diff --git a/src/cpu/intel/common/common_init.c b/src/cpu/intel/common/common_init.c index 83a21e05ed..55bc59eb75 100644 --- a/src/cpu/intel/common/common_init.c +++ b/src/cpu/intel/common/common_init.c @@ -258,9 +258,6 @@ static unsigned int get_tme_keyid_bits(void) unsigned int get_reserved_phys_addr_bits(void) { - if (CONFIG_CPU_INTEL_COMMON_RESERVED_PHYS_ADDR_BITS) - return CONFIG_CPU_INTEL_COMMON_RESERVED_PHYS_ADDR_BITS; - if (!is_tme_supported()) return 0; -- cgit v1.2.3