blob: fbcd68771fe5d1fd0938f618536acad935c8798b [file] [log] [blame]
Ian Campbell7d20d7e2014-05-05 11:52:27 +01001/* this file is generated, don't edit it yourself */
2
3#include <common.h>
4#include <asm/arch/dram.h>
5
6static struct dram_para dram_para = {
7 .clock = 432,
8 .type = 3,
9 .rank_num = 1,
10 .density = 4096,
11 .io_width = 8,
12 .bus_width = 32,
13 .cas = 9,
14 .zq = 0x7f,
15 .odt_en = 0,
16 .size = 2048,
17 .tpr0 = 0x42d899b7,
18 .tpr1 = 0xa090,
19 .tpr2 = 0x22a00,
20 .tpr3 = 0x0,
21 .tpr4 = 0x1,
22 .tpr5 = 0x0,
23 .emr1 = 0x4,
24 .emr2 = 0x10,
25 .emr3 = 0x0,
26};
27
28unsigned long sunxi_dram_init(void)
29{
30 return dramc_init(&dram_para);
31}