soc/amd/common: Allow AGESA file split for pre- and post-memory
commit922619512def4ef62c13c97b78321c6e6e610153
authorJustin TerAvest <teravest@chromium.org>
Fri, 22 Dec 2017 22:15:02 +0000 (22 15:15 -0700)
committerMartin Roth <martinroth@google.com>
Fri, 5 Jan 2018 01:16:31 +0000 (5 01:16 +0000)
tree316f955f91a723d5c5db697bd14ae4407e76e5f8
parenta71c66a52e9ec53fed4c795c7f7409c7074363d6
soc/amd/common: Allow AGESA file split for pre- and post-memory

By splitting the binary files for platform initialization, the
post-memory code can be modified to stop executing in place (--xip).

This change creates two separate sections in CBFS for AGESA and loads
the appropriate file at the correct stage.

BUG=b:68141063
TEST=Booted kahlee with split agesa enabled.

Change-Id: I2fa423df164037bc3738476fd2a34522df279e34
Signed-off-by: Justin TerAvest <teravest@chromium.org>
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/22974
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
src/soc/amd/common/block/pi/agesawrapper.c
src/vendorcode/amd/pi/00670F00/Makefile.inc
src/vendorcode/amd/pi/Kconfig