the following patch was just integrated into master: commit b05a0f7d64814e4401a4b2a5b327bebd8aec5141 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Thu Jul 12 01:18:31 2012 +0300
AMD MTRR: fix rounding and renames
Use state.tomk to refer TOP_MEM, largest RAM address below 4GB. Use state.tom2k to refer TOP_MEM2, largest RAM address above 4GB.
When setting either TOP_MEM or TOP_MEM2, any RAM resource found must fit below the set value. Thus, round register value upwards, not downwards.
Change-Id: I436c1b3234c911680ce8b095052f8d71f40113e2 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com
Reviewed-By: Patrick Georgi patrick@georgi-clan.de at Mon Jul 16 18:55:34 2012, giving +2 See http://review.coreboot.org/1216 for details.
-gerrit