Felix Held submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Felix Held: Looks good to me, approved Mariusz Szafrański: Looks good to me, approved
cpu/x86/Kconfig: Remove unused CPU_ADDR_BITS

Change-Id: I88f62c18b814ac0ddd356944359e727d6e3bba5a
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58688
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Mariusz Szafrański <mariuszx.szafranski@intel.com>
---
M src/cpu/amd/agesa/family14/Kconfig
M src/cpu/amd/agesa/family15tn/Kconfig
M src/cpu/amd/agesa/family16kb/Kconfig
M src/cpu/amd/pi/00730F01/Kconfig
M src/cpu/intel/model_106cx/Kconfig
M src/cpu/x86/Kconfig
M src/soc/amd/cezanne/Kconfig
M src/soc/amd/picasso/Kconfig
M src/soc/amd/stoneyridge/Kconfig
M src/soc/intel/baytrail/Kconfig
M src/soc/intel/xeon_sp/cpx/Kconfig
M src/soc/intel/xeon_sp/skx/Kconfig
12 files changed, 0 insertions(+), 64 deletions(-)

diff --git a/src/cpu/amd/agesa/family14/Kconfig b/src/cpu/amd/agesa/family14/Kconfig
index 103903f..a2790a1 100644
--- a/src/cpu/amd/agesa/family14/Kconfig
+++ b/src/cpu/amd/agesa/family14/Kconfig
@@ -3,11 +3,3 @@
config CPU_AMD_AGESA_FAMILY14
bool
select X86_AMD_FIXED_MTRRS
-
-if CPU_AMD_AGESA_FAMILY14
-
-config CPU_ADDR_BITS
- int
- default 36
-
-endif
diff --git a/src/cpu/amd/agesa/family15tn/Kconfig b/src/cpu/amd/agesa/family15tn/Kconfig
index 8c52e9a..a0288d7 100644
--- a/src/cpu/amd/agesa/family15tn/Kconfig
+++ b/src/cpu/amd/agesa/family15tn/Kconfig
@@ -4,11 +4,3 @@
bool
select IDS_OPTIONS_HOOKED_UP
select X86_AMD_FIXED_MTRRS
-
-if CPU_AMD_AGESA_FAMILY15_TN
-
-config CPU_ADDR_BITS
- int
- default 48
-
-endif
diff --git a/src/cpu/amd/agesa/family16kb/Kconfig b/src/cpu/amd/agesa/family16kb/Kconfig
index e41ddec..08e8009 100644
--- a/src/cpu/amd/agesa/family16kb/Kconfig
+++ b/src/cpu/amd/agesa/family16kb/Kconfig
@@ -6,10 +6,6 @@

if CPU_AMD_AGESA_FAMILY16_KB

-config CPU_ADDR_BITS
- int
- default 40
-
config FORCE_AM1_SOCKET_SUPPORT
bool
default n
diff --git a/src/cpu/amd/pi/00730F01/Kconfig b/src/cpu/amd/pi/00730F01/Kconfig
index 5296ee6..6fd6332 100644
--- a/src/cpu/amd/pi/00730F01/Kconfig
+++ b/src/cpu/amd/pi/00730F01/Kconfig
@@ -5,11 +5,3 @@
select X86_AMD_FIXED_MTRRS
select SUPPORT_CPU_UCODE_IN_CBFS
select MICROCODE_BLOB_UNDISCLOSED
-
-if CPU_AMD_PI_00730F01
-
-config CPU_ADDR_BITS
- int
- default 40
-
-endif
diff --git a/src/cpu/intel/model_106cx/Kconfig b/src/cpu/intel/model_106cx/Kconfig
index ac45cfa..76e0423 100644
--- a/src/cpu/intel/model_106cx/Kconfig
+++ b/src/cpu/intel/model_106cx/Kconfig
@@ -11,11 +11,3 @@
select SERIALIZED_SMM_INITIALIZATION
select CPU_INTEL_COMMON
select CPU_INTEL_COMMON_TIMEBASE
-
-if CPU_INTEL_MODEL_106CX
-
-config CPU_ADDR_BITS
- int
- default 32
-
-endif
diff --git a/src/cpu/x86/Kconfig b/src/cpu/x86/Kconfig
index fb5b541..44c9cb6 100644
--- a/src/cpu/x86/Kconfig
+++ b/src/cpu/x86/Kconfig
@@ -90,10 +90,6 @@
non-eviction mode and therefore need to be careful to avoid
eviction.

