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>
This commit is contained in:
		
				
					committed by
					
						
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							ca87532a07
						
					
				
				
					commit
					b0db82dd24
				
			@@ -3,11 +3,3 @@
 | 
				
			|||||||
config CPU_AMD_AGESA_FAMILY14
 | 
					config CPU_AMD_AGESA_FAMILY14
 | 
				
			||||||
	bool
 | 
						bool
 | 
				
			||||||
	select X86_AMD_FIXED_MTRRS
 | 
						select X86_AMD_FIXED_MTRRS
 | 
				
			||||||
 | 
					 | 
				
			||||||
if CPU_AMD_AGESA_FAMILY14
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 36
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -4,11 +4,3 @@ config CPU_AMD_AGESA_FAMILY15_TN
 | 
				
			|||||||
	bool
 | 
						bool
 | 
				
			||||||
	select IDS_OPTIONS_HOOKED_UP
 | 
						select IDS_OPTIONS_HOOKED_UP
 | 
				
			||||||
	select X86_AMD_FIXED_MTRRS
 | 
						select X86_AMD_FIXED_MTRRS
 | 
				
			||||||
 | 
					 | 
				
			||||||
if CPU_AMD_AGESA_FAMILY15_TN
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 48
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -6,10 +6,6 @@ config CPU_AMD_AGESA_FAMILY16_KB
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
if CPU_AMD_AGESA_FAMILY16_KB
 | 
					if CPU_AMD_AGESA_FAMILY16_KB
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 40
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config FORCE_AM1_SOCKET_SUPPORT
 | 
					config FORCE_AM1_SOCKET_SUPPORT
 | 
				
			||||||
	bool
 | 
						bool
 | 
				
			||||||
	default n
 | 
						default n
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,11 +5,3 @@ config CPU_AMD_PI_00730F01
 | 
				
			|||||||
	select X86_AMD_FIXED_MTRRS
 | 
						select X86_AMD_FIXED_MTRRS
 | 
				
			||||||
	select SUPPORT_CPU_UCODE_IN_CBFS
 | 
						select SUPPORT_CPU_UCODE_IN_CBFS
 | 
				
			||||||
	select MICROCODE_BLOB_UNDISCLOSED
 | 
						select MICROCODE_BLOB_UNDISCLOSED
 | 
				
			||||||
 | 
					 | 
				
			||||||
if CPU_AMD_PI_00730F01
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 40
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -11,11 +11,3 @@ config CPU_INTEL_MODEL_106CX
 | 
				
			|||||||
	select SERIALIZED_SMM_INITIALIZATION
 | 
						select SERIALIZED_SMM_INITIALIZATION
 | 
				
			||||||
	select CPU_INTEL_COMMON
 | 
						select CPU_INTEL_COMMON
 | 
				
			||||||
	select CPU_INTEL_COMMON_TIMEBASE
 | 
						select CPU_INTEL_COMMON_TIMEBASE
 | 
				
			||||||
 | 
					 | 
				
			||||||
if CPU_INTEL_MODEL_106CX
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 32
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
endif
 | 
					 | 
				
			||||||
 
 | 
				
			|||||||
@@ -90,10 +90,6 @@ config SETUP_XIP_CACHE
 | 
				
			|||||||
	  non-eviction mode and therefore need to be careful to avoid
 | 
						  non-eviction mode and therefore need to be careful to avoid
 | 
				
			||||||
	  eviction.
 | 
						  eviction.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 36
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config LOGICAL_CPUS
 | 
					config LOGICAL_CPUS
 | 
				
			||||||
	bool
 | 
						bool
 | 
				
			||||||
	default y
 | 
						default y
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -204,10 +204,6 @@ config RO_REGION_ONLY
 | 
				
			|||||||
	depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
 | 
						depends on VBOOT_SLOTS_RW_AB || VBOOT_SLOTS_RW_A
 | 
				
			||||||
	default "apu/amdfw"
 | 
						default "apu/amdfw"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 48
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config MMCONF_BASE_ADDRESS
 | 
					config MMCONF_BASE_ADDRESS
 | 
				
			||||||
	default 0xF8000000
 | 
						default 0xF8000000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -200,10 +200,6 @@ config RAMBASE
 | 
				
			|||||||
	hex
 | 
						hex
 | 
				
			||||||
	default 0x10000000
 | 
						default 0x10000000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 48
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config MMCONF_BASE_ADDRESS
 | 
					config MMCONF_BASE_ADDRESS
 | 
				
			||||||
	default 0xF8000000
 | 
						default 0xF8000000
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -108,10 +108,6 @@ config PRERAM_CBMEM_CONSOLE_SIZE
 | 
				
			|||||||
	help
 | 
						help
 | 
				
			||||||
	  Increase this value if preram cbmem console is getting truncated
 | 
						  Increase this value if preram cbmem console is getting truncated
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 48
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config BOTTOMIO_POSITION
 | 
					config BOTTOMIO_POSITION
 | 
				
			||||||
	hex "Bottom of 32-bit IO space"
 | 
						hex "Bottom of 32-bit IO space"
 | 
				
			||||||
	default 0xD0000000
 | 
						default 0xD0000000
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,10 +50,6 @@ config MAX_CPUS
 | 
				
			|||||||
	int
 | 
						int
 | 
				
			||||||
	default 4
 | 
						default 4
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 36
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config SMM_TSEG_SIZE
 | 
					config SMM_TSEG_SIZE
 | 
				
			||||||
	hex
 | 
						hex
 | 
				
			||||||
	default 0x800000
 | 
						default 0x800000
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,10 +20,6 @@ config MAX_CPUS
 | 
				
			|||||||
	int
 | 
						int
 | 
				
			||||||
	default 255
 | 
						default 255
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 46
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
config PCR_BASE_ADDRESS
 | 
					config PCR_BASE_ADDRESS
 | 
				
			||||||
	hex
 | 
						hex
 | 
				
			||||||
	default 0xfd000000
 | 
						default 0xfd000000
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -15,10 +15,6 @@ config MAX_SOCKET
 | 
				
			|||||||
	int
 | 
						int
 | 
				
			||||||
	default 2
 | 
						default 2
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config CPU_ADDR_BITS
 | 
					 | 
				
			||||||
	int
 | 
					 | 
				
			||||||
	default 46
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# For 2S config, the number of cpus could be as high as
 | 
					# For 2S config, the number of cpus could be as high as
 | 
				
			||||||
# 2 threads * 20 cores * 2 sockets
 | 
					# 2 threads * 20 cores * 2 sockets
 | 
				
			||||||
config MAX_CPUS
 | 
					config MAX_CPUS
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user