Kyösti Mälkki (kyosti.malkki@gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3832
-gerrit
commit cab76b5048dd2bda53d257afac85d8039a1eeb9d Author: Kyösti Mälkki kyosti.malkki@gmail.com Date: Mon Jul 29 10:16:14 2013 +0300
AMD AGESA: Place CAR_GLOBAL in BSP stack
Use BSP CPU's stack space to store CAR GLOBALS for the duration of romstage before CAR migration.
NOTE: Such globals can only be accessed from BSP CPU due the way AMD platform has memory architecture set up.
Change-Id: Ica4700433268f484ce69a24d934732f9cfd4ba41 Signed-off-by: Kyösti Mälkki kyosti.malkki@gmail.com --- src/cpu/amd/agesa/Kconfig | 11 +++++++++++ 1 file changed, 11 insertions(+)
diff --git a/src/cpu/amd/agesa/Kconfig b/src/cpu/amd/agesa/Kconfig index c660470..a20280f 100644 --- a/src/cpu/amd/agesa/Kconfig +++ b/src/cpu/amd/agesa/Kconfig @@ -50,6 +50,17 @@ config UDELAY_LAPIC_FIXED_FSB int default 200
+# DCACHE_RAM_BASE and DCACHE_RAM_SIZE here need to match with the +# implementation of BSP_STACK under AGESA vendorcode. + +config DCACHE_RAM_BASE + hex + default 0x30000 + +config DCACHE_RAM_SIZE + hex + default 0x10000 + source src/cpu/amd/agesa/family10/Kconfig source src/cpu/amd/agesa/family12/Kconfig source src/cpu/amd/agesa/family14/Kconfig