soc/intel/xeon_sp: Use common acpi_fill_mcfg()

Add MMCONF_BUS_NUMBER=256 as this was not defined for
this SoC.

Change-Id: I6ba861d3b7d5ac083c9b16c8f6ad179efd403bcd
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50664
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
Kyösti Mälkki 2021-02-14 14:06:38 +02:00
parent 4a6d441637
commit 06c761ca94
3 changed files with 3 additions and 16 deletions

View File

@ -104,6 +104,9 @@ config DCACHE_BSP_STACK_SIZE
config MMCONF_BASE_ADDRESS
default 0x80000000
config MMCONF_BUS_NUMBER
default 256
config HEAP_SIZE
hex
default 0x80000

View File

@ -17,14 +17,6 @@
#include <soc/soc_util.h>
#include <soc/util.h>
/* TODO: Check if the common/acpi weak function can be used */
unsigned long acpi_fill_mcfg(unsigned long current)
{
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
CONFIG_MMCONF_BASE_ADDRESS, 0, 0, 255);
return current;
}
int soc_madt_sci_irq_polarity(int sci)
{
if (sci >= 20)

View File

@ -16,14 +16,6 @@
#include <soc/soc_util.h>
#include <soc/util.h>
/* TODO: Check if the common/acpi weak function can be used */
unsigned long acpi_fill_mcfg(unsigned long current)
{
current += acpi_create_mcfg_mmconfig((acpi_mcfg_mmconfig_t *)current,
CONFIG_MMCONF_BASE_ADDRESS, 0, 0, 255);
return current;
}
int soc_madt_sci_irq_polarity(int sci)
{
if (sci >= 20)