It uses the exact same memory timings as the regular cubieboard, it just has lower density dram chips.
get_ram_size will detect that only 512 MB is available on these boards, so they will work fine with the regular Cubieboard board config. Signed-off-by: Hans de Goede <[email protected]> --- board/sunxi/Makefile | 1 - board/sunxi/dram_cubieboard_512.c | 31 ------------------------------- boards.cfg | 1 - 3 files changed, 33 deletions(-) delete mode 100644 board/sunxi/dram_cubieboard_512.c diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile index 99445bf..324c54c 100644 --- a/board/sunxi/Makefile +++ b/board/sunxi/Makefile @@ -27,7 +27,6 @@ obj-$(CONFIG_COBY_MID9742) += dram_sun4i_408_1024_iow16.o obj-$(CONFIG_MARSBOARD_A10) += dram_sun4i_360_1024_iow16.o obj-$(CONFIG_MARSBOARD_A20) += dram_sun4i_360_1024_iow16.o obj-$(CONFIG_CUBIEBOARD) += dram_cubieboard.o -obj-$(CONFIG_CUBIEBOARD_512) += dram_cubieboard_512.o obj-$(CONFIG_CUBIEBOARD2) += dram_cubieboard2.o obj-$(CONFIG_CUBIETRUCK) += dram_cubietruck.o obj-$(CONFIG_DNS_M82) += dram_sun4i_360_1024_iow16.o diff --git a/board/sunxi/dram_cubieboard_512.c b/board/sunxi/dram_cubieboard_512.c deleted file mode 100644 index 9752b83..0000000 --- a/board/sunxi/dram_cubieboard_512.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 = 2048, - .io_width = 16, - .bus_width = 32, - .cas = 6, - .zq = 123, - .odt_en = 0, - .size = 512, - .tpr0 = 0x30926692, - .tpr1 = 0x1090, - .tpr2 = 0x1a0c8, - .tpr3 = 0, - .tpr4 = 0, - .tpr5 = 0, - .emr1 = 0, - .emr2 = 0, - .emr3 = 0, -}; - -unsigned long sunxi_dram_init(void) -{ - return dramc_init(&dram_para); -} diff --git a/boards.cfg b/boards.cfg index d3a1e50..63baa4b 100644 --- a/boards.cfg +++ b/boards.cfg @@ -398,7 +398,6 @@ Active arm armv7 sunxi - sunxi Active arm armv7 sunxi - sunxi Cubieboard2_FEL sun7i:CUBIEBOARD2,SPL_FEL,SUNXI_GMAC,STATUSLED=244,STATUSLED1=245,FAST_MBUS - Active arm armv7 sunxi - sunxi Cubietruck sun7i:CUBIETRUCK,SPL,SUNXI_GMAC,RGMII,STATUSLED=245,STATUSLED1=244,STATUSLED2=235,STATUSLED3=231,FAST_MBUS - Active arm armv7 sunxi - sunxi Cubietruck_FEL sun7i:CUBIETRUCK,SPL_FEL,SUNXI_GMAC,RGMII,STATUSLED=245,STATUSLED1=244,STATUSLED2=235,STATUSLED3=231,FAST_MBUS - -Active arm armv7 sunxi - sunxi Cubieboard_512 sun4i:CUBIEBOARD_512,SPL,SUNXI_EMAC,STATUSLED=244,STATUSLED1=245 - Active arm armv7 sunxi - sunxi Cubieboard_FEL sun4i:CUBIEBOARD,SPL_FEL,SUNXI_EMAC,STATUSLED=244,STATUSLED1=245 - Active arm armv7 sunxi - sunxi DNS_M82 sun4i:DNS_M82,SPL - Active arm armv7 sunxi - sunxi EOMA68_A10 sun4i:EOMA68_A10,SPL,MMC_SUNXI_SLOT=3,SUNXI_EMAC - -- 1.9.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.
