mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
ppc4xx: Make is_pci_host() available for all 440 and 405 CPUs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu> Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
3672cd5c3b
commit
c71103f9dc
1 changed files with 2 additions and 2 deletions
|
@ -275,7 +275,8 @@ void pci_init_board(void);
|
||||||
void pciinfo (int, int);
|
void pciinfo (int, int);
|
||||||
|
|
||||||
#if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000))
|
#if defined(CONFIG_PCI) && (defined(CONFIG_4xx) && !defined(CONFIG_AP1000))
|
||||||
int pci_pre_init (struct pci_controller * );
|
int pci_pre_init (struct pci_controller *);
|
||||||
|
int is_pci_host (struct pci_controller *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_PCI) && (defined(CONFIG_440) || defined(CONFIG_405EX))
|
#if defined(CONFIG_PCI) && (defined(CONFIG_440) || defined(CONFIG_405EX))
|
||||||
|
@ -285,7 +286,6 @@ void pciinfo (int, int);
|
||||||
# if defined(CONFIG_SYS_PCI_MASTER_INIT)
|
# if defined(CONFIG_SYS_PCI_MASTER_INIT)
|
||||||
void pci_master_init (struct pci_controller *);
|
void pci_master_init (struct pci_controller *);
|
||||||
# endif
|
# endif
|
||||||
int is_pci_host (struct pci_controller *);
|
|
||||||
#if defined(CONFIG_440SPE) || \
|
#if defined(CONFIG_440SPE) || \
|
||||||
defined(CONFIG_460EX) || defined(CONFIG_460GT) || \
|
defined(CONFIG_460EX) || defined(CONFIG_460GT) || \
|
||||||
defined(CONFIG_405EX)
|
defined(CONFIG_405EX)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue