aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-09-26 15:19:59 -0600
committerMartin Roth <martinroth@google.com>2017-11-14 20:59:14 +0000
commitd6ccf4eaa9b3fb95a86bb800460898afbf39d1cb (patch)
treeac724b7a311444ed45f23a076143c6565d2a714c /src/soc
parent112ae4860f2b0f2544dc3698a99dd70fce920ac1 (diff)
AMD Stoney Ridge: Add agesa_headers.h
- Create header files for the stoneyridge PI that pulls in AGESA pi headers and encloses them in #pragma pack push/pop to keep the '#pragma pack(1)' in Porting.h from leaking. - Add that header to agesawrapper.h, replacing AGESA.h and Porting.h Following patches will update the coreboot code to use only agesawrapper.h to pull in the AGESA headers. BUG=b:66818758 TEST=Build tested Change-Id: Ib7d76811c1270ec7ef71266d84f3960919b792d4 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/21713 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/common/agesawrapper.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/soc/amd/common/agesawrapper.h b/src/soc/amd/common/agesawrapper.h
index fff9ea2842..6ddc658981 100644
--- a/src/soc/amd/common/agesawrapper.h
+++ b/src/soc/amd/common/agesawrapper.h
@@ -17,8 +17,7 @@
#define __AGESAWRAPPER_H__
#include <stdint.h>
-#include <Porting.h>
-#include <AGESA.h>
+#include <agesa_headers.h>
enum {
PICK_DMI, /* DMI Interface */