2 * Copyright (C) 2015, Bin Meng <bmeng.cn@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
10 DECLARE_GLOBAL_DATA_PTR;
12 void board_pci_setup_hose(struct pci_controller *hose)
14 hose->first_busno = 0;
17 /* PCI memory space */
18 pci_set_region(hose->regions + 0,
25 pci_set_region(hose->regions + 1,
31 pci_set_region(hose->regions + 2,
37 pci_set_region(hose->regions + 3,
41 PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
43 hose->region_count = 4;
46 int board_pci_post_scan(struct pci_controller *hose)