summaryrefslogtreecommitdiffstats
path: root/board/freescale
diff options
context:
space:
mode:
authorBogdan Purcareata <bogdan.purcareata@nxp.com>2016-05-17 07:18:40 +0000
committerYork Sun <york.sun@nxp.com>2016-06-03 14:12:10 -0700
commit3378727d13dac410d8ef2d8426d4c9bfc4974405 (patch)
tree0423022e7b6bae5061adad889261b9190ba23fc3 /board/freescale
parent5605dc6135f6f26560ef3b0c6ebc5141c531179a (diff)
downloadblackbird-obmc-uboot-3378727d13dac410d8ef2d8426d4c9bfc4974405.tar.gz
blackbird-obmc-uboot-3378727d13dac410d8ef2d8426d4c9bfc4974405.zip
pcie/layerscape: fix bug in bus number computation when setting msi-map
When multiple PCI cards are present in an ls2080a board, the second card does not get its msi-map set up properly due to a bug in computing the bus number. The bus number returned by PCI_BDF() is not the actual PCI bus number, but instead represents a global u-boot PCI bus number. A given bus number is relative to hose->first_busno, so that has to be subtracted from the PCI device id. Signed-off-by: Bogdan Purcareata <bogdan.purcareata@nxp.com> Acked-by: Stuart Yoder <stuart.yoder@nxp.com> Reviewed-by: York Sun <york.sun@nxp.com>
Diffstat (limited to 'board/freescale')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud