Calling disable_cache_as_ram() with valuables in stack is not a stable solution, as per documentation AMD_DISABLE_STACK should destroy stack in cache. While we still preserve cache contents (there is wbinvd deep inside AMD_DISABLE_STACK macro), we now actually do a stack switch and much more closely meet the specification of CAR teardown sequence in AGESA specifications. We now somewhat incorrectly include files from agesa/ tree, but the whole agesawrapper.c file removal will address the issue of overall directory layout. Change-Id: I2bac098099c1caffea181356c63924f4b5a93b54 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/18525 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Aaron Durbin <adurbin@chromium.org> |
||
|---|---|---|
| .. | ||
| agesa | ||
| car | ||
| dualcore | ||
| family_10h-family_15h | ||
| geode_gx2 | ||
| geode_lx | ||
| microcode | ||
| model_fxx | ||
| mtrr | ||
| pi | ||
| quadcore | ||
| smm | ||
| socket_754 | ||
| socket_939 | ||
| socket_940 | ||
| socket_AM2 | ||
| socket_AM2r2 | ||
| socket_AM3 | ||
| socket_ASB2 | ||
| socket_C32 | ||
| socket_F | ||
| socket_F_1207 | ||
| socket_FM2 | ||
| socket_G34 | ||
| socket_S1G1 | ||
| Kconfig | ||
| Makefile.inc | ||