]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - arch/arm/include/asm/arch-sunxi/clock_sun6i.h
sun8i: Add dram initialization support
[karo-tx-uboot.git] / arch / arm / include / asm / arch-sunxi / clock_sun6i.h
index f807af32f13931ff69fb02822a135d0c309afd66..f2119f30d108b353698b2b37aee7188ac7dd07e5 100644 (file)
@@ -273,7 +273,11 @@ struct sunxi_ccm_reg {
 #define CCM_HDMI_CTRL_DDC_GATE         (0x1 << 30)
 #define CCM_HDMI_CTRL_GATE             (0x1 << 31)
 
+#ifndef CONFIG_MACH_SUN8I
 #define MBUS_CLK_DEFAULT               0x81000001 /* PLL6 / 2 */
+#else
+#define MBUS_CLK_DEFAULT               0x81000003 /* PLL6 / 4 */
+#endif
 
 #define CCM_PLL5_PATTERN               0xd1303333