diff options
author | Tom Rini <trini@ti.com> | 2014-10-26 14:13:24 -0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-26 14:13:24 -0400 |
commit | d0796defbe8eff6fc3c27c893dcbc47af59d4764 (patch) | |
tree | d24f8d1617534954e807047dcdd5cec054847bb3 /arch/arm/include/asm/arch-sunxi/clock_sun4i.h | |
parent | 1fba907f9a8d178eee960294ecffc8ee8bc6b00d (diff) | |
parent | accc9e446be6c3bd129315a0c5830bddccfa16da (diff) | |
download | u-boot-imx-d0796defbe8eff6fc3c27c893dcbc47af59d4764.zip u-boot-imx-d0796defbe8eff6fc3c27c893dcbc47af59d4764.tar.gz u-boot-imx-d0796defbe8eff6fc3c27c893dcbc47af59d4764.tar.bz2 |
Merge http://git.denx.de/u-boot-sunxi
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun4i.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h index 1ba997a..90af8e2 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h @@ -199,13 +199,16 @@ struct sunxi_ccm_reg { #define CCM_PLL5_CTRL_M1_MASK CCM_PLL5_CTRL_M1(0x3) #define CCM_PLL5_CTRL_M1_X(n) ((n) - 1) #define CCM_PLL5_CTRL_K(n) (((n) & 0x3) << 4) +#define CCM_PLL5_CTRL_K_SHIFT 4 #define CCM_PLL5_CTRL_K_MASK CCM_PLL5_CTRL_K(0x3) #define CCM_PLL5_CTRL_K_X(n) ((n) - 1) #define CCM_PLL5_CTRL_LDO (0x1 << 7) #define CCM_PLL5_CTRL_N(n) (((n) & 0x1f) << 8) +#define CCM_PLL5_CTRL_N_SHIFT 8 #define CCM_PLL5_CTRL_N_MASK CCM_PLL5_CTRL_N(0x1f) #define CCM_PLL5_CTRL_N_X(n) (n) #define CCM_PLL5_CTRL_P(n) (((n) & 0x3) << 16) +#define CCM_PLL5_CTRL_P_SHIFT 16 #define CCM_PLL5_CTRL_P_MASK CCM_PLL5_CTRL_P(0x3) #define CCM_PLL5_CTRL_P_X(n) ((n) - 1) #define CCM_PLL5_CTRL_BW (0x1 << 18) |