]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
EP93xx: fix syscon_regs definition
authorAlessandro Rubini <rubini-list@gnudd.com>
Sat, 6 Feb 2010 19:53:43 +0000 (20:53 +0100)
committerTom Rix <Tom.Rix@windriver.com>
Fri, 12 Feb 2010 18:31:54 +0000 (12:31 -0600)
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 <rubini@gnudd.com>
include/asm-arm/arch-ep93xx/ep93xx.h

index 6cafe54fbe46a338a1b4ef4f706b1aaae1af7c9e..806557a50ea27190890ed7a455453c741bb18fb4 100644 (file)
@@ -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