| * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
| * SPDX-License-Identifier: GPL-2.0+ |
| #include <asm/arch/fsp/fsp_support.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) |
| /* call into FspNotify */ |
| debug("Calling into FSP (notify phase INIT_PHASE_PCI): "); |
| status = fsp_notify(NULL, INIT_PHASE_PCI); |
| if (status != FSP_SUCCESS) |
| debug("fail, error code %x\n", status); |