Skip to content
Snippets Groups Projects
Commit 01cafced authored by Minghuan Lian's avatar Minghuan Lian Committed by York Sun
Browse files

drivers/pci/layerscape: Add EP mode support


The patch will initialize PCIe controller on EP mode
1. Setup bar:
   bar0 32bit 4K for specific configuration
   bar1 32bit 8K for MSIX
   bar2 64bit 4K for descriptor of memory
   bar4 64bit 1M for DMA memory test
2. Setup iATU:
   iATU inbound 0-3 to map bar transaction to memory address
   started at CONFIG_SYS_PCI_EP_MEMORY_BASE
   iATU outbound 0 to map 4G memory space

Signed-off-by: default avatarMinghuan Lian <Minghuan.Lian@freescale.com>
Reviewed-by: default avatarYork Sun <yorksun@freescale.com>
parent ed5b580b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment