mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
e00c5498a2
1. PCI and reset are factored out into pq2.c. I renamed them from m82xx to pq2 because they won't work on the Integrated Host Processor line of 82xx chips (i.e. 8240, 8245, and such). 2. The PCI PIC, which is nominally board-specific, is used on multiple boards, and thus is used into pq2ads-pci-pic.c. 3. The new CPM binding is used. 4. General cleanup. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
21 lines
258 B
C
21 lines
258 B
C
#ifndef _PQ2_H
|
|
#define _PQ2_H
|
|
|
|
void pq2_restart(char *cmd);
|
|
|
|
#ifdef CONFIG_PCI
|
|
int pq2ads_pci_init_irq(void);
|
|
void pq2_init_pci(void);
|
|
#else
|
|
static inline int pq2ads_pci_init_irq(void)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
static inline void pq2_init_pci(void)
|
|
{
|
|
}
|
|
#endif
|
|
|
|
#endif
|