the following patch was just integrated into master: commit b0ab0b5948d3452f12b071f6105add111a5c9d03 Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Fri Jul 27 13:12:03 2012 +0300
Intel Sandybridge and UMA: use mmio_resource()
With SandyBridge northbridge code, uma_memory_size was reset to zero before variable MTRRs were set. This means MTRR setup routine did not previously create a un-cacheable hole for uma.
Keep the behaviour that way, mmio_resource() has a prerequisuite that the new region does not overlap with any cacheable ram_resource().
The result is not optimal setup in the number of used MTRRs, but continue with this approach until MTRR algorithm is improved.
Change-Id: I63c8df19ad6b6350d46a3eca3055abf684b8b114 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com
Build-Tested: build bot (Jenkins) at Sun Jul 29 08:02:08 2012, giving +1 Reviewed-By: Anton Kochkov anton.kochkov@gmail.com at Wed Aug 1 10:58:44 2012, giving +2 See http://review.coreboot.org/1373 for details.
-gerrit