intel/sandybridge: Gather MMCONF_BASE_ADDRESS defaults

All affected boards did the same USE_NATIVE_RAMINIT distinction or
actually selected USE_NATIVE_RAMINIT. Also update autoport.

Change-Id: I924c43cec1e36e84db40e4b8e1dd0e05cad2b978
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/20813
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Nico Huber 2017-07-29 01:10:49 +02:00
parent f1778ce333
commit 2b5c021431
23 changed files with 8 additions and 89 deletions

View File

@ -47,10 +47,6 @@ config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x8086
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config DRAM_RESET_GATE_GPIO
int
default 60

View File

@ -20,10 +20,6 @@ config BOARD_SPECIFIC_OPTIONS
select MAINBOARD_HAS_LPC_TPM
select TPM
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config DRAM_RESET_GATE_GPIO
int
default 25

View File

@ -17,10 +17,6 @@ config BOARD_SPECIFIC_OPTIONS
select INTEL_INT15
select SERIRQ_CONTINUOUS_MODE
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config DRAM_RESET_GATE_GPIO
int
default 25

View File

@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
string
default "Butterfly"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -30,10 +30,6 @@ config MAINBOARD_PART_NUMBER
string
default "Link"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
string
default "Parrot"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
string
default "Stout"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -24,10 +24,6 @@ config MAINBOARD_PART_NUMBER
string
default "EMERALD LAKE 2"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 16

View File

@ -24,10 +24,6 @@ config MAINBOARD_PART_NUMBER
string
default "KTQM77/mITX"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -42,10 +42,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad T420"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad T420s"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -53,10 +53,6 @@ config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
hex
default 0x17aa
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config DRAM_RESET_GATE_GPIO
int
default 10

View File

@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad T430s"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad T520"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -40,10 +40,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad T530"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad X1 carbon gen 1"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad X220"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
string
default "ThinkPad X230"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000
config MAX_CPUS
int
default 8

View File

@ -35,10 +35,6 @@ config MAINBOARD_PART_NUMBER
default "Lizard RW11" if BOARD_RODA_RW11
default "Lizard RV11"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -33,10 +33,6 @@ config MAINBOARD_PART_NUMBER
string
default "Lumpy"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -30,10 +30,6 @@ config MAINBOARD_PART_NUMBER
string
default "Stumpy"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
config MAX_CPUS
int
default 8

View File

@ -78,6 +78,14 @@ config BOOTBLOCK_NORTHBRIDGE_INIT
string
default "northbridge/intel/sandybridge/bootblock.c"
config MMCONF_BASE_ADDRESS
hex
default 0xf8000000 if USE_NATIVE_RAMINIT
default 0xf0000000
help
We can optimize the native case but the MRC blob requires it
to be at 0xf0000000.
if USE_NATIVE_RAMINIT
config DCACHE_RAM_BASE
@ -115,10 +123,6 @@ config MRC_FILE
The path and filename of the file to use as System Agent
binary.
config MMCONF_BASE_ADDRESS
hex
default 0xf0000000
endif # !USE_NATIVE_RAMINIT
endif

View File

@ -122,7 +122,6 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) {
KconfigBool["HAVE_IFD_BIN"] = false
KconfigBool["HAVE_ME_BIN"] = false
KconfigHex["MMCONF_BASE_ADDRESS"] = 0xf0000000
KconfigInt["MAX_CPUS"] = 8
DSDTIncludes = append(DSDTIncludes, DSDTInclude{