diff mbox series

[U-Boot,cosmetic,v1] ARM: socfpga: Fix Documentation errors in scu_registers

Message ID 1526402738-21963-1-git-send-email-ben.h.kalo@gmail.com
State Accepted
Commit 4916388a392dec3dfac3c16d0f01813b6e02c9cf
Delegated to: Marek Vasut
Headers show
Series [U-Boot,cosmetic,v1] ARM: socfpga: Fix Documentation errors in scu_registers | expand

Commit Message

Ben Kalo May 15, 2018, 4:45 p.m. UTC
According to ARM Cortex-A9 MPCore TRM section 2.2 - SCU registers
Access Control register offset is 0x50.

Signed-off-by: Ben Kalo <ben.h.kalo@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Albert Aribaud <albert.u.boot@aribaud.net>
---

 arch/arm/mach-socfpga/include/mach/scu.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Marek Vasut May 16, 2018, 9:33 a.m. UTC | #1
On 05/15/2018 06:45 PM, Ben Kalo wrote:
> According to ARM Cortex-A9 MPCore TRM section 2.2 - SCU registers
> Access Control register offset is 0x50.
> 
> Signed-off-by: Ben Kalo <ben.h.kalo@gmail.com>
> Cc: Marek Vasut <marex@denx.de>
> Cc: Albert Aribaud <albert.u.boot@aribaud.net>
> ---
> 
>  arch/arm/mach-socfpga/include/mach/scu.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-socfpga/include/mach/scu.h b/arch/arm/mach-socfpga/include/mach/scu.h
> index 27224b1..b684a55 100644
> --- a/arch/arm/mach-socfpga/include/mach/scu.h
> +++ b/arch/arm/mach-socfpga/include/mach/scu.h
> @@ -14,8 +14,8 @@ struct scu_registers {
>  	u32	_pad_0x10_0x3c[12];	/* 0x10 */
>  	u32	fsar;			/* 0x40 */
>  	u32	fear;
> -	u32	_pad_0x48_0x50[2];
> -	u32	acr;			/* 0x54 */
> +	u32	_pad_0x48_0x4c[2];
> +	u32	acr;			/* 0x50 */
>  	u32	sacr;
>  };
>  
> 
Applied, thanks.
diff mbox series

Patch

diff --git a/arch/arm/mach-socfpga/include/mach/scu.h b/arch/arm/mach-socfpga/include/mach/scu.h
index 27224b1..b684a55 100644
--- a/arch/arm/mach-socfpga/include/mach/scu.h
+++ b/arch/arm/mach-socfpga/include/mach/scu.h
@@ -14,8 +14,8 @@  struct scu_registers {
 	u32	_pad_0x10_0x3c[12];	/* 0x10 */
 	u32	fsar;			/* 0x40 */
 	u32	fear;
-	u32	_pad_0x48_0x50[2];
-	u32	acr;			/* 0x54 */
+	u32	_pad_0x48_0x4c[2];
+	u32	acr;			/* 0x50 */
 	u32	sacr;
 };