2 #include <asm/arch/dram.h>
4 static struct dram_para dram_para
= {
5 .clock
= CONFIG_DRAM_CLK
,
12 .odt_en
= IS_ENABLED(CONFIG_DRAM_ODT_EN
),
14 #ifdef CONFIG_DRAM_TIMINGS_VENDOR_MAGIC
21 # include "dram_timings_sun4i.h"
22 .active_windowing
= 1,
24 .tpr3
= CONFIG_DRAM_TPR3
,
27 .emr1
= CONFIG_DRAM_EMR1
,
29 .dqs_gating_delay
= CONFIG_DRAM_DQS_GATING_DELAY
,
32 unsigned long sunxi_dram_init(void)
34 return dramc_init(&dram_para
);