]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
ppc4xx: Make is_pci_host() available for all 440 and 405 CPUs
authorMatthias Fuchs <matthias.fuchs@esd.eu>
Wed, 8 Jul 2009 11:43:23 +0000 (13:43 +0200)
committerStefan Roese <sr@denx.de>
Fri, 10 Jul 2009 06:25:55 +0000 (08:25 +0200)
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd.eu>
Signed-off-by: Stefan Roese <sr@denx.de>
include/common.h

index 7ba6187d6d051c38046e032fb4cfb3a4a8207768..a6c7c07692bb57240ffc48d50cc57ccc91114450 100644 (file)
@@ -275,7 +275,8 @@ void        pci_init_board(void);
 void   pciinfo       (int, int);
 
 #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
 
 #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)
        void    pci_master_init      (struct pci_controller *);
 #   endif
-    int            is_pci_host         (struct pci_controller *);
 #if defined(CONFIG_440SPE) || \
     defined(CONFIG_460EX) || defined(CONFIG_460GT) || \
     defined(CONFIG_405EX)