diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-05-27 20:41:05 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2017-07-13 13:07:31 +0000 |
commit | 7ecb538209aa93e3150159d68ba87a0b1b815f27 (patch) | |
tree | 7eb79dd5b868eb952d888d58b58f04e5755b3325 | |
parent | a80a0eba115b7d2ececc6e3e115e06f638e28666 (diff) | |
download | coreboot-7ecb538209aa93e3150159d68ba87a0b1b815f27.tar.xz |
AGESA binaryPI: Unify agesawrapper header
AMD_S3_PARAMS is no longer defined with all binaryPI.
Guard these as a build fix to share the header nevertheless.
Change-Id: I725ed43991dc1c3e30d236bde4282176819f4cf4
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/19984
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
-rw-r--r-- | src/northbridge/amd/agesa/agesawrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/amd/agesa/agesawrapper.h b/src/northbridge/amd/agesa/agesawrapper.h index 0e06917118..b1509a447c 100644 --- a/src/northbridge/amd/agesa/agesawrapper.h +++ b/src/northbridge/amd/agesa/agesawrapper.h @@ -51,8 +51,11 @@ struct OEM_HOOK extern const struct OEM_HOOK OemCustomize; /* For suspend-to-ram support. */ +#if !IS_ENABLED(CONFIG_CPU_AMD_PI) +/* TODO: With binaryPI we need different interface. */ AGESA_STATUS OemInitResume(AMD_S3_PARAMS *dataBlock); AGESA_STATUS OemS3LateRestore(AMD_S3_PARAMS *dataBlock); AGESA_STATUS OemS3Save(AMD_S3_PARAMS *dataBlock); +#endif #endif /* _AGESAWRAPPER_H_ */ |