Richard Spiegel has uploaded this change for review. ( https://review.coreboot.org/22987
Change subject: soc/amd/common/block/pi/agesawrapper.c: Add new function sb_program_gpio() ......................................................................
soc/amd/common/block/pi/agesawrapper.c: Add new function sb_program_gpio()
Add new function sb_program_gpio after AGESA wrapper for RESET and INIT_LATE.
BUG=b:64140392 TEST=Build kahlee.
Change-Id: I38da26cd1e20617958a6b17d55b7d7c08b8a0230 Signed-off-by: Richard Spiegel richard.spiegel@silverbackltd.com --- M src/soc/amd/common/block/pi/agesawrapper.c 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/87/22987/1
diff --git a/src/soc/amd/common/block/pi/agesawrapper.c b/src/soc/amd/common/block/pi/agesawrapper.c index 7fb5485..53f1c2d 100644 --- a/src/soc/amd/common/block/pi/agesawrapper.c +++ b/src/soc/amd/common/block/pi/agesawrapper.c @@ -22,6 +22,7 @@ #include <amdblocks/BiosCallOuts.h> #include <string.h> #include <timestamp.h> +#include <soc/southbridge.h>
void __attribute__((weak)) SetMemParams(AMD_POST_PARAMS *PostParams) {} void __attribute__((weak)) OemPostParams(AMD_POST_PARAMS *PostParams) {} @@ -90,6 +91,7 @@ timestamp_add_now(TS_AGESA_INIT_RESET_START); status = AmdInitReset(&AmdResetParams); timestamp_add_now(TS_AGESA_INIT_RESET_DONE); + sb_program_gpio(STAGE_RESET);
if (status != AGESA_SUCCESS) agesawrapper_readeventlog(AmdParamStruct.StdHeader.HeapStatus); @@ -336,6 +338,7 @@ timestamp_add_now(TS_AGESA_INIT_LATE_START); Status = AmdInitLate(AmdLateParams); timestamp_add_now(TS_AGESA_INIT_LATE_DONE); + sb_program_gpio(STAGE_INIT_LATE);
if (Status != AGESA_SUCCESS) { agesawrapper_readeventlog(AmdLateParams->StdHeader.HeapStatus);