diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-10-25 20:16:33 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-11-13 14:49:01 +0100 |
commit | 62c87ef2e988558edbf983c9344ceb9370dbbf02 (patch) | |
tree | 1eed8f441fac50de93d17aa77bf1e6b9cd9b1229 /arch/arm/include/asm/arch-sunxi/prcm.h | |
parent | 5c7f10fda362db16a7bf3e571b4ae1e88fac2466 (diff) |
sun6i: Add clock functions needed for SPL / DRAM init
Add clock_init_safe and clockset_pll5 functions, as these are needed for
SPL support resp. DRAM init (which is needed for SPL too).
Also add some extra clock register constant defines.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/prcm.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/prcm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/prcm.h b/arch/arm/include/asm/arch-sunxi/prcm.h index 3d3bfa6cd1..88de1ff675 100644 --- a/arch/arm/include/asm/arch-sunxi/prcm.h +++ b/arch/arm/include/asm/arch-sunxi/prcm.h @@ -119,6 +119,7 @@ #define PRCM_PLL_CTRL_LDO_OUT_HV(n) \ __PRCM_PLL_CTRL_VDD_LDO_OUT((((n) & 0x7) * 30) + 1160) #define PRCM_PLL_CTRL_LDO_KEY (0xa7 << 24) +#define PRCM_PLL_CTRL_LDO_KEY_MASK (0xff << 24) #define PRCM_CLK_1WIRE_GATE (0x1 << 31) |