coreboot/src
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
..
arch bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
console console/Kconfig: Enable CBMEM console by default 2015-03-10 23:42:22 +01:00
cpu cpu/amd/model_10xxx: Add support for early cbmem 2015-03-19 08:28:43 +01:00
device AMD fam10: Drop PCI_BUS_SEGN_BITS 2015-03-09 19:33:08 +01:00
drivers bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
ec chromeec: Move SERIQ mode to LPC option 2015-03-18 07:08:59 +01:00
include bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
lib bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
mainboard cpu/amd/model_10xxx: Add support for early cbmem 2015-03-19 08:28:43 +01:00
northbridge cpu/amd/model_10xxx: Add support for early cbmem 2015-03-19 08:28:43 +01:00
soc bootstate: use structure pointers for scheduling callbacks 2015-03-18 16:41:43 +01:00
southbridge CBMEM: Add LATE_CBMEM_INIT guards 2015-03-19 06:17:07 +01:00
superio superio/fintek/f81216h: Add the correct unlock key values 2015-02-14 00:53:26 +01:00
vendorcode Add and consistently use wrapper macro for romstage static variables 2015-03-09 22:42:28 +01:00
Kconfig lib: Add Kconfig option to enable/disable auto fallback control 2015-03-17 04:22:23 +01:00