From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 18 Sep 2014 13:24:58 +0200 Subject: [U-Boot] [PATCH] arm: ls102xa: Fixed a register definition error In-Reply-To: <1411031526-14794-1-git-send-email-Yuantian.Tang@freescale.com> References: <1411031526-14794-1-git-send-email-Yuantian.Tang@freescale.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Tang, On Thu, 18 Sep 2014 17:12:06 +0800, Tang Yuantian wrote: > There are 8 SCFG_SPARECR registers in SCFG memory block, not > just one. > > Signed-off-by: Tang Yuantian > --- > arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h > index 7995fe2..b5db720 100644 > --- a/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h > +++ b/arch/arm/include/asm/arch-ls102xa/immap_ls102xa.h > @@ -182,7 +182,7 @@ struct ccsr_scfg { > u32 etsecmcr; > u32 sdhciovserlcr; > u32 resv14[61]; > - u32 sparecr; > + u32 sparecr[8]; > }; > > /* Clocking */ Obviously the original code was not problematic as sparecr was not used. Is your change dictated by a patch or series that you are preparing and that will use sparecr? Amicalement, -- Albert.