Ver Fonte

[ARM] 3889/1: [Jornada7xx] Addition of correct SDRAM params into cpu-sa1110.c

This adds correct sdram params for K4S281632B-1H and sets the jornada to use them by default.

Signed-off-by: Kristoffer Ericson
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Kristoffer Ericson há 18 anos atrás
pai
commit
48e3becbee
1 ficheiros alterados com 10 adições e 0 exclusões
  1. 10 0
      arch/arm/mach-sa1100/cpu-sa1110.c

+ 10 - 0
arch/arm/mach-sa1100/cpu-sa1110.c

@@ -82,6 +82,14 @@ static struct sdram_params sdram_tbl[] __initdata = {
 		.twr		= 9,
 		.twr		= 9,
 		.refresh	= 64000,
 		.refresh	= 64000,
 		.cas_latency	= 3,
 		.cas_latency	= 3,
+	}, {    /* Samsung K4S281632B-1H */
+	        .name           = "K4S281632b-1H",
+		.rows           = 12,
+		.tck            = 10,
+		.trp            = 20,
+		.twr            = 10,
+		.refresh        = 64000,
+		.cas_latency    = 3,
 	}, {	/* Samsung KM416S4030CT */
 	}, {	/* Samsung KM416S4030CT */
 		.name		= "KM416S4030CT",
 		.name		= "KM416S4030CT",
 		.rows		= 13,
 		.rows		= 13,
@@ -366,6 +374,8 @@ static int __init sa1110_clk_init(void)
 
 
 		if (machine_is_h3100())
 		if (machine_is_h3100())
 			name = "KM416S4030CT";
 			name = "KM416S4030CT";
+		if (machine_is_jornada720())
+		        name = "K4S281632B-1H";
 	}
 	}
 
 
 	sdram = sa1110_find_sdram(name);
 	sdram = sa1110_find_sdram(name);