diff options
author | Stuart Yoder <stuart.yoder@nxp.com> | 2016-03-10 10:52:30 -0600 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2016-03-21 12:42:13 -0700 |
commit | 5e8e27b743a650aebc3d79823cbd8443ca12d4b8 (patch) | |
tree | 182760bfd2596773047342823c6beb33ddcc47d0 /doc/README.fsl-ddr | |
parent | 7e7e1264707f6a0c5d877c5f8bf816c11d7a6af9 (diff) | |
download | u-boot-imx-5e8e27b743a650aebc3d79823cbd8443ca12d4b8.zip u-boot-imx-5e8e27b743a650aebc3d79823cbd8443ca12d4b8.tar.gz u-boot-imx-5e8e27b743a650aebc3d79823cbd8443ca12d4b8.tar.bz2 |
pci/layerscape: set LUT and msi-map for discovered PCI devices
msi-map properties are used to tell an OS how PCI requester IDs are
mapped to ARM SMMU stream IDs.
for all PCI devices discovered in a system:
-allocate a LUT (look-up-table) entry in that PCI controller
-allocate a stream ID for the device
-program and enable a LUT entry (maps PCI requester id to stream ID)
-set the msi-map property on the controller reflecting the
LUT mapping
basic bus scanning loop/logic was taken from drivers/pci/pci.c
pci_hose_scan_bus().
Signed-off-by: Stuart Yoder <stuart.yoder@nxp.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'doc/README.fsl-ddr')
0 files changed, 0 insertions, 0 deletions