i.MX28: Reformat the DRAM memory configuration data
PATCH 1/2 i.MX28: Reformat the DRAM memory configuration data
Reformat the data so it's easier to navigate through them.
Signed-off-by Marek Vasut <[email protected]>
Cc Wolfgang Denk <[email protected]>
Cc Detlev Zundel <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
--- arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c | 86 +++++++++++++++------------ 1 files changed, 48 insertions(+), 38 deletions(-)
arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c +48 -38
@@ -32,44 +32,54 @@#include "mx28_init.h" uint32_t dram_vals[] = { -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000100 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00010101 ,0x01010101 ,0x000f0f01 ,0x0f02020a , -0x00000000 ,0x00010101 ,0x00000100 ,0x00000100 ,0x00000000 , -0x00000002 ,0x01010000 ,0x05060302 ,0x06005003 ,0x0a0000c8 , -0x02009c40 ,0x0000030c ,0x0036a609 ,0x031a0612 ,0x02030202 , -0x00c8001c ,0x00000000 ,0x00000000 ,0x00012100 ,0xffff0303 , -0x00012100 ,0xffff0303 ,0x00012100 ,0xffff0303 ,0x00012100 , -0xffff0303 ,0x00000003 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000612 ,0x01000F02 ,0x06120612 ,0x00000200 , -0x00020007 ,0xf5014b27 ,0xf5014b27 ,0xf5014b27 ,0xf5014b27 , -0x07000300 ,0x07000300 ,0x07000300 ,0x07000300 ,0x00000006 , -0x00000000 ,0x00000000 ,0x01000000 ,0x01020408 ,0x08040201 , -0x000f1133 ,0x00000000 ,0x00001f04 ,0x00001f04 ,0x00001f04 , -0x00001f04 ,0x00001f04 ,0x00001f04 ,0x00001f04 ,0x00001f04 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x00000000 ,0x00010000 ,0x00020304 ,0x00000004 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , -0x00000000 ,0x01010000 ,0x01000000 ,0x03030000 ,0x00010303 , -0x01020202 ,0x00000000 ,0x02040303 ,0x21002103 ,0x00061200 , -0x06120612 ,0x04320432 ,0x04320432 ,0x00040004 ,0x00040004 , -0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00010001 +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000100 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00010101 ,0x01010101 , +0x000f0f01 ,0x0f02020a ,0x00000000 ,0x00010101 , +0x00000100 ,0x00000100 ,0x00000000 ,0x00000002 , +0x01010000 ,0x05060302 ,0x06005003 ,0x0a0000c8 , +0x02009c40 ,0x0000030c ,0x0036a609 ,0x031a0612 , +0x02030202 ,0x00c8001c ,0x00000000 ,0x00000000 , +0x00012100 ,0xffff0303 ,0x00012100 ,0xffff0303 , +0x00012100 ,0xffff0303 ,0x00012100 ,0xffff0303 , +0x00000003 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000612 ,0x01000F02 , +0x06120612 ,0x00000200 ,0x00020007 ,0xf5014b27 , +0xf5014b27 ,0xf5014b27 ,0xf5014b27 ,0x07000300 , +0x07000300 ,0x07000300 ,0x07000300 ,0x00000006 , +0x00000000 ,0x00000000 ,0x01000000 ,0x01020408 , +0x08040201 ,0x000f1133 ,0x00000000 ,0x00001f04 , +0x00001f04 ,0x00001f04 ,0x00001f04 ,0x00001f04 , +0x00001f04 ,0x00001f04 ,0x00001f04 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00010000 ,0x00020304 , +0x00000004 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00000000 ,0x00000000 ,0x01010000 , +0x01000000 ,0x03030000 ,0x00010303 ,0x01020202 , +0x00000000 ,0x02040303 ,0x21002103 ,0x00061200 , +0x06120612 ,0x04320432 ,0x04320432 ,0x00040004 , +0x00040004 ,0x00000000 ,0x00000000 ,0x00000000 , +0x00000000 ,0x00010001 };void init_m28_200mhz_ddr2 (void )
Signature · 1 line
1.7.8.3
PATCH 2/2 i.MX28: Enable additional DRAM address bits
Signed-off-by Marek Vasut <[email protected]>
Cc Wolfgang Denk <[email protected]>
Cc Detlev Zundel <[email protected]>
Cc Stefano Babic <[email protected]>
Cc Fabio Estevam <[email protected]>
--- arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/cpu/arm926ejs/mx28/spl_mem_init.c +1 -1
@@ -39,7 +39,7 @@ uint32_t dram_vals[] = {0x00000000 ,0x00000100 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00000000 ,0x00010101 ,0x01010101 , -0x000f0f01 ,0x0f02020a ,0x00000000 ,0x00010101 , +0x000f0f01 ,0x0f02010a ,0x00000000 ,0x00010101 ,0x00000100 ,0x00000100 ,0x00000000 ,0x00000002 ,0x01010000 ,0x05060302 ,0x06005003 ,0x0a0000c8 , 0x02009c40, 0x0000030c, 0x0036a609, 0x031a0612,
Signature · 1 line
1.7.8.3