aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/00670F00/agesa_headers.h
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-11-16 22:46:56 -0700
committerMartin Roth <martinroth@google.com>2017-11-22 18:28:56 +0000
commitae01634e47326f83f74e5d3d729130343eb78f32 (patch)
treebc56607b318ad226ebb50887bf1f19f909c6be94 /src/vendorcode/amd/pi/00670F00/agesa_headers.h
parent4d13307030eb26d92b1516e9d63cbf3397a7e047 (diff)
vendorcode/amd/pi/00670F00: Halt build if headers aren't wrapped
Make sure that AGESA headers don't get pulled directly into coreboot files again. BUG=b:66818758 TEST=Build gardenia; Build & boot kahlee; Include AGESA.h into files verify that the build fails. Change-Id: I8d6d94872ebf76a9df2850ed0452cf6b1a446ffd Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/22500 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/vendorcode/amd/pi/00670F00/agesa_headers.h')
-rw-r--r--src/vendorcode/amd/pi/00670F00/agesa_headers.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/agesa_headers.h b/src/vendorcode/amd/pi/00670F00/agesa_headers.h
index 721da3f89c..73ca1e081b 100644
--- a/src/vendorcode/amd/pi/00670F00/agesa_headers.h
+++ b/src/vendorcode/amd/pi/00670F00/agesa_headers.h
@@ -16,6 +16,7 @@
#ifndef __AGESA_HEADERS_H__
#define __AGESA_HEADERS_H__
+#define AGESA_HEADERS_ARE_WRAPPED
#pragma pack(push)
#include "Porting.h"
#include "AGESA.h"
@@ -29,5 +30,6 @@
#include "Proc/CPU/heapManager.h"
#include "Proc/Psp/PspBaseLib/PspBaseLib.h"
#pragma pack(pop)
+#undef AGESA_HEADERS_ARE_WRAPPED
#endif