coreboot/src/cpu/amd
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
..
car For AMD family 10h processors, msr c0010058 is always programmed 2010-10-19 21:08:11 +00:00
dualcore Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
microcode Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
model_10xxx Fix AMD family 10h engineering sample is reported as 'thermal test kit'. 2010-10-31 14:17:51 +00:00
model_fxx Remove some duplicate #include files (trivial). 2010-10-07 23:42:17 +00:00
model_gx1 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
model_gx2 Clean up some more comments and white space in model_gx2/cpureginit.c. 2010-11-03 13:21:41 +00:00
model_lx Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
mtrr MTRR related improvements for AMD family 10h and family 0Fh systems 2010-11-13 19:07:59 +00:00
quadcore Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
sc520 We define IO_APIC_ADDR in <arch/ioapic.h>, let's use it. 2010-10-12 17:34:08 +00:00
socket_754 Modernize socket_754 Kconfig with CAR and address bits information. 2010-10-19 13:03:34 +00:00
socket_939 Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
socket_940 Remove duplicate line from pci_ids.h. 2010-10-07 23:02:06 +00:00
socket_AM2 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_AM2r2 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_AM3 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_ASB2 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_F Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_F_1207 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
socket_S1G1 Rename build system variables to be more intuitive, and 2010-09-30 16:55:02 +00:00
Kconfig AMD Socket ASB2 and AM3 support. 2010-04-23 17:35:37 +00:00
Makefile.inc AMD Socket ASB2 and AM3 support. 2010-04-23 17:35:37 +00:00