imx7: ccm: correct target interface num
authorPeng Fan <peng.fan@nxp.com>
Wed, 16 Sep 2020 07:17:18 +0000 (15:17 +0800)
committerStefano Babic <sbabic@denx.de>
Thu, 17 Sep 2020 12:39:55 +0000 (14:39 +0200)
commit95bae9ff920b6120bd2c21437517ed99a2d54b61
tree3195de5e20ac8e6543b5b6304060c43507f3f172
parent763a4aef092ff39d69d80244cc3fd9afe0dc63f7
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>
arch/arm/include/asm/arch-mx7/crm_regs.h