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>
This commit is contained in:
parent
a80a0eba11
commit
7ecb538209
|
@ -51,8 +51,11 @@ struct OEM_HOOK
|
||||||
extern const struct OEM_HOOK OemCustomize;
|
extern const struct OEM_HOOK OemCustomize;
|
||||||
|
|
||||||
/* For suspend-to-ram support. */
|
/* 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 OemInitResume(AMD_S3_PARAMS *dataBlock);
|
||||||
AGESA_STATUS OemS3LateRestore(AMD_S3_PARAMS *dataBlock);
|
AGESA_STATUS OemS3LateRestore(AMD_S3_PARAMS *dataBlock);
|
||||||
AGESA_STATUS OemS3Save(AMD_S3_PARAMS *dataBlock);
|
AGESA_STATUS OemS3Save(AMD_S3_PARAMS *dataBlock);
|
||||||
|
#endif
|
||||||
|
|
||||||
#endif /* _AGESAWRAPPER_H_ */
|
#endif /* _AGESAWRAPPER_H_ */
|
||||||
|
|
Loading…
Reference in New Issue