mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-29 16:10:24 +09:00
imx7: ccm: correct target interface num
According to i.MX 7Dual Applications Processor Reference Manual, Rev. 1 The target interface CCM root index ranges [0,124], so the number should be 125. Reported-by: Coverity 18045 Signed-off-by: Peng Fan <peng.fan@nxp.com> Reviewed-by: Ye Li <ye.li@nxp.com>
This commit is contained in:
parent
763a4aef09
commit
95bae9ff92
@ -57,7 +57,7 @@ struct mxc_ccm_reg {
|
||||
uint32_t reserved_0[4092];
|
||||
struct mxc_ccm_ccgr ccgr_array[191]; /* offset 0x4000 */
|
||||
uint32_t reserved_1[3332];
|
||||
struct mxc_ccm_root_slice root[121]; /* offset 0x8000 */
|
||||
struct mxc_ccm_root_slice root[125]; /* offset 0x8000 */
|
||||
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user