2 * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com>
4 * SPDX-License-Identifier: GPL-2.0+
10 #include <asm/fsp/fsp_support.h>
12 DECLARE_GLOBAL_DATA_PTR;
14 void board_pci_setup_hose(struct pci_controller *hose)
16 hose->first_busno = 0;
19 /* PCI memory space */
20 pci_set_region(hose->regions + 0,
27 pci_set_region(hose->regions + 1,
33 pci_set_region(hose->regions + 2,
39 pci_set_region(hose->regions + 3,
42 gd->ram_size < 0x80000000 ? gd->ram_size : 0x80000000,
43 PCI_REGION_MEM | PCI_REGION_SYS_MEMORY);
45 hose->region_count = 4;