dram_mele_a210.c is identical to dram_sun5i_432_512_busw16_iow16.c

Signed-off-by: Julian Calaby <[email protected]>
---
 board/sunxi/Makefile         |  2 +-
 board/sunxi/dram_mele_a210.c | 31 -------------------------------
 2 files changed, 1 insertion(+), 32 deletions(-)
 delete mode 100644 board/sunxi/dram_mele_a210.c

diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
index f5207b7..eb612e5 100644
--- a/board/sunxi/Makefile
+++ b/board/sunxi/Makefile
@@ -62,7 +62,7 @@ obj-$(CONFIG_LINKSPRITE_PCDUINO3)     += 
dram_linksprite_pcduino3.o
 obj-$(CONFIG_MEFAFEIS_A08)     += dram_megafeis_a08.o
 obj-$(CONFIG_MELE_A1000)       += dram_sun4i_360_512.o
 obj-$(CONFIG_MELE_A1000G)      += dram_sun4i_360_1024_iow8.o
-obj-$(CONFIG_MELE_A210)                += dram_mele_a210.o
+obj-$(CONFIG_MELE_A210)                += dram_sun5i_432_512_busw16_iow16.o
 obj-$(CONFIG_MELE_A3700)       += dram_sun4i_360_1024_iow8.o
 obj-$(CONFIG_MELE_M5)          += dram_sun7i_384_1024_iow16.o
 obj-$(CONFIG_MERRII_HUMMINGBIRD_A20)   += dram_sun7i_480_1024_iow16.o
diff --git a/board/sunxi/dram_mele_a210.c b/board/sunxi/dram_mele_a210.c
deleted file mode 100644
index 3d4bb08..0000000
--- a/board/sunxi/dram_mele_a210.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 = 432,
-       .type = 3,
-       .rank_num = 1,
-       .density = 4096,
-       .io_width = 16,
-       .bus_width = 16,
-       .cas = 9,
-       .zq = 0x7b,
-       .odt_en = 0,
-       .size = 512,
-       .tpr0 = 0x42d899b7,
-       .tpr1 = 0xa090,
-       .tpr2 = 0x22a00,
-       .tpr3 = 0x00,
-       .tpr4 = 0x00,
-       .tpr5 = 0x00,
-       .emr1 = 0x04,
-       .emr2 = 0x10,
-       .emr3 = 0x00,
-};
-
-unsigned long sunxi_dram_init(void)
-{
-       return dramc_init(&dram_para);
-}
-- 
2.1.0

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to