security/intel/stm: Add missing <stdbool.h>

Jenkins does not build `config.stm` because the file name lacks the
mainboard name. So, the code was not being build-tested, and it does not
build because several files lacked the definition for `bool`.

Add the missing #include directives. Renaming the config file so that
Jenkins build-tests it is done in a follow-up.

Change-Id: Idf012b7ace0648027ef6e901d821ca6682cee198
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/43622
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Reviewed-by: Eugene Myers <cedarhouse1@comcast.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Angel Pons 2020-07-20 23:10:21 +02:00 committed by David Hendricks
parent 04071f43bc
commit 002e5e057c
3 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
#include <cpu/x86/msr.h> #include <cpu/x86/msr.h>
#include <cpu/x86/cache.h> #include <cpu/x86/cache.h>
#include <security/intel/stm/SmmStm.h> #include <security/intel/stm/SmmStm.h>
#include <stdbool.h>
#include <string.h> #include <string.h>
#define TXT_EVTYPE_BASE 0x400 #define TXT_EVTYPE_BASE 0x400

View File

@ -4,6 +4,7 @@
#define _SMM_STM_H_ #define _SMM_STM_H_
#include "StmApi.h" #include "StmApi.h"
#include <stdbool.h>
/* /*
* Load STM image. * Load STM image.

View File

@ -9,6 +9,7 @@
#include <cbfs.h> #include <cbfs.h>
#include <console/console.h> #include <console/console.h>
#include <stdbool.h>
#include <stdint.h> #include <stdint.h>
#include <arch/rom_segs.h> #include <arch/rom_segs.h>