Marshall Dawson has uploaded a new change for review. ( https://review.coreboot.org/19574 )
Change subject: amd/pi: Relocate amd_initcpuio ......................................................................
amd/pi: Relocate amd_initcpuio
Move amd_initcpuio() to the end of amdinitpost(). A subsequent patch will use this to communicate to the PSP.
Change-Id: I3ec97d9b4ce4f58c3931068213c5dc7109d39397 Signed-off-by: Marshall Dawson marshalldawson3rd@gmail.com --- M src/northbridge/amd/pi/agesawrapper.c 1 file changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/74/19574/1
diff --git a/src/northbridge/amd/pi/agesawrapper.c b/src/northbridge/amd/pi/agesawrapper.c index 0afd0ca..f7515c0 100644 --- a/src/northbridge/amd/pi/agesawrapper.c +++ b/src/northbridge/amd/pi/agesawrapper.c @@ -172,6 +172,9 @@ /* Initialize heap space */ EmptyHeap();
+ /* Enable MMIO on AMD CPU Address Map Controller */ + amd_initcpuio(); + return status; }
@@ -245,9 +248,6 @@ AGESA_STATUS status; AMD_INTERFACE_PARAMS AmdParamStruct; AMD_MID_PARAMS *MidParam; - - /* Enable MMIO on AMD CPU Address Map Controller */ - amd_initcpuio ();
LibAmdMemFill (&AmdParamStruct, 0,