diff options
author | Marshall Dawson <marshalldawson3rd@gmail.com> | 2016-10-15 09:45:44 -0600 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-11-07 20:36:34 +0100 |
commit | f3093883f7336054f344072c5b086998dc5f72c2 (patch) | |
tree | 76adabcbba91916e9dab906e5f1b0aee345ba617 /src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c | |
parent | a04006513008ef72a863bc0eb04e6d4f729ca8ab (diff) |
vendorcode/amd: Modify 0067F00 for binaryPI
Make changes to the vendorcode files that allow them to work
with the binaryPI. This fixes various compile issues and
establishes a common calling convention between coreboot and
AGESA.
Original-Signed-off-by: Marc Jones <marcj303@gmail.com>
Original-Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com>
(cherry picked from commit f7ea2785d70bd6813b5b4d315b064802251d9557)
Change-Id: Ie36228476a9dbd7b83f95828ca9c7252cecd8ec8
Signed-off-by: Marc Jones <marcj303@gmail.com>
Reviewed-on: https://review.coreboot.org/17195
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c')
-rw-r--r-- | src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c index 5c2410d7d4..e49fb789eb 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c +++ b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.c @@ -155,7 +155,7 @@ typedef enum { UNSUPPORTED_PROGRAM = 0xFF, ///< Program ID for unsupported } PROGRAM_ID; -PROGRAM_ID +static PROGRAM_ID PspGetProgarmId ( VOID ) @@ -291,7 +291,7 @@ PspSoftWareFuseInfo ( return (FALSE); } -UINT32 Fletcher32 ( +static UINT32 Fletcher32 ( IN OUT UINT16 *data, IN UINTN words ) @@ -567,7 +567,7 @@ ReleasePspSmiRegMutex ( UINT8 -PspLibAccessWidth ( +static PspLibAccessWidth ( IN ACCESS_WIDTH AccessWidth ) { |