diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2016-11-23 06:47:15 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-04-05 15:02:43 +0200 |
commit | ba22e159bb21549ba92eb6e9d91eaa097a54985b (patch) | |
tree | b9195d45d7e01b7f4dbe4a646ff5c274d6e1d53c /src/northbridge | |
parent | 1779d534e5b6e01e2aabfb30aa369e0aebe28488 (diff) | |
download | coreboot-ba22e159bb21549ba92eb6e9d91eaa097a54985b.tar.xz |
AGESA: Disable CAR with empty stack
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.
Change-Id: I986bb7a88f53f7f7a0b05d4edcd5020f5dbeb4b7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/18626
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/northbridge')
-rw-r--r-- | src/northbridge/amd/agesa/state_machine.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/northbridge/amd/agesa/state_machine.h b/src/northbridge/amd/agesa/state_machine.h index 3c78edb013..e55c152b20 100644 --- a/src/northbridge/amd/agesa/state_machine.h +++ b/src/northbridge/amd/agesa/state_machine.h @@ -23,9 +23,10 @@ struct sysinfo int s3resume; }; -void board_BeforeAgesa(struct sysinfo *cb); +void agesa_main(struct sysinfo *cb); +void agesa_postcar(struct sysinfo *cb); +void board_BeforeAgesa(struct sysinfo *cb); void platform_once(struct sysinfo *cb); -void agesa_main(struct sysinfo *cb); #endif /* _STATE_MACHINE_H_ */ |