sun8i: Add dram initialization support
Based on the register / dram_para headers from the Allwinner u-boot / linux sources + the init sequences from boot0. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user