mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
f1778ce333
commit
2b5c021431
23 changed files with 8 additions and 89 deletions
|
@ -47,10 +47,6 @@ config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
|
||||||
hex
|
hex
|
||||||
default 0x8086
|
default 0x8086
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config DRAM_RESET_GATE_GPIO
|
config DRAM_RESET_GATE_GPIO
|
||||||
int
|
int
|
||||||
default 60
|
default 60
|
||||||
|
|
|
@ -20,10 +20,6 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select MAINBOARD_HAS_LPC_TPM
|
select MAINBOARD_HAS_LPC_TPM
|
||||||
select TPM
|
select TPM
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config DRAM_RESET_GATE_GPIO
|
config DRAM_RESET_GATE_GPIO
|
||||||
int
|
int
|
||||||
default 25
|
default 25
|
||||||
|
|
|
@ -17,10 +17,6 @@ config BOARD_SPECIFIC_OPTIONS
|
||||||
select INTEL_INT15
|
select INTEL_INT15
|
||||||
select SERIRQ_CONTINUOUS_MODE
|
select SERIRQ_CONTINUOUS_MODE
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config DRAM_RESET_GATE_GPIO
|
config DRAM_RESET_GATE_GPIO
|
||||||
int
|
int
|
||||||
default 25
|
default 25
|
||||||
|
|
|
@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Butterfly"
|
default "Butterfly"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -30,10 +30,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Link"
|
default "Link"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Parrot"
|
default "Parrot"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -28,10 +28,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Stout"
|
default "Stout"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -24,10 +24,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "EMERALD LAKE 2"
|
default "EMERALD LAKE 2"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 16
|
default 16
|
||||||
|
|
|
@ -24,10 +24,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "KTQM77/mITX"
|
default "KTQM77/mITX"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -42,10 +42,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad T420"
|
default "ThinkPad T420"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad T420s"
|
default "ThinkPad T420s"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -53,10 +53,6 @@ config MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID
|
||||||
hex
|
hex
|
||||||
default 0x17aa
|
default 0x17aa
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config DRAM_RESET_GATE_GPIO
|
config DRAM_RESET_GATE_GPIO
|
||||||
int
|
int
|
||||||
default 10
|
default 10
|
||||||
|
|
|
@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad T430s"
|
default "ThinkPad T430s"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -39,10 +39,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad T520"
|
default "ThinkPad T520"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -40,10 +40,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad T530"
|
default "ThinkPad T530"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad X1 carbon gen 1"
|
default "ThinkPad X1 carbon gen 1"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad X220"
|
default "ThinkPad X220"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -41,10 +41,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "ThinkPad X230"
|
default "ThinkPad X230"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -35,10 +35,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
default "Lizard RW11" if BOARD_RODA_RW11
|
default "Lizard RW11" if BOARD_RODA_RW11
|
||||||
default "Lizard RV11"
|
default "Lizard RV11"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -33,10 +33,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Lumpy"
|
default "Lumpy"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -30,10 +30,6 @@ config MAINBOARD_PART_NUMBER
|
||||||
string
|
string
|
||||||
default "Stumpy"
|
default "Stumpy"
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf8000000 if USE_NATIVE_RAMINIT
|
|
||||||
|
|
||||||
config MAX_CPUS
|
config MAX_CPUS
|
||||||
int
|
int
|
||||||
default 8
|
default 8
|
||||||
|
|
|
@ -78,6 +78,14 @@ config BOOTBLOCK_NORTHBRIDGE_INIT
|
||||||
string
|
string
|
||||||
default "northbridge/intel/sandybridge/bootblock.c"
|
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
|
if USE_NATIVE_RAMINIT
|
||||||
|
|
||||||
config DCACHE_RAM_BASE
|
config DCACHE_RAM_BASE
|
||||||
|
@ -115,10 +123,6 @@ config MRC_FILE
|
||||||
The path and filename of the file to use as System Agent
|
The path and filename of the file to use as System Agent
|
||||||
binary.
|
binary.
|
||||||
|
|
||||||
config MMCONF_BASE_ADDRESS
|
|
||||||
hex
|
|
||||||
default 0xf0000000
|
|
||||||
|
|
||||||
endif # !USE_NATIVE_RAMINIT
|
endif # !USE_NATIVE_RAMINIT
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -122,7 +122,6 @@ func (i sandybridgemc) Scan(ctx Context, addr PCIDevData) {
|
||||||
KconfigBool["HAVE_IFD_BIN"] = false
|
KconfigBool["HAVE_IFD_BIN"] = false
|
||||||
KconfigBool["HAVE_ME_BIN"] = false
|
KconfigBool["HAVE_ME_BIN"] = false
|
||||||
|
|
||||||
KconfigHex["MMCONF_BASE_ADDRESS"] = 0xf0000000
|
|
||||||
KconfigInt["MAX_CPUS"] = 8
|
KconfigInt["MAX_CPUS"] = 8
|
||||||
|
|
||||||
DSDTIncludes = append(DSDTIncludes, DSDTInclude{
|
DSDTIncludes = append(DSDTIncludes, DSDTInclude{
|
||||||
|
|
Loading…
Add table
Reference in a new issue