summaryrefslogtreecommitdiff
path: root/src/arch/arm
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-21 07:06:50 +0200
committerFelix Held <felix-coreboot@felixheld.de>2019-06-21 16:04:06 +0000
commite2d152c118af73500d5c6162c0c1407712458742 (patch)
treeb4acbfaa7374581e8c9f0ad0428075922e8cb4c2 /src/arch/arm
parentdb86a35ab686937fc4e4eb9a4f7417595bd9b519 (diff)
downloadcoreboot-e2d152c118af73500d5c6162c0c1407712458742.tar.xz
arch: Add missing #include <commonlib/helpers.h>
ALIGN((a), b) and ALIGN_UP(a, b) needs 'helpers.h' Change-Id: I029c7c5cbb19c7e69997b3d84f929cb61e8e2b23 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33657 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/arch/arm')
-rw-r--r--src/arch/arm/armv7/mmu.c1
-rw-r--r--src/arch/arm/cpu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/arm/armv7/mmu.c b/src/arch/arm/armv7/mmu.c
index ce9d3fd9d8..b3133a08b7 100644
--- a/src/arch/arm/armv7/mmu.c
+++ b/src/arch/arm/armv7/mmu.c
@@ -29,6 +29,7 @@
*/
#include <assert.h>
+#include <commonlib/helpers.h>
#include <stdlib.h>
#include <stdint.h>
#include <symbols.h>
diff --git a/src/arch/arm/cpu.c b/src/arch/arm/cpu.c
index 93d5675f35..87fc6b17cc 100644
--- a/src/arch/arm/cpu.c
+++ b/src/arch/arm/cpu.c
@@ -29,6 +29,7 @@
*/
#include <stdlib.h>
#include <arch/cpu.h>
+#include <commonlib/helpers.h>
/* Return the CPU struct which is at the high memory address of the stack.
*/