diff options
author | Hou Zhiqiang <Zhiqiang.Hou@nxp.com> | 2017-07-03 09:51:10 (GMT) |
---|---|---|
committer | Alison Wang <b18965@freescale.com> | 2017-09-11 05:10:27 (GMT) |
commit | bdf9c1af48954fbf6dac8540fae5abf3f9ddf570 (patch) | |
tree | 34e639cac86af49e82b35d889b3ca47d3ec6bbf7 /include/fsl_csu.h | |
parent | 26aaf131a720ebe363c92ccff3e9f8ac67a91e36 (diff) | |
download | u-boot-bdf9c1af48954fbf6dac8540fae5abf3f9ddf570.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/fsl_csu.h')
-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 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 |