From: Eric Nelson Date: Thu, 29 Aug 2013 19:37:35 +0000 (-0700) Subject: i.MX6: Correct ANATOP_PFD (Phase Fractional Divider) register declarations X-Git-Tag: v2013.10-rc3~8^2~4^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3fc4176dc4b61bc50b0d90f10eef48f7b2e28203;p=u-boot i.MX6: Correct ANATOP_PFD (Phase Fractional Divider) register declarations Some _CLKGATE_MASK and _FRAC_MASK macros were wrong for PFD_480 and the PFD_528 macros were missing. Fortunately, the incorrect macros weren't being used. Since both the PFD_480 and PFD_528 registers have the same structure, and the fields are identical for [0..3] in bytes [0..3], so a single set of macros will suffice. Signed-off-by: Eric Nelson --- diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index 621919f82e..7ef7152678 100644 --- a/arch/arm/include/asm/arch-mx6/imx-regs.h +++ b/arch/arm/include/asm/arch-mx6/imx-regs.h @@ -635,29 +635,12 @@ struct anatop_regs { u32 digprog_sololite; /* 0x280 */ }; -#define ANATOP_PFD_480_PFD0_FRAC_SHIFT 0 -#define ANATOP_PFD_480_PFD0_FRAC_MASK (0x3f<