Browse Source

u-boot: crm_regs: Anadig struct missing initial offset

The anadig_reg struct was not considering that the first meaningfull
register pll3_ctrl starts at the ANADIG base address + 0x10 of offset

Usually anadig_reg pointer is initialized to the ANADIG base address,
then creating an unaligned reference of the anadig refisters by an
offset of 0x10

Signed-off-by: Juan Gutierrez <b44802@freescale.com>
Juan Gutierrez 11 years ago
parent
commit
44f3d5a012
1 changed files with 1 additions and 0 deletions
  1. 1 0
      arch/arm/include/asm/arch-vf610/crm_regs.h

+ 1 - 0
arch/arm/include/asm/arch-vf610/crm_regs.h

@@ -68,6 +68,7 @@ struct ccm_reg {
 
 /* Analog components control digital interface (ANADIG) */
 struct anadig_reg {
+	u32 spare[4];
 	u32 pll3_ctrl;
 	u32 resv0[3];
 	u32 pll7_ctrl;