From: Alessandro Rubini Date: Sat, 6 Feb 2010 19:53:43 +0000 (+0100) Subject: EP93xx: fix syscon_regs definition X-Git-Tag: v2010.09-rc1~1^2~19^2~26^2~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bb9d864b950b711a3d6b983d96c0f2b151f48bc2;p=oweals%2Fu-boot.git EP93xx: fix syscon_regs definition The structure was missing a reserved entry (not listed in the manual, actually), so the last registers had a wrong offset. This prevented all swlocked registers to be modified as swlock is last in the structure. Signed-off-by: Alessandro Rubini --- diff --git a/include/asm-arm/arch-ep93xx/ep93xx.h b/include/asm-arm/arch-ep93xx/ep93xx.h index 6cafe54fbe..806557a50e 100644 --- a/include/asm-arm/arch-ep93xx/ep93xx.h +++ b/include/asm-arm/arch-ep93xx/ep93xx.h @@ -558,8 +558,9 @@ struct syscon_regs { uint32_t i2sclkdiv; uint32_t keytchclkdiv; uint32_t chipid; + uint32_t reserved4; uint32_t syscfg; - uint32_t reserved4[8]; + uint32_t reserved5[8]; uint32_t sysswlock; }; #else