| * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com> |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/arch/device.h> |
| void board_pci_setup_hose(struct pci_controller *hose) |
| pci_set_region(hose->regions + 0, |
| pci_set_region(hose->regions + 1, |
| pci_set_region(hose->regions + 2, |
| pci_set_region(hose->regions + 3, |
| PCI_REGION_MEM | PCI_REGION_SYS_MEMORY); |
| int board_pci_post_scan(struct pci_controller *hose) |
| int pci_skip_dev(struct pci_controller *hose, pci_dev_t dev) |
| * For some unknown reason, the PCI enumeration process hangs |
| * when it scans to the PCIe root port 0 (D23:F0) & 1 (D23:F1). |
| * For now we just skip these two devices, and this needs to |
| if (dev == QUARK_HOST_BRIDGE || |
| dev == QUARK_PCIE0 || dev == QUARK_PCIE1) { |