summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>2017-07-03 09:51:10 (GMT)
committerYork Sun <york.sun@nxp.com>2017-08-09 16:57:33 (GMT)
commitacb90e8338734004aed6e0cb47585c96611ce9c9 (patch)
tree63dd717eb3e8b6f918b420915943037daec148ff /include
parent06651b9456d92847cbf4e93b22b020065820bc99 (diff)
downloadu-boot-fsl-qoriq-acb90e8338734004aed6e0cb47585c96611ce9c9.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/fsl_csu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_csu.h b/include/fsl_csu.h
index 8582ac0..027a811 100644
--- a/include/fsl_csu.h
+++ b/include/fsl_csu.h
@@ -30,7 +30,7 @@ struct csu_ns_dev {
};
void enable_layerscape_ns_access(void);
-void set_devices_ns_access(struct csu_ns_dev *ns_dev, u16 val);
+void set_devices_ns_access(unsigned long, u16 val);
void set_pcie_ns_access(int pcie, u16 val);
#endif