coreboot-kgpe-d16/src/include/cpu/x86
Scott Duplichan f3cce2f3c4 MTRR related improvements for AMD family 10h and family 0Fh systems
-- When building for UMA, reduce the limit for DRAM below 4GB
   from E0000000 to C0000000. This is needed to accomodate the
   UMA frame buffer.
-- Correct problem where msr C0010010 bits 21 and 22 (MtrrTom2En
   and Tom2ForceMemTypeWB) are not set consistently across cores.
-- Enable TOM2 only if DRAM is present above 4GB.
-- Use AMD Tom2ForceMemTypeWB feature to avoid the need for 
   variable MTRR ranges above 4GB.
-- Add above4gb flag argument to function x86_setup_var_mtrrs. Clearing
   this flag causes x86_setup_var_mtrrs() to omit MTRR ranges for
   DRAM above 4GB. AMD systems use this option to conserve MTRRs.
-- Northbridge.c change to deduct UMA memory from DRAM size reported
   by ram_resource. This corrects a problem where mtrr.c generates an
   unexpected variable MTRR range.
-- Correct problem causing build failure when CONFIG_GFXUMA=1 and
   CONFIG_VAR_MTRR_HOLE=0.
-- Reserve the UMA DRAM range for AMD K8 as is already done for AMD
   family 10h.
Tested with mahogany on ECS A780G-GM with 2GB and 4GB.
Tested with mahogany_fam10 on ECS A780G-GM with 2GB and 4GB.
 
Signed-off-by: Scott Duplichan <scott@notabs.org>
Acked-by: Peter Stuge <peter@stuge.se>

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6067 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-11-13 19:07:59 +00:00
..
bist.h We call this cache as ram everywhere, so let's call it the same in Kconfig 2010-08-30 17:53:13 +00:00
cache.h AMD Fam10 code breaks with gcc 4.5.0. 2010-09-17 21:38:40 +00:00
car.h Factor out common CAR asm snippets. 2010-10-01 21:46:04 +00:00
lapic.h drop unneeded __ROMCC__ checks when the check for __PRE_RAM__ is more 2010-03-28 21:26:54 +00:00
lapic_def.h - Renamed cpu header files 2004-10-14 20:13:01 +00:00
msr.h AMD Fam10 code breaks with gcc 4.5.0. 2010-09-17 21:38:40 +00:00
mtrr.h MTRR related improvements for AMD family 10h and family 0Fh systems 2010-11-13 19:07:59 +00:00
multiboot.h Generate multiboot tables from coreboot tables. 2010-09-13 14:47:22 +00:00
name.h Factor out fill_processor_name() and strcpy() functions. 2010-09-29 09:54:16 +00:00
pae.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
post_code.h drop "arch/asm.h" and "arch/intel.h" and create "cpu/x86/post_code.h" 2010-04-25 20:42:02 +00:00
smm.h clean up some prototypes 2010-05-14 19:11:44 +00:00
stack.h Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
tsc.h drop unneeded __ROMCC__ checks when the check for __PRE_RAM__ is more 2010-03-28 21:26:54 +00:00