AGESA: Move EmptyHeap() call
commit4a6e00fd365bee06e2860f813c0fc05c5f4c22b9
authorKyösti Mälkki <kyosti.malkki@gmail.com>
Sat, 25 Mar 2017 20:45:18 +0000 (25 22:45 +0200)
committerKyösti Mälkki <kyosti.malkki@gmail.com>
Mon, 3 Apr 2017 04:18:36 +0000 (3 06:18 +0200)
tree38b75eb4499b8f1bb04450cb7a946f4dc6401369
parent1498efe2d04f13f42bd7c080b7b1c3027a34646b
AGESA: Move EmptyHeap() call

Specification says to do CAR teardown as part of AmdInitPost().
Move initializing the final AGESA heap storage to AmdInitEnv()
so the buffer is not invalidated without writeback.

Change-Id: I3a5d497d0e25ec291f722e9f089bc8928238c3f9
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19024
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
src/northbridge/amd/agesa/agesawrapper.c