]> git.dujemihanovic.xyz Git - u-boot.git/commit
PCI: layerscape: Fix assigning wrong address to LS2088A pcie cfg1 space
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Tue, 18 Jul 2017 03:29:12 +0000 (11:29 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 9 Aug 2017 16:57:32 +0000 (09:57 -0700)
commit89d8e1313f18131a5c451f094bad89ba35ed2120
treefa8a75907c042f5226ae4cca7d1ce8933014b159
parent563ac65a1ad2e0f97d1b7c3a9b91d18dddc1bd3d
PCI: layerscape: Fix assigning wrong address to LS2088A pcie cfg1 space

This bug is brought by the commit 3d8553f0a3 (pci: layerscape: add
LS2088A series SoC pcie support), which only updated cfg_res.start
and did not update the .end field. This causes fdt_resource_size()
getting wrong value when calculate the cfg1 space address.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
[YS: Revise subject and commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
drivers/pci/pcie_layerscape.c