diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-02-06 22:40:14 +0100 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-09-20 01:24:24 +0000 |
commit | 0ab4904481341dfa83879e69651604f5f0ddf784 (patch) | |
tree | 7fff6aa71f794ad826101250168106e6471d13f6 /src/lib/tlcl.c | |
parent | 588a72210d5e7cbefc46eef4b3b1d1a48bfeff8e (diff) |
nb/i945/raminit: Use common ddr2 decode functions
This simplifies computing dram timings a lot.
This removes computation of rank size based on columns, rows,
banks,... and uses the information in SPD byte 31. The result of this
is that dimms with multiple asymmetric ranks are not supported
anymore. These however are very rare and most likely never tested on
this platform.
This also uses i2c block read instead of byte read to speed up the
raminit. The result is less time is being spend reading SPDs.
It still keeps smbus read byte as a backup if i2c block read were to
fail.
Change-Id: I97c93939d11807752797785dd88c70b43a236ee3
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/18305
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/lib/tlcl.c')
0 files changed, 0 insertions, 0 deletions