All of lore.kernel.org
 help / color / mirror / Atom feed
From: peng.fan at nxp.com <peng.fan@nxp.com>
To: u-boot@lists.denx.de
Subject: [PATCH 1/5] imx7: ccm: correct target interface num
Date: Wed, 16 Sep 2020 15:17:18 +0800	[thread overview]
Message-ID: <20200916071722.28772-1-peng.fan@nxp.com> (raw)

From: Peng Fan <peng.fan@nxp.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/include/asm/arch-mx7/crm_regs.h b/arch/arm/include/asm/arch-mx7/crm_regs.h
index f3515fab03..bfa68a9d2a 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 */
 
 };
 
-- 
2.28.0

             reply	other threads:[~2020-09-16  7:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-16  7:17 peng.fan at nxp.com [this message]
2020-09-16  7:17 ` [PATCH 2/5] imx8mq: fix FRAC_PLL_REFCLK_SEL_MASK peng.fan at nxp.com
2020-09-18 14:06   ` sbabic at denx.de
2020-09-16  7:17 ` [PATCH 3/5] imx8mq: fix SSCG_PLL_REFCLK_SEL_x peng.fan at nxp.com
2020-09-18 14:05   ` sbabic at denx.de
2020-09-16  7:17 ` [PATCH 4/5] imx8m: clock_imx8mm: add missed return peng.fan at nxp.com
2020-09-18 14:06   ` sbabic at denx.de
2020-09-16  7:17 ` [PATCH 5/5] imx8mp: Remove parts MIMX8ML7 and MIMX8ML5 support peng.fan at nxp.com
2020-09-18 14:05   ` sbabic at denx.de
2020-09-18 14:06 ` [PATCH 1/5] imx7: ccm: correct target interface num sbabic at denx.de

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200916071722.28772-1-peng.fan@nxp.com \
    --to=peng.fan@nxp.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.