Felix Held has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/79851?usp=email )
Change subject: drivers,nb/amd/*/state_machine: add platform_AfterInitReset ......................................................................
drivers,nb/amd/*/state_machine: add platform_AfterInitReset
Add the platform_AfterInitReset call to allow the chipset code to fix up things right after the binaryPI AmdInitReset entry point did its initialization.
Signed-off-by: Felix Held felix-coreboot@felixheld.de Change-Id: If2b84aa6ca251313a710ada1dd9a93f69e18b471 --- M src/drivers/amd/agesa/state_machine.c M src/northbridge/amd/agesa/state_machine.h M src/northbridge/amd/pi/00730F01/state_machine.c 3 files changed, 6 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/51/79851/1
diff --git a/src/drivers/amd/agesa/state_machine.c b/src/drivers/amd/agesa/state_machine.c index 15cdeea..cde900e 100644 --- a/src/drivers/amd/agesa/state_machine.c +++ b/src/drivers/amd/agesa/state_machine.c @@ -101,6 +101,7 @@ platform_BeforeInitReset(cb, param); board_BeforeInitReset(cb, param); status = module_dispatch(func, StdHeader); + platform_AfterInitReset(cb, param); break; }
diff --git a/src/northbridge/amd/agesa/state_machine.h b/src/northbridge/amd/agesa/state_machine.h index 6c77d21..9d724c6 100644 --- a/src/northbridge/amd/agesa/state_machine.h +++ b/src/northbridge/amd/agesa/state_machine.h @@ -55,6 +55,7 @@
void platform_BeforeInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset); void board_BeforeInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset); +void platform_AfterInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset);
void platform_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *Early); void board_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *Early); diff --git a/src/northbridge/amd/pi/00730F01/state_machine.c b/src/northbridge/amd/pi/00730F01/state_machine.c index a05e9e0..5f27fbb 100644 --- a/src/northbridge/amd/pi/00730F01/state_machine.c +++ b/src/northbridge/amd/pi/00730F01/state_machine.c @@ -15,6 +15,10 @@ { }
+void platform_AfterInitReset(struct sysinfo *cb, AMD_RESET_PARAMS *Reset) +{ +} + void platform_BeforeInitEarly(struct sysinfo *cb, AMD_EARLY_PARAMS *Early) { Early->GnbConfig.PsppPolicy = PsppDisabled;