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>
diff --git a/src/northbridge/amd/agesa/state_machine.h b/src/northbridge/amd/agesa/state_machine.h
index 3c78edb..e55c152 100644
--- a/src/northbridge/amd/agesa/state_machine.h
+++ b/src/northbridge/amd/agesa/state_machine.h
@@ -23,9 +23,10 @@
 	int s3resume;
 };
 
-void board_BeforeAgesa(struct sysinfo *cb);
-
-void platform_once(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);
 
 #endif /* _STATE_MACHINE_H_ */