]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: tegra: Fix port information parsing
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Tue, 20 Jan 2015 17:06:53 +0000 (18:06 +0100)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 00:25:30 +0000 (17:25 -0700)
commit053b86e6d8e50359412e626c33bae3f7bafd74dd
treee9124bbc3254834651ee9e46a7386477f73fca70
parentfea1c47f5481871f9aad70a02dc8c66b91332774
pci: tegra: Fix port information parsing

commit a62e84d7b1824a202dd incorrectly changed the tegra pci code to the
new fdtdec pci helpers. To get the device index of the root port, the
"reg" property should be parsed from the dtb (as was previously the
case).

With this patch i can successfully network boot my jetson tk1

Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Tested-by: Thierry Reding <treding@nvidia.com>
Acked-by: Thierry Reding <treding@nvidia.com>
drivers/pci/pci_tegra.c