diff options
author | Angel Pons <th3fanbus@gmail.com> | 2020-07-20 23:10:21 +0200 |
---|---|---|
committer | David Hendricks <david.hendricks@gmail.com> | 2020-07-21 20:04:12 +0000 |
commit | 002e5e057cb8fa6177e38094a795a1cd407db873 (patch) | |
tree | 886b90c1e63e3bdde376dece629b86f70dc81324 /src/security | |
parent | 04071f43bc20a2f04790da3e0e1ffc4ba86ac117 (diff) | |
download | coreboot-002e5e057cb8fa6177e38094a795a1cd407db873.tar.xz |
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>
Diffstat (limited to 'src/security')
-rw-r--r-- | src/security/intel/stm/SmmStm.c | 1 | ||||
-rw-r--r-- | src/security/intel/stm/SmmStm.h | 1 | ||||
-rw-r--r-- | src/security/intel/stm/StmPlatformSmm.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/security/intel/stm/SmmStm.c b/src/security/intel/stm/SmmStm.c index 87873f5a69..7256401bc9 100644 --- a/src/security/intel/stm/SmmStm.c +++ b/src/security/intel/stm/SmmStm.c @@ -6,6 +6,7 @@ #include <cpu/x86/msr.h> #include <cpu/x86/cache.h> #include <security/intel/stm/SmmStm.h> +#include <stdbool.h> #include <string.h> #define TXT_EVTYPE_BASE 0x400 diff --git a/src/security/intel/stm/SmmStm.h b/src/security/intel/stm/SmmStm.h index 0447a9edc2..b395493a06 100644 --- a/src/security/intel/stm/SmmStm.h +++ b/src/security/intel/stm/SmmStm.h @@ -4,6 +4,7 @@ #define _SMM_STM_H_ #include "StmApi.h" +#include <stdbool.h> /* * Load STM image. diff --git a/src/security/intel/stm/StmPlatformSmm.c b/src/security/intel/stm/StmPlatformSmm.c index 1d21bf7af2..9eccb32faa 100644 --- a/src/security/intel/stm/StmPlatformSmm.c +++ b/src/security/intel/stm/StmPlatformSmm.c @@ -9,6 +9,7 @@ #include <cbfs.h> #include <console/console.h> +#include <stdbool.h> #include <stdint.h> #include <arch/rom_segs.h> |