summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Rubini <rubini-list@gnudd.com>2010-02-06 20:53:43 +0100
committerTom Rix <Tom.Rix@windriver.com>2010-02-07 15:05:56 -0600
commitbb9d864b950b711a3d6b983d96c0f2b151f48bc2 (patch)
treef941e29132e71b1d043aae860a44dad02cb211a8
parentc20a3c0bac909a0a1311eaafdec156b6a8686d46 (diff)
downloadu-boot-imx-bb9d864b950b711a3d6b983d96c0f2b151f48bc2.zip
u-boot-imx-bb9d864b950b711a3d6b983d96c0f2b151f48bc2.tar.gz
u-boot-imx-bb9d864b950b711a3d6b983d96c0f2b151f48bc2.tar.bz2
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 <rubini@gnudd.com>
-rw-r--r--include/asm-arm/arch-ep93xx/ep93xx.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/asm-arm/arch-ep93xx/ep93xx.h b/include/asm-arm/arch-ep93xx/ep93xx.h
index 6cafe54..806557a 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