summaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi
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/vendorcode/amd/pi
parent112ae4860f2b0f2544dc3698a99dd70fce920ac1 (diff)
downloadcoreboot-d6ccf4eaa9b3fb95a86bb800460898afbf39d1cb.tar.xz
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/vendorcode/amd/pi')
-rw-r--r--src/vendorcode/amd/pi/00670F00/agesa_headers.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/agesa_headers.h b/src/vendorcode/amd/pi/00670F00/agesa_headers.h
new file mode 100644
index 0000000000..d93b73f163
--- /dev/null
+++ b/src/vendorcode/amd/pi/00670F00/agesa_headers.h
@@ -0,0 +1,33 @@
+/*
+ * This file is part of the coreboot project.
+ *
+ * Copyright (C) 2017 Google, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __AGESA_HEADERS_H__
+#define __AGESA_HEADERS_H__
+
+#pragma pack(push)
+#include <Porting.h>
+#include "AGESA.h"
+#include "AMD.h"
+
+#include "Proc/Fch/Common/FchCommonCfg.h"
+#include "Proc/Fch/Fch.h"
+#include "Include/Ids.h"
+#include "Include/PlatformMemoryConfiguration.h"
+#include "Proc/Fch/FchPlatform.h"
+#include "Proc/CPU/heapManager.h"
+#include "Proc/Psp/PspBaseLib/PspBaseLib.h"
+#pragma pack(pop)
+
+#endif