diff options
| author | Peng Fan <[email protected]> | 2020-09-16 15:17:18 +0800 |
|---|---|---|
| committer | Stefano Babic <[email protected]> | 2020-09-17 14:39:55 +0200 |
| commit | 95bae9ff920b6120bd2c21437517ed99a2d54b61 (patch) | |
| tree | 3195de5e20ac8e6543b5b6304060c43507f3f172 | |
| parent | 763a4aef092ff39d69d80244cc3fd9afe0dc63f7 (diff) | |
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 <[email protected]>
Reviewed-by: Ye Li <[email protected]>
| -rw-r--r-- | arch/arm/include/asm/arch-mx7/crm_regs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-mx7/crm_regs.h b/arch/arm/include/asm/arch-mx7/crm_regs.h index f3515fab031..bfa68a9d2a0 100644 --- a/arch/arm/include/asm/arch-mx7/crm_regs.h +++ b/arch/arm/include/asm/arch-mx7/crm_regs.h @@ -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 */ }; |
