mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
ppc/8xxx: Remove is_fsl_pci_agent
All users of is_fsl_pci_agent have been converted to fsl_is_pci_agent that uses the standard PCI programming model to determine host vs agent/end-point. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
This commit is contained in:
parent
7cb8f79b44
commit
ee53650dad
3 changed files with 15 additions and 43 deletions
|
@ -86,6 +86,15 @@ static void set_inbound_window(volatile pit_t *pi,
|
|||
out_be32(&pi->piwar, flag | sz);
|
||||
}
|
||||
|
||||
int fsl_setup_hose(struct pci_controller *hose, unsigned long addr)
|
||||
{
|
||||
volatile ccsr_fsl_pci_t *pci = (ccsr_fsl_pci_t *) addr;
|
||||
|
||||
pci_setup_indirect(hose, (u32)&pci->cfg_addr, (u32)&pci->cfg_data);
|
||||
|
||||
return fsl_is_pci_agent(hose);
|
||||
}
|
||||
|
||||
static int fsl_pci_setup_inbound_windows(struct pci_controller *hose,
|
||||
u64 out_lo, u8 pcie_cap,
|
||||
volatile pit_t *pi)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue