1 /* DRAM parameters for auto dram configuration on sun5i and sun7i */
4 #include <asm/arch/dram.h>
6 static struct dram_para dram_para = {
7 .clock = CONFIG_DRAM_CLK,
16 #ifdef CONFIG_DRAM_TIMINGS_VENDOR_MAGIC
23 # include "dram_timings_sun4i.h"
28 .emr1 = CONFIG_DRAM_EMR1,
32 unsigned long sunxi_dram_init(void)
34 return dramc_init(&dram_para);