diff options
author | Matthias Kaehlcke <matthias@kaehlcke.net> | 2010-02-07 00:55:13 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2010-02-08 14:42:06 +0100 |
commit | 867673621876546cb7b846dab3128ef836aa9586 (patch) | |
tree | 9b572acedba03fef2d320a9e4a22fb801d47ad09 /arch | |
parent | 63c194ad57742911f3aea73b42bde0b5f497cc10 (diff) | |
download | barebox-867673621876546cb7b846dab3128ef836aa9586.tar.gz barebox-867673621876546cb7b846dab3128ef836aa9586.tar.xz |
EP93xx: Fix system controller register definitions
EP93xx: The system controller register definition doesn't take into account a 4
byte gap between ChipId and SysCfg, in consequence all accesses to syscon registers
ahead of ChipId fail. Fix this by inserting a filler field
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h index 50bb0eb41f..544f7f920b 100644 --- a/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h +++ b/arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h @@ -562,8 +562,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 |