Hans de Goede | 8c1c782 | 2014-06-09 11:36:58 +0200 | [diff] [blame] | 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 = 408, |
| 8 | .type = 3, |
| 9 | .rank_num = 1, |
| 10 | .density = 2048, |
| 11 | .io_width = 16, |
| 12 | .bus_width = 16, |
| 13 | .cas = 9, |
| 14 | .zq = 123, |
| 15 | .odt_en = 0, |
| 16 | .size = 256, |
| 17 | .tpr0 = 0x42d899b7, |
| 18 | .tpr1 = 0xa090, |
| 19 | .tpr2 = 0x22a00, |
| 20 | .tpr3 = 0, |
| 21 | .tpr4 = 0, |
| 22 | .tpr5 = 0, |
| 23 | .emr1 = 0, |
| 24 | .emr2 = 0x10, |
| 25 | .emr3 = 0, |
| 26 | |
| 27 | }; |
| 28 | |
| 29 | unsigned long sunxi_dram_init(void) |
| 30 | { |
| 31 | return dramc_init(&dram_para); |
| 32 | } |