[coreboot] [PATCH] add SPD address mapping to i945

Sven Schnelle svens at stackframe.org
Fri Feb 18 12:09:18 CET 2011


The current code works only with dual channel if Channel 0 uses SPD address
0x50/0x51, while the second channel has to use 0x52/0x53.

For hardware that uses other addresses (like the ThinkPad X60) this means we
get only one module running instead of both.

This patch adds a second parameter to sdram_initialize, which is an array with
2 * DIMM_SOCKETS members. It should contain the SPD addresses for every single
DIMM socket. If NULL is given as the second parameter, the code uses the old
addressing scheme.
---
 src/mainboard/getac/p470/romstage.c       |    2 +-
 src/mainboard/ibase/mb899/romstage.c      |    2 +-
 src/mainboard/intel/d945gclf/romstage.c   |    2 +-
 src/mainboard/kontron/986lcd-m/romstage.c |    2 +-
 src/mainboard/lenovo/x60/romstage.c       |    3 +-
 src/mainboard/roda/rk886ex/romstage.c     |    2 +-
 src/northbridge/intel/i945/raminit.c      |   75 +++++++++++++++--------------
 src/northbridge/intel/i945/raminit.h      |    3 +-
 8 files changed, 47 insertions(+), 44 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-SPD-address-mapping-to-i945.patch
Type: text/x-patch
Size: 14007 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20110218/74d10824/attachment.patch>


More information about the coreboot mailing list