intel/ibexpeak: Fix missing ACPI PIRQ entries
Fix regression after commit
7f5efd9
intel/bd82x6x: Use generated ACPI PIRQ
The call to inject generated PIRQ entry was not added when
the static entries as default_irq_route.asl file was removed
from boards using intel/nehalem southbridge.
Change-Id: I8097c1ab729d1eb91a6d547ef13948c1e21eca10
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/25965
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Matthias Gazzari <mail@qtux.eu>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
564547f283
commit
909939503a
|
@ -29,6 +29,7 @@ config SOUTH_BRIDGE_OPTIONS # dummy
|
|||
select PCIEXP_ASPM
|
||||
select PCIEXP_COMMON_CLOCK
|
||||
select SOUTHBRIDGE_INTEL_COMMON
|
||||
select SOUTHBRIDGE_INTEL_COMMON_RCBA_PIRQ
|
||||
select SOUTHBRIDGE_INTEL_COMMON_SMBUS
|
||||
select SOUTHBRIDGE_INTEL_COMMON_SPI
|
||||
select HAVE_USBDEBUG_OPTIONS
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "pch.h"
|
||||
#include "nvs.h"
|
||||
#include <southbridge/intel/common/pciehp.h>
|
||||
#include <southbridge/intel/common/acpi_pirq_gen.h>
|
||||
#include <southbridge/intel/common/rcba.h>
|
||||
|
||||
#define NMI_OFF 0
|
||||
|
@ -775,12 +776,18 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
fadt->x_gpe1_blk.addrh = 0x0;
|
||||
}
|
||||
|
||||
static const char *lpc_acpi_name(const struct device *dev)
|
||||
{
|
||||
return "LPCB";
|
||||
}
|
||||
|
||||
static void southbridge_fill_ssdt(device_t device)
|
||||
{
|
||||
device_t dev = dev_find_slot(0, PCI_DEVFN(0x1f,0));
|
||||
config_t *chip = dev->chip_info;
|
||||
|
||||
intel_acpi_pcie_hotplug_generator(chip->pcie_hotplug_map, 8);
|
||||
intel_acpi_gen_def_acpi_pirq(dev);
|
||||
}
|
||||
|
||||
static void lpc_final(struct device *dev)
|
||||
|
@ -804,6 +811,7 @@ static struct device_operations device_ops = {
|
|||
.enable_resources = pch_lpc_enable_resources,
|
||||
.acpi_inject_dsdt_generator = southbridge_inject_dsdt,
|
||||
.acpi_fill_ssdt_generator = southbridge_fill_ssdt,
|
||||
.acpi_name = lpc_acpi_name,
|
||||
.write_acpi_tables = acpi_write_hpet,
|
||||
.init = lpc_init,
|
||||
.final = lpc_final,
|
||||
|
|
Loading…
Reference in New Issue