summaryrefslogtreecommitdiff
path: root/board/sunxi/dram_a20_olinuxino_l2.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2015-01-21 19:26:03 (GMT)
committerHans de Goede <hdegoede@redhat.com>2015-01-23 14:15:02 (GMT)
commit389046be2ff2bf6752deb822ede07c02afc8f9b0 (patch)
tree6283b0d633df1532c942fb640769d31d13b32aaf /board/sunxi/dram_a20_olinuxino_l2.c
parent56333be9b262ba4059affe277bca4cf9d2991b69 (diff)
downloadu-boot-389046be2ff2bf6752deb822ede07c02afc8f9b0.tar.xz
sunxi: Convert sun7i boards to use auto dram configuration
Currently we've separate detailed dram settings for all sun7i boards, this moves them over to using auto dram configuration so that we can get rid of all the per board dram_foo.c files. This has been tested on a A20-Olinuxino-Lime, A20-Olinuxino_MICRO, Bananapi, Bananapro, Cubieboard2, Cubietruck, Mele_M3 and a Linksprite_pcDuino3. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'board/sunxi/dram_a20_olinuxino_l2.c')
-rw-r--r--board/sunxi/dram_a20_olinuxino_l2.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/board/sunxi/dram_a20_olinuxino_l2.c b/board/sunxi/dram_a20_olinuxino_l2.c
deleted file mode 100644
index 2115d37..0000000
--- a/board/sunxi/dram_a20_olinuxino_l2.c
+++ /dev/null
@@ -1,31 +0,0 @@
-/* this file is generated, don't edit it yourself */
-
-#include <common.h>
-#include <asm/arch/dram.h>
-
-static struct dram_para dram_para = {
- .clock = 480,
- .type = 3,
- .rank_num = 1,
- .density = 4096,
- .io_width = 16,
- .bus_width = 32,
- .cas = 9,
- .zq = 0x7f,
- .odt_en = 0,
- .size = 1024,
- .tpr0 = 0x42d899b7,
- .tpr1 = 0xa090,
- .tpr2 = 0x22a00,
- .tpr3 = 0,
- .tpr4 = 0,
- .tpr5 = 0,
- .emr1 = 0x4,
- .emr2 = 0x10,
- .emr3 = 0,
-};
-
-unsigned long sunxi_dram_init(void)
-{
- return dramc_init(&dram_para);
-}