Replace ramtest pattern to assist in DIMM configuration
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sat, 17 Mar 2012 07:09:14 +0000 (08:09 +0100)
committerRudolf Marek <r.marek@assembler.cz>
Sun, 25 Mar 2012 18:17:51 +0000 (20:17 +0200)
commite77b9a0ab79d930e76c8713bd6fb05c2e7dfbd9e
treeda41ea798336b179fdac4464b989ef7e577b00e3
parent8a85bccd8404c705891ae9f3851952ff8bfa1f76
Replace ramtest pattern to assist in DIMM configuration

This is developer's testtool. Output from a "rotate ones" -style
pattern helps figure out how DIMM addresses are encoded or routed
on a certain mainboard.

Scattered test should cover every data and address lines on the memory
bus, but is probably limited to the first bank of first DIMM.

Change-Id: I533a7a873bcc434f99e7faed9dc9337d9ab64196
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
[pg: rebase]
Reviewed-on: http://review.coreboot.org/294
Tested-by: build bot (Jenkins)
Reviewed-by: Rudolf Marek <r.marek@assembler.cz>
src/lib/ramtest.c