Cubietruck has four 4Gb x8 DDR3 chips, not two 8Gb x16. This doesn't
change anything for users, but reports correct values for timing
parameters depending on density.

Signed-off-by: Jens Kuske <jensku...@gmail.com>
---
 board/sunxi/dram_cubietruck.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/sunxi/dram_cubietruck.c b/board/sunxi/dram_cubietruck.c
index 1e7c94a..fbcd687 100644
--- a/board/sunxi/dram_cubietruck.c
+++ b/board/sunxi/dram_cubietruck.c
@@ -7,8 +7,8 @@ static struct dram_para dram_para = {
        .clock = 432,
        .type = 3,
        .rank_num = 1,
-       .density = 8192,
-       .io_width = 16,
+       .density = 4096,
+       .io_width = 8,
        .bus_width = 32,
        .cas = 9,
        .zq = 0x7f,
-- 
1.9.1

-- 
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 linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to