From d26844ce823791acbc95fb3e109d948b9c36995c Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Fri, 21 Jun 2019 07:31:40 +0200 Subject: cpu: Add missing #include ALIGN and ALIGN_UP needs 'helpers.h' Change-Id: Ib3a9e0d6caff69f4b0adb54364b47cc6ac52a610 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/33658 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/cpu/amd/car/post_cache_as_ram.c | 2 ++ src/cpu/intel/car/romstage.c | 1 + src/cpu/intel/haswell/romstage.c | 1 + src/cpu/intel/smm/gen1/smmrelocate.c | 1 + src/cpu/x86/mirror_payload.c | 1 + src/cpu/x86/mtrr/mtrr.c | 1 + src/cpu/x86/smm/smm_module_loader.c | 1 + 7 files changed, 8 insertions(+) diff --git a/src/cpu/amd/car/post_cache_as_ram.c b/src/cpu/amd/car/post_cache_as_ram.c index f49c6765c6..50ed657f42 100644 --- a/src/cpu/amd/car/post_cache_as_ram.c +++ b/src/cpu/amd/car/post_cache_as_ram.c @@ -16,10 +16,12 @@ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. */ + #include #include #include #include +#include #include #include #include diff --git a/src/cpu/intel/car/romstage.c b/src/cpu/intel/car/romstage.c index a7daff4fb2..89052d6be6 100644 --- a/src/cpu/intel/car/romstage.c +++ b/src/cpu/intel/car/romstage.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include diff --git a/src/cpu/intel/haswell/romstage.c b/src/cpu/intel/haswell/romstage.c index 0426bb4cea..3cbdf44c1d 100644 --- a/src/cpu/intel/haswell/romstage.c +++ b/src/cpu/intel/haswell/romstage.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/src/cpu/intel/smm/gen1/smmrelocate.c b/src/cpu/intel/smm/gen1/smmrelocate.c index f3192bcd55..d52043f047 100644 --- a/src/cpu/intel/smm/gen1/smmrelocate.c +++ b/src/cpu/intel/smm/gen1/smmrelocate.c @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include diff --git a/src/cpu/x86/mirror_payload.c b/src/cpu/x86/mirror_payload.c index 6da21646fc..88c5e8183f 100644 --- a/src/cpu/x86/mirror_payload.c +++ b/src/cpu/x86/mirror_payload.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include diff --git a/src/cpu/x86/mtrr/mtrr.c b/src/cpu/x86/mtrr/mtrr.c index 60eee319ce..e9efc8b1de 100644 --- a/src/cpu/x86/mtrr/mtrr.c +++ b/src/cpu/x86/mtrr/mtrr.c @@ -25,6 +25,7 @@ #include #include #include +#include #include #include #include diff --git a/src/cpu/x86/smm/smm_module_loader.c b/src/cpu/x86/smm/smm_module_loader.c index 80b2c27c79..b3ffb3d318 100644 --- a/src/cpu/x86/smm/smm_module_loader.c +++ b/src/cpu/x86/smm/smm_module_loader.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #define FXSAVE_SIZE 512 -- cgit v1.2.3