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>
This commit is contained in:
Alessandro Rubini 2010-02-06 20:53:43 +01:00 committed by Tom Rix
parent fcfb632bd1
commit c50a0f5039
1 changed files with 2 additions and 1 deletions

View 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