/[Development]
ViewVC logotype

Revision 3689


Jump to revision: Previous Next
Author: mjones
Date: Wed Oct 22 22:26:09 2008 UTC (4 years, 7 months ago)
Changed paths: 1
Log Message:
Changed RAM speed calculation to fix RAM modules getting rejected only
due to integer rounding errors. Previously, the formula was:
	speed = 2 * (10000/spd_value)
For spd_value=60 this means speed = 2 * 166 = 332, which is less than
333 and coreboot died saying RAM was incompatible. The new formula is:
	speed = 20000 / spd_value
For spd_value=60, speed=333, which is fine.

Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Acked-by: Marc Jones <marc.jones@amd.com>


Changed paths

Path Details
Directorytrunk/coreboot-v2/src/northbridge/amd/lx/raminit.c modified , text changed

Stefan Reinauer">Stefan Reinauer
ViewVC Help
Powered by ViewVC 1.1.15