aboutsummaryrefslogtreecommitdiff
path: root/src/vendorcode/amd/pi/00670F00/check_for_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/vendorcode/amd/pi/00670F00/check_for_wrapper.h')
-rw-r--r--src/vendorcode/amd/pi/00670F00/check_for_wrapper.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/check_for_wrapper.h b/src/vendorcode/amd/pi/00670F00/check_for_wrapper.h
new file mode 100644
index 0000000000..86d3b3904b
--- /dev/null
+++ b/src/vendorcode/amd/pi/00670F00/check_for_wrapper.h
@@ -0,0 +1,21 @@
+/*
+ * 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.
+ */
+
+/* Do not use header guards on this file */
+
+/* This header should be included *BEFORE* any guards in the AGESA header */
+#if !defined AGESA_HEADERS_ARE_WRAPPED && !ENV_LIBAGESA
+#error AGESA headers should be included by agesawrapper.h or agesa_headers.h
+#endif