diff options
author | Martin Roth <martinroth@google.com> | 2017-11-16 22:46:56 -0700 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-11-22 18:28:56 +0000 |
commit | ae01634e47326f83f74e5d3d729130343eb78f32 (patch) | |
tree | bc56607b318ad226ebb50887bf1f19f909c6be94 /src/vendorcode/amd/pi/00670F00/Proc | |
parent | 4d13307030eb26d92b1516e9d63cbf3397a7e047 (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/Proc')
15 files changed, 36 insertions, 0 deletions
diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/Family/cpuFamRegisters.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/Family/cpuFamRegisters.h index 4883434002..4378876476 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/Family/cpuFamRegisters.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/Family/cpuFamRegisters.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _CPU_FAM_REGISTERS_H_ #define _CPU_FAM_REGISTERS_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/Table.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/Table.h index fe3b3c07e2..75169cb62e 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/Table.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/Table.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _CPU_TABLE_H_ #define _CPU_TABLE_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuFamilyTranslation.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuFamilyTranslation.h index 743b5f678d..f4ffd49efe 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuFamilyTranslation.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuFamilyTranslation.h @@ -40,6 +40,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _CPU_FAMILY_TRANSLATION_H_ #define _CPU_FAMILY_TRANSLATION_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuRegisters.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuRegisters.h index 3ef723cd4f..4d10b42a6c 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuRegisters.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuRegisters.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _CPU_REGISTERS_H_ #define _CPU_REGISTERS_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuServices.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuServices.h index 66141818cd..d2fe6f487b 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuServices.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/cpuServices.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _CPU_SERVICES_H_ #define _CPU_SERVICES_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/CPU/heapManager.h b/src/vendorcode/amd/pi/00670F00/Proc/CPU/heapManager.h index c5f9529204..c367bb8541 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/CPU/heapManager.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/CPU/heapManager.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _HEAP_MANAGER_H_ #define _HEAP_MANAGER_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Common/AmdFch.h b/src/vendorcode/amd/pi/00670F00/Proc/Common/AmdFch.h index 57bfabbd03..9f3d5bc520 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Common/AmdFch.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Common/AmdFch.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _AMD_FCH_H_ #define _AMD_FCH_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/AcpiLib.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/AcpiLib.h index fe1803d88a..c84bd00096 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/AcpiLib.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/AcpiLib.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #ifndef _FCH_ACPILIB_H_ #define _FCH_ACPILIB_H_ /// diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchBiosRamUsage.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchBiosRamUsage.h index 84cd94c64c..82082949c3 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchBiosRamUsage.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchBiosRamUsage.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #ifndef _FCH_BIOS_RAM_USAGE_H_ #define _FCH_BIOS_RAM_USAGE_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchCommonCfg.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchCommonCfg.h index cc080c7680..46e5b172bf 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchCommonCfg.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchCommonCfg.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #ifndef _FCH_COMMON_CFG_H_ #define _FCH_COMMON_CFG_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchDef.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchDef.h index e1d0def2ef..45453a80e6 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchDef.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Common/FchDef.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #ifndef _FCH_DEF_H_ #define _FCH_DEF_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Fch.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Fch.h index 4413e2ec04..ee8c961e96 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/Fch.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/Fch.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #define FCH_REVISION "0.0.5.0" #define FCH_ID "FCH_A05" #define FCH_VERSION 0x0000 diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Fch/FchPlatform.h b/src/vendorcode/amd/pi/00670F00/Proc/Fch/FchPlatform.h index e7fff2320b..304ed23fcc 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Fch/FchPlatform.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Fch/FchPlatform.h @@ -40,6 +40,9 @@ * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * ***************************************************************************/ + +#include <check_for_wrapper.h> + #ifndef _FCH_PLATFORM_H_ #define _FCH_PLATFORM_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.h b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.h index 3af9c3dd99..4a37f8016f 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspBaseLib.h @@ -41,6 +41,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _PSP_BASE_LIB_H_ #define _PSP_BASE_LIB_H_ diff --git a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspDirectory.h b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspDirectory.h index e3fdd8d115..f35901e6a6 100644 --- a/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspDirectory.h +++ b/src/vendorcode/amd/pi/00670F00/Proc/Psp/PspBaseLib/PspDirectory.h @@ -39,6 +39,8 @@ * ***************************************************************************/ +#include <check_for_wrapper.h> + #ifndef _PSP_DIRECTORY_H_ #define _PSP_DIRECTORY_H_ |