sun6i: Add clock functions needed for SPL / DRAM init
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-sunxi / prcm.h
index 3d3bfa6..88de1ff 100644 (file)
 #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)