]> git.baikalelectronics.ru Git - uboot.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)
commit8340b612dc8538251a8f70530ad7eda40cf998da
treefa8a75907c042f5226ae4cca7d1ce8933014b159
parentc6b20ec4cadb97f008fb412fdc053a849b3172ff
PCI: layerscape: Fix assigning wrong address to LS2088A pcie cfg1 space

This bug is brought by the commit 14ab9f5915 (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