-config CPU_ADDR_BITS
- int
- default 36
-
config LOGICAL_CPUS
bool
default y
diff --git a/src/soc/amd/cezanne/Kconfig b/src/soc/amd/cezanne/Kconfig
index c2423cd..65bf2bf 100644
--- a/src/soc/amd/cezanne/Kconfig
+++ b/src/soc/amd/cezanne/Kconfig
@@ -204,10 +204,6 @@
depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
default "apu/amdfw"

-config CPU_ADDR_BITS
- int
- default 48
-
config MMCONF_BASE_ADDRESS
default 0xF8000000

diff --git a/src/soc/amd/picasso/Kconfig b/src/soc/amd/picasso/Kconfig
index 5d1c0d4..6fc4825 100644
--- a/src/soc/amd/picasso/Kconfig
+++ b/src/soc/amd/picasso/Kconfig
@@ -200,10 +200,6 @@
hex
default 0x10000000

-config CPU_ADDR_BITS
- int
- default 48
-
config MMCONF_BASE_ADDRESS
default 0xF8000000

diff --git a/src/soc/amd/stoneyridge/Kconfig b/src/soc/amd/stoneyridge/Kconfig
index 36eecb1..ec36b34 100644
--- a/src/soc/amd/stoneyridge/Kconfig
+++ b/src/soc/amd/stoneyridge/Kconfig
@@ -108,10 +108,6 @@
help
Increase this value if preram cbmem console is getting truncated

-config CPU_ADDR_BITS
- int
- default 48
-
config BOTTOMIO_POSITION
hex "Bottom of 32-bit IO space"
default 0xD0000000
diff --git a/src/soc/intel/baytrail/Kconfig b/src/soc/intel/baytrail/Kconfig
index dca95e3..9f1cb8e 100644
--- a/src/soc/intel/baytrail/Kconfig
+++ b/src/soc/intel/baytrail/Kconfig
@@ -50,10 +50,6 @@
int
default 4

-config CPU_ADDR_BITS
- int
- default 36
-
config SMM_TSEG_SIZE
hex
default 0x800000
diff --git a/src/soc/intel/xeon_sp/cpx/Kconfig b/src/soc/intel/xeon_sp/cpx/Kconfig
index 3c87943..bac7bdb 100644
--- a/src/soc/intel/xeon_sp/cpx/Kconfig
+++ b/src/soc/intel/xeon_sp/cpx/Kconfig
@@ -20,10 +20,6 @@
int
default 255

-config CPU_ADDR_BITS
- int
- default 46
-
config PCR_BASE_ADDRESS
hex
default 0xfd000000
diff --git a/src/soc/intel/xeon_sp/skx/Kconfig b/src/soc/intel/xeon_sp/skx/Kconfig
index 528f415..444968d 100644
--- a/src/soc/intel/xeon_sp/skx/Kconfig
+++ b/src/soc/intel/xeon_sp/skx/Kconfig
@@ -15,10 +15,6 @@
int
default 2

-config CPU_ADDR_BITS
- int
- default 46
-
# For 2S config, the number of cpus could be as high as
# 2 threads * 20 cores * 2 sockets
config MAX_CPUS

To view, visit change 58688. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I88f62c18b814ac0ddd356944359e727d6e3bba5a
Gerrit-Change-Number: 58688
Gerrit-PatchSet: 7
Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Anjaneya "Reddy" Chagam <anjaneya.chagam@intel.com>
Gerrit-Reviewer: Christian Walter <christian.walter@9elements.com>
Gerrit-Reviewer: Felix Held <felix-coreboot@felixheld.de>
Gerrit-Reviewer: Jason Glenesk <jason.glenesk@gmail.com>
Gerrit-Reviewer: Johnny Lin <Johnny_Lin@wiwynn.com>
Gerrit-Reviewer: Jonathan Zhang <jonzhang@fb.com>
Gerrit-Reviewer: Mariusz Szafrański <mariuszx.szafranski@intel.com>
Gerrit-Reviewer: Marshall Dawson <marshalldawson3rd@gmail.com>
Gerrit-Reviewer: Patrick Rudolph <siro@das-labor.org>
Gerrit-Reviewer: Raul Rangel <rrangel@chromium.org>
Gerrit-Reviewer: Tim Chu <Tim.Chu@quantatw.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@mailbox.org>
Gerrit-MessageType: merged