X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fpci%2Fpci_sh4.c;h=c7963ed8a8c5e6d1d4b96bd05908cf2f414ff3c8;hb=26be2c53d671ecfd3e0483f0870649ac28322293;hp=1290c0a799eefbd680316562c1c83870d09d85c0;hpb=a1b215e2a2a013327693f2fb990957b746f26cf5;p=oweals%2Fu-boot.git diff --git a/drivers/pci/pci_sh4.c b/drivers/pci/pci_sh4.c index 1290c0a799..c7963ed8a8 100644 --- a/drivers/pci/pci_sh4.c +++ b/drivers/pci/pci_sh4.c @@ -54,6 +54,16 @@ int pci_sh4_init(struct pci_controller *hose) PCI_REGION_IO); hose->region_count++; +#if defined(CONFIG_PCI_SYS_BUS) + /* PCI System Memory space */ + pci_set_region(hose->regions + 2, + CONFIG_PCI_SYS_BUS, + CONFIG_PCI_SYS_PHYS, + CONFIG_PCI_SYS_SIZE, + PCI_REGION_MEM | PCI_REGION_SYS_MEMORY); + hose->region_count++; +#endif + udelay(1000); pci_set_ops(hose, @@ -74,3 +84,15 @@ int pci_sh4_init(struct pci_controller *hose) hose->last_busno = pci_hose_scan(hose); return 0; } + +int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) +{ + return 0; +} + +#ifdef CONFIG_PCI_SCAN_SHOW +int pci_print_dev(struct pci_controller *hose, pci_dev_t dev) +{ + return 1; +} +#endif /* CONFIG_PCI_SCAN_SHOW */