pci: imx: Fix potential 64bit memory access clamping
authorMarek Vasut <marex@denx.de>
Sun, 9 Jun 2019 01:50:53 +0000 (03:50 +0200)
committerYe Li <ye.li@nxp.com>
Fri, 9 Aug 2019 09:26:24 +0000 (02:26 -0700)
commita039c86379815b550884858e37383d1f4c36c23f
treec2deff0917c7d5bb91517a642bac36d60181f6d5
parent0579b85a2d9b328c8831ad81ca30329d4d92df29
pci: imx: Fix potential 64bit memory access clamping

The driver limits the config space base to 32bit, however it can be
64bit on 64bit iMX hardware too. Remove that limitation. This patch
has no impact on the iMX6, which is the only SoC currently supported
by this driver.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
(cherry picked from commit 90f87fb5258c57bbb8497ac23454e659169483e4)
drivers/pci/pcie_imx.c