coreboot/src/northbridge
Jens Rottmann f6fa12d89e 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>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3689 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2008-10-22 22:26:09 +00:00
..
amd Changed RAM speed calculation to fix RAM modules getting rejected only 2008-10-22 22:26:09 +00:00
ibm Use the canonical name of the vendors/devices and the 2006-11-05 18:50:49 +00:00
intel Drop tons of duplicated debug.c files, move common file to 2008-10-12 22:34:08 +00:00
motorola/mpc107 Rename almost all occurences of LinuxBIOS to coreboot. 2008-01-18 15:08:58 +00:00
via Indent-based + manual cleanups for CN700 (trivial). As this will be ported 2008-10-09 17:08:32 +00:00