soc/amd/{picasso/common}: Move populate_pirq_data prototype to common

This method signature will also be used by cezanne, so move it to
common.

BUG=b:184766519
TEST=Build picasso

Signed-off-by: Raul E Rangel <rrangel@chromium.org>
Change-Id: I421bdad51776278f83148174e6f72bdc38249e54
Reviewed-on: https://review.coreboot.org/c/coreboot/+/52912
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Reviewed-by: Karthik Ramasubramanian <kramasub@google.com>
This commit is contained in:
Raul E Rangel 2021-05-04 14:52:05 -06:00 committed by Felix Held
parent b3b1b25157
commit c8cfe7c8ff
4 changed files with 3 additions and 10 deletions

View File

@ -31,4 +31,7 @@ void write_pci_cfg_irqs(void);
void write_pci_int_table(void); void write_pci_int_table(void);
const struct irq_idx_name *sb_get_apic_reg_association(size_t *size); const struct irq_idx_name *sb_get_apic_reg_association(size_t *size);
/* Implemented by the SoC */
void populate_pirq_data(void);
#endif /* AMD_BLOCK_PCI_UTIL_H */ #endif /* AMD_BLOCK_PCI_UTIL_H */

View File

@ -23,7 +23,6 @@
#include <soc/southbridge.h> #include <soc/southbridge.h>
#include <soc/smi.h> #include <soc/smi.h>
#include <soc/amd_pci_int_defs.h> #include <soc/amd_pci_int_defs.h>
#include <soc/pci.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <types.h> #include <types.h>
#include "chip.h" #include "chip.h"

View File

@ -1,8 +0,0 @@
/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef AMD_PICASSO_PCI_H
#define AMD_PICASSO_PCI_H
void populate_pirq_data(void);
#endif /* AMD_PICASSO_PCI_H */

View File

@ -9,7 +9,6 @@
#include <device/pci.h> #include <device/pci.h>
#include <device/pciexp.h> #include <device/pciexp.h>
#include <device/pci_ids.h> #include <device/pci_ids.h>
#include <soc/pci.h>
#include <soc/pci_devs.h> #include <soc/pci_devs.h>
#include <stdio.h> #include <stdio.h>