coreboot-kgpe-d16/src/mainboard/iei/kino-780am2-fam10
Timothy Pearson 86f4ca5b4b cpu/amd/model_10xxx: Add support for early cbmem
mainboards/amd/fam10: Initialize cbmem area after raminit

When GFXUMA is enabled, CBMEM is placed at TOM - UMASIZE
When GFXUMA is disabled, CBMEM is placed at TOM
This matches the behaviour present before conversion to early
CBMEM.

The CBMEM location code implicitly assumes TOM does not change
between romstage and ramstage.  TOM is set by romstage raminit,
and is never changed by romstage or ramstage afterward.  As
the CBMEM location is positioned at a specific offset from TOM
that is known to both romstage and ramstage early CBMEM is safe
on Fam10h systems.

TEST: Booted ASUS KFSN4-DRE and verified both cbmem timestamp
tables from romstage and cbmem log tables from ramstage.

Change-Id: Idf9e0245fe91185696ff664b06182c26b376c196
Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com>
Reviewed-on: http://review.coreboot.org/8489
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
2015-03-19 08:28:43 +01:00
..
acpi AMD boards: routing.asl: Uniformly start Package() with capital letter 2013-06-23 19:51:49 +02:00
acpi_tables.c amdfam10: Move to per-device ACPI 2014-11-22 16:57:07 +01:00
board_info.txt board_info.txt: Change iei/kino's link to web.archive.org. 2014-01-19 03:09:25 +01:00
cmos.layout mainboard/cmos: Kill off unused boot_* parameters 2015-02-16 09:24:14 +01:00
devicetree.cb
dsdt.asl amd/agesa,cimx: Rename ACPI OS detection methods 2014-06-14 20:47:57 +02:00
get_bus_conf.c
irq_tables.c PIRQ tables: Fix typos 2014-06-26 20:28:18 +02:00
Kconfig AMD fam10: Always have AMDMCT 2015-03-09 06:00:07 +01:00
mainboard.c
mb_sysconf.h AMD get_bus_conf(): Drop bus_type array 2014-07-17 21:48:12 +02:00
mptable.c x86: Change MMIO addr in readN(addr)/writeN(addr, val) to pointer 2015-02-15 08:50:22 +01:00
resourcemap.c mainboard: Trivial - drop trailing blank lines at EOF 2014-07-08 13:54:47 +02:00
romstage.c cpu/amd/model_10xxx: Add support for early cbmem 2015-03-19 08:28:43 +01:00