diff options
author | Tom Rini <trini@konsulko.com> | 2016-07-25 14:49:54 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-07-25 14:49:54 -0400 |
commit | fd42e1b589b5ae7e89dc327a70e5852999a23aeb (patch) | |
tree | 7f5a4ada7b95af8b94b7dc86638cde9a2663f88c /arch/arm/include/asm/arch-sunxi/clock_sun4i.h | |
parent | e312e745db7bcde95c759986d218e8ab5259f64f (diff) | |
parent | 59441ac3c135c412c679bdd1c82c8f2a9b805bbc (diff) |
Merge git://git.denx.de/u-boot-nand-flash
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock_sun4i.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock_sun4i.h | 5 |
1 files changed, 5 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 0088bb9d0b..d1c5ad0a73 100644 --- a/arch/arm/include/asm/arch-sunxi/clock_sun4i.h +++ b/arch/arm/include/asm/arch-sunxi/clock_sun4i.h @@ -269,6 +269,11 @@ struct sunxi_ccm_reg { #define CCM_MBUS_CTRL_CLK_SRC_PLL5 0x2 #define CCM_MBUS_CTRL_GATE (0x1 << 31) +#define CCM_NAND_CTRL_M(x) ((x) - 1) +#define CCM_NAND_CTRL_N(x) ((x) << 16) +#define CCM_NAND_CTRL_OSCM24 (0x0 << 24) +#define CCM_NAND_CTRL_PLL6 (0x1 << 24) +#define CCM_NAND_CTRL_PLL5 (0x2 << 24) #define CCM_NAND_CTRL_ENABLE (0x1 << 31) #define CCM_MMC_CTRL_M(x) ((x) - 1) |