]> git.baikalelectronics.ru Git - uboot.git/commit
pci: imx: Fix potential 64bit memory access clamping
authorMarek Vasut <marex@denx.de>
Sun, 9 Jun 2019 01:50:53 +0000 (03:50 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
commitb73a316c0b48035e2f6a020572b4c5048c2dfc2f
tree6013f621364521f2d19e34e31494a66cb0fde62b
parentcc7fd5a63fbd83434820755c4c87d8f843b01c1a
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>
drivers/pci/pcie_imx.c