Skip to contentSkip to conversation

powerpc/8xxx: Fix quad-rank DIMMs support on corenet_ds board.

PATCH New Kumar Gala 1 participant 2 messages Aug 18, 2010 – Aug 19, 2010

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/8xxx: Fix quad-rank DIMMs support on corenet_ds board.

From: york <[email protected]>

The board specific parameters associated with quad rank dimms where missing. This fixes it so the board will function if quad rank dimms are placed in it.

---
 board/freescale/corenet_ds/ddr.c |   18 +++++++++++++++++-
 include/configs/corenet_ds.h     |    2 +-
 2 files changed, 18 insertions(+), 2 deletions(-)
board/freescale/corenet_ds/ddr.c +17 -1
index 82b2b4f..18adf2f 100644
@@ -66,11 +66,19 @@ typedef struct {
  *      seem reliable, but errors will appear when memory intensive
  *      program is run. */
 /* XXX: Single rank at 800 MHz is OK.  */
-const board_specific_parameters_t board_specific_parameters[][20] = {
+const board_specific_parameters_t board_specific_parameters[][30] = {
 	{
 	/* 	memory controller 0 			*/
 	/*	  lo|  hi|  num|  clk| cpo|wrdata|2T	*/
 	/*	 mhz| mhz|ranks|adjst|    | delay|	*/
+		{  0, 333,    4,    6,   7,    3,  0},
+		{334, 400,    4,    6,   9,    3,  0},
+		{401, 549,    4,    6,  11,    3,  0},
+		{550, 680,    4,    1,  10,    5,  0},
+		{681, 850,    4,    1,  12,    5,  0},
+		{851, 1050,   4,    1,  12,    5,  0},
+		{1051, 1250,  4,    1,  15,    4,  0},
+		{1251, 1350,  4,    1,  15,    4,  0},
 		{  0, 333,    2,    6,   7,    3,  0},
 		{334, 400,    2,    6,   9,    3,  0},
 		{401, 549,    2,    6,  11,    3,  0},
@@ -90,6 +98,14 @@ const board_specific_parameters_t board_specific_parameters[][20] = {
 	/*	memory controller 1			*/
 	/*	  lo|  hi|  num|  clk| cpo|wrdata|2T	*/
 	/*	 mhz| mhz|ranks|adjst|    | delay|	*/
+		{  0, 333,    4,    6,   7,    3,  0},
+		{334, 400,    4,    6,   9,    3,  0},
+		{401, 549,    4,    6,  11,    3,  0},
+		{550, 680,    4,    1,  10,    5,  0},
+		{681, 850,    4,    1,  12,    5,  0},
+		{851, 1050,   4,    1,  12,    5,  0},
+		{1051, 1250,  4,    1,  15,    4,  0},
+		{1251, 1350,  4,    1,  15,    4,  0},
 		{  0, 333,    2,     6,  7,    3,  0},
 		{334, 400,    2,     6,  9,    3,  0},
 		{401, 549,    2,     6, 11,    3,  0},
include/configs/corenet_ds.h +1 -1
index dd609da..3dcee85 100644
@@ -124,7 +124,7 @@
 #define CONFIG_SYS_SDRAM_BASE		CONFIG_SYS_DDR_SDRAM_BASE
 
 #define CONFIG_DIMM_SLOTS_PER_CTLR	1
-#define CONFIG_CHIP_SELECTS_PER_CTRL	(2 * CONFIG_DIMM_SLOTS_PER_CTLR)
+#define CONFIG_CHIP_SELECTS_PER_CTRL	(4 * CONFIG_DIMM_SLOTS_PER_CTLR)
 
 #define CONFIG_DDR_SPD
 #define CONFIG_FSL_DDR3
Signature · 1 line
1.6.0.6
author Applied
#1 lore raw

PATCH 1/1 powerpc/8xxx: Fix quad-rank DIMMs support on corenet_ds board.

Quoted 6 lines · Kumar Gala

From: york <[email protected]>

The board specific parameters associated with quad rank dimms where missing. This fixes it so the board will function if quad rank dimms are placed in it.

Quoted 6 lines

---
board/freescale/corenet_ds/ddr.c | 18 +++++++++++++++++-
include/configs/corenet_ds.h | 2 +-

2 files changed, 18 insertions(+), 2 deletions(-)

applied

- k