|
@@ -28,7 +28,7 @@
|
|
#include <pci.h>
|
|
#include <pci.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/processor.h>
|
|
#include <asm/immap_85xx.h>
|
|
#include <asm/immap_85xx.h>
|
|
-#include <asm/immap_fsl_pci.h>
|
|
|
|
|
|
+#include <asm/fsl_pci.h>
|
|
#include <asm/fsl_ddr_sdram.h>
|
|
#include <asm/fsl_ddr_sdram.h>
|
|
#include <asm/io.h>
|
|
#include <asm/io.h>
|
|
#include <asm/mmu.h>
|
|
#include <asm/mmu.h>
|
|
@@ -172,9 +172,6 @@ static struct pci_controller pcie1_hose;
|
|
|
|
|
|
int first_free_busno=0;
|
|
int first_free_busno=0;
|
|
|
|
|
|
-extern int fsl_pci_setup_inbound_windows(struct pci_region *r);
|
|
|
|
-extern void fsl_pci_init(struct pci_controller *hose);
|
|
|
|
-
|
|
|
|
void
|
|
void
|
|
pci_init_board(void)
|
|
pci_init_board(void)
|
|
{
|
|
{
|
|
@@ -322,7 +319,6 @@ pci_init_board(void)
|
|
#ifdef CONFIG_PCI2
|
|
#ifdef CONFIG_PCI2
|
|
{
|
|
{
|
|
volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) CONFIG_SYS_PCI2_ADDR;
|
|
volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) CONFIG_SYS_PCI2_ADDR;
|
|
- extern void fsl_pci_init(struct pci_controller *hose);
|
|
|
|
struct pci_controller *hose = &pci2_hose;
|
|
struct pci_controller *hose = &pci2_hose;
|
|
struct pci_region *r = hose->regions;
|
|
struct pci_region *r = hose->regions;
|
|
|
|
|
|
@@ -366,9 +362,6 @@ int last_stage_init(void)
|
|
}
|
|
}
|
|
|
|
|
|
#if defined(CONFIG_OF_BOARD_SETUP)
|
|
#if defined(CONFIG_OF_BOARD_SETUP)
|
|
-extern void ft_fsl_pci_setup(void *blob, const char *pci_alias,
|
|
|
|
- struct pci_controller *hose);
|
|
|
|
-
|
|
|
|
void ft_board_setup(void *blob, bd_t *bd)
|
|
void ft_board_setup(void *blob, bd_t *bd)
|
|
{
|
|
{
|
|
ft_cpu_setup(blob, bd);
|
|
ft_cpu_setup(blob, bd);
|