]> git.sur5r.net Git - u-boot/commit
fsl-lsch2: csu: correct the workaround A-010315
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 3 Jul 2017 09:51:10 +0000 (17:51 +0800)
committerYork Sun <york.sun@nxp.com>
Wed, 9 Aug 2017 16:57:33 +0000 (09:57 -0700)
commitacb90e8338734004aed6e0cb47585c96611ce9c9
tree63dd717eb3e8b6f918b420915943037daec148ff
parent06651b9456d92847cbf4e93b22b020065820bc99
fsl-lsch2: csu: correct the workaround A-010315

The implementation of function set_pcie_ns_access() uses a wrong
argument. The structure array ns_dev has a member 'ind' which is
initialized by CSU_CSLX_*. It should use the 'ind' directly to
address the PCIe's CSL register (CSL_base + CSU_CSLX_PCIE*).

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
[YS: Revise commit message]
Reviewed-by: York Sun <york.sun@nxp.com>
board/freescale/common/ns_access.c
include/fsl_csu.h