]> git.ipfire.org Git - people/ms/u-boot.git/blob - board/sunxi/dram_sun4i_384_1024_iow8.c
sunxi: Stop differentiating between 512M and 1G variants of the same board
[people/ms/u-boot.git] / board / sunxi / dram_sun4i_384_1024_iow8.c
1 /* this file is generated, don't edit it yourself */
2
3 #include <common.h>
4 #include <asm/arch/dram.h>
5
6 static struct dram_para dram_para = {
7 .clock = 384,
8 .type = 3,
9 .rank_num = 1,
10 .density = 2048,
11 .io_width = 8,
12 .bus_width = 32,
13 .cas = 6,
14 .zq = 123,
15 .odt_en = 0,
16 .size = 1024,
17 .tpr0 = 0x30926692,
18 .tpr1 = 0x1090,
19 .tpr2 = 0x1a0c8,
20 .tpr3 = 0,
21 .tpr4 = 0,
22 .tpr5 = 0,
23 .emr1 = 0x4,
24 .emr2 = 0,
25 .emr3 = 0,
26 };
27
28 unsigned long sunxi_dram_init(void)
29 {
30 return dramc_init(&dram_para);
31 }