diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2017-07-03 12:51:10 +0300 |
---|---|---|
committer | York Sun <york.sun@nxp.com> | 2017-08-09 19:57:33 +0300 |
commit | acb90e8338734004aed6e0cb47585c96611ce9c9 (patch) | |
tree | 63dd717eb3e8b6f918b420915943037daec148ff /include | |
parent | 06651b9456d92847cbf4e93b22b020065820bc99 (diff) | |
download | u-boot-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fsl_csu.h b/include/fsl_csu.h index 8582ac0774..027a811aaf 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 |