soc/intel/skylake: Remove MCFG constants
The MMCONF base address and length are set in Kconfig so it does not need to be redefined by the SOC as the code can just use the Kconfig variable directly. Tested on a fizz board to ensure MCFG is still created properly. Change-Id: I5fd472b1afc8264823a2b9db0f296fbfb6b1ecc0 Signed-off-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-on: https://review.coreboot.org/24975 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
fd50b7c3d7
commit
50f06a14cd
|
@ -210,7 +210,7 @@ static void acpi_create_gnvs(global_nvs_t *gnvs)
|
|||
unsigned long acpi_fill_mcfg(unsigned long current)
|
||||
{
|
||||
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
|
||||
MCFG_BASE_ADDRESS, 0, 0,
|
||||
CONFIG_MMCONF_BASE_ADDRESS, 0, 0,
|
||||
(CONFIG_SA_PCIEX_LENGTH >> 20) - 1);
|
||||
return current;
|
||||
}
|
||||
|
|
|
@ -22,9 +22,6 @@
|
|||
/*
|
||||
* Memory-mapped I/O registers.
|
||||
*/
|
||||
#define MCFG_BASE_ADDRESS CONFIG_MMCONF_BASE_ADDRESS
|
||||
#define MCFG_BASE_SIZE 0x4000000
|
||||
|
||||
#define PCH_PRESERVED_BASE_ADDRESS 0xfc800000
|
||||
#define PCH_PRESERVED_BASE_SIZE 0x02000000
|
||||
|
||||
|
|
Loading…
Reference in New Issue