dm: pci: fsl: Correct the workaround of erratum A-007815
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 15 Oct 2020 06:54:34 +0000 (14:54 +0800)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 23 Oct 2020 11:22:09 +0000 (16:52 +0530)
commit0205beb15612a63c365f7729af92fa32e6281987
tree490ce01c3c01d99eff0855560eeb5c4d169f8c71
parentc760095adbf222aefba00404b38a25bf5dee0909
dm: pci: fsl: Correct the workaround of erratum A-007815

The register to enable/disable the write-permission of DBI RO
registers should be accessed via the CFG_ADDR/CFG_DATA registers
instead of accessing directly.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
drivers/pci/pcie_fsl.c
drivers/pci/pcie_fsl.h