summaryrefslogtreecommitdiff
path: root/src/soc/amd/picasso/northbridge.c
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2019-06-22 16:15:06 -0500
committerMartin Roth <martinroth@google.com>2019-08-09 20:22:46 +0000
commitad1fdac9879eb0aba5d7f05752ae010f3bdcff66 (patch)
tree391a14ac81983ea0d65f28712f5e1a10bc533320 /src/soc/amd/picasso/northbridge.c
parentd881367c0862a8b94324be2283f4afab8bcb8438 (diff)
downloadcoreboot-ad1fdac9879eb0aba5d7f05752ae010f3bdcff66.tar.xz
soc/amd/picasso: Remove IOAPIC2
Remove the Family 15h device. It's not in Family 17h documentation and isn't detectable with HDT. Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Change-Id: Ifa9c06f78f39a3ec3b555d4ecc542172cd44a0b6 Reviewed-on: https://review.coreboot.org/c/coreboot/+/33990 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/amd/picasso/northbridge.c')
-rw-r--r--src/soc/amd/picasso/northbridge.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/soc/amd/picasso/northbridge.c b/src/soc/amd/picasso/northbridge.c
index 627ce03833..36135f989e 100644
--- a/src/soc/amd/picasso/northbridge.c
+++ b/src/soc/amd/picasso/northbridge.c
@@ -66,20 +66,12 @@ static void set_mmio_addr_reg(u32 nodeid, u32 linkn, u32 reg, u32 index,
static void read_resources(struct device *dev)
{
- struct resource *res;
-
/*
* This MMCONF resource must be reserved in the PCI domain.
* It is not honored by the coreboot resource allocator if it is in
* the CPU_CLUSTER.
*/
mmconf_resource(dev, MMIO_CONF_BASE);
-
- /* NB IOAPIC2 resource */
- res = new_resource(dev, IO_APIC2_ADDR); /* IOAPIC2 */
- res->base = IO_APIC2_ADDR;
- res->size = 0x00001000;
- res->flags = IORESOURCE_MEM | IORESOURCE_ASSIGNED | IORESOURCE_FIXED;
}
static void set_resource(struct device *dev, struct resource *res, u32 nodeid)
@@ -168,11 +160,6 @@ static void set_resources(struct device *dev)
assign_resources(bus);
}
-static void northbridge_init(struct device *dev)
-{
- setup_ioapic((u8 *)IO_APIC2_ADDR, CONFIG_MAX_CPUS+1);
-}
-
unsigned long acpi_fill_mcfg(unsigned long current)
{
@@ -218,7 +205,6 @@ static struct device_operations northbridge_operations = {
.read_resources = read_resources,
.set_resources = set_resources,
.enable_resources = pci_dev_enable_resources,
- .init = northbridge_init,
.acpi_fill_ssdt_generator = northbridge_fill_ssdt_generator,
.write_acpi_tables = agesa_write_acpi_tables,
.enable = 0,
@@ -267,10 +253,6 @@ void fam15_finalize(void *chip_info)
{
u32 value;
- /* TODO: move IOAPIC code to dsdt.asl */
- pci_write_config32(SOC_GNB_DEV, NB_IOAPIC_INDEX, 0);
- pci_write_config32(SOC_GNB_DEV, NB_IOAPIC_DATA, 5);
-
/* disable No Snoop */
value = pci_read_config32(SOC_HDA0_DEV, HDA_DEV_CTRL_STATUS);
value &= ~HDA_NO_SNOOP_EN;