summaryrefslogtreecommitdiffstats
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
parentdb86a35ab686937fc4e4eb9a4f7417595bd9b519 (diff)
downloadcoreboot-e2d152c118af73500d5c6162c0c1407712458742.tar.gz
coreboot-e2d152c118af73500d5c6162c0c1407712458742.tar.bz2
coreboot-e2d152c118af73500d5c6162c0c1407712458742.zip
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>
-rw-r--r--src/arch/arm/armv7/mmu.c1
-rw-r--r--src/arch/arm/cpu.c1
-rw-r--r--src/arch/arm64/fit_payload.c1
-rw-r--r--src/arch/x86/acpi.c1
-rw-r--r--src/arch/x86/acpi_s3.c1
-rw-r--r--src/arch/x86/gdt.c1
-rw-r--r--src/arch/x86/include/arch/early_variables.h1
-rw-r--r--src/arch/x86/pirq_routing.c1
-rw-r--r--src/arch/x86/smbios.c1
-rw-r--r--src/arch/x86/tables.c1
10 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/arm/armv7/mmu.c b/src/arch/arm/armv7/mmu.c
index ce9d3fd9d8b6..b3133a08b7cb 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 93d5675f356f..87fc6b17cc7d 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.
*/
diff --git a/src/arch/arm64/fit_payload.c b/src/arch/arm64/fit_payload.c
index fd1bae171a85..46bea2305362 100644
--- a/src/arch/arm64/fit_payload.c
+++ b/src/arch/arm64/fit_payload.c
@@ -20,6 +20,7 @@
#include <string.h>
#include <commonlib/compression.h>
#include <commonlib/cbfs_serialized.h>
+#include <commonlib/helpers.h>
#include <lib.h>
#include <fit.h>
#include <endian.h>
diff --git a/src/arch/x86/acpi.c b/src/arch/x86/acpi.c
index 71fc4e208fea..80923e3eddc1 100644
--- a/src/arch/x86/acpi.c
+++ b/src/arch/x86/acpi.c
@@ -44,6 +44,7 @@
#include <arch/acpigen.h>
#include <device/pci.h>
#include <cbmem.h>
+#include <commonlib/helpers.h>
#include <cpu/x86/lapic_def.h>
#include <cpu/cpu.h>
#include <cbfs.h>
diff --git a/src/arch/x86/acpi_s3.c b/src/arch/x86/acpi_s3.c
index 4c573033daa7..049fb12e7593 100644
--- a/src/arch/x86/acpi_s3.c
+++ b/src/arch/x86/acpi_s3.c
@@ -18,6 +18,7 @@
#include <arch/acpi.h>
#include <arch/cpu.h>
#include <cbmem.h>
+#include <commonlib/helpers.h>
#include <fallback.h>
#include <timestamp.h>
#include <program_loading.h>
diff --git a/src/arch/x86/gdt.c b/src/arch/x86/gdt.c
index d3ad01e1dffd..81756ff56840 100644
--- a/src/arch/x86/gdt.c
+++ b/src/arch/x86/gdt.c
@@ -16,6 +16,7 @@
#include <types.h>
#include <string.h>
#include <cbmem.h>
+#include <commonlib/helpers.h>
#include <console/console.h>
#include <cpu/x86/gdt.h>
diff --git a/src/arch/x86/include/arch/early_variables.h b/src/arch/x86/include/arch/early_variables.h
index b3042c34d2d6..a69c23059638 100644
--- a/src/arch/x86/include/arch/early_variables.h
+++ b/src/arch/x86/include/arch/early_variables.h
@@ -17,6 +17,7 @@
#define ARCH_EARLY_VARIABLES_H
#include <arch/symbols.h>
+#include <commonlib/helpers.h>
#include <stdlib.h>
#if ENV_CACHE_AS_RAM && !CONFIG(NO_CAR_GLOBAL_MIGRATION)
diff --git a/src/arch/x86/pirq_routing.c b/src/arch/x86/pirq_routing.c
index 70df201c99d1..15d7411b3ff9 100644
--- a/src/arch/x86/pirq_routing.c
+++ b/src/arch/x86/pirq_routing.c
@@ -16,6 +16,7 @@
*/
#include <console/console.h>
#include <arch/pirq_routing.h>
+#include <commonlib/helpers.h>
#include <string.h>
#include <device/pci.h>
diff --git a/src/arch/x86/smbios.c b/src/arch/x86/smbios.c
index be090217ae6c..2f5c3a643eba 100644
--- a/src/arch/x86/smbios.c
+++ b/src/arch/x86/smbios.c
@@ -30,6 +30,7 @@
#include <memory_info.h>
#include <spd.h>
#include <cbmem.h>
+#include <commonlib/helpers.h>
#include <device/pci_ids.h>
#include <device/pci_def.h>
#include <device/pci.h>
diff --git a/src/arch/x86/tables.c b/src/arch/x86/tables.c
index 3cc385b530cf..0baa58eb2b9f 100644
--- a/src/arch/x86/tables.c
+++ b/src/arch/x86/tables.c
@@ -23,6 +23,7 @@
#include <arch/pirq_routing.h>
#include <arch/smp/mpspec.h>
#include <arch/acpi.h>
+#include <commonlib/helpers.h>
#include <string.h>
#include <cbmem.h>
#include <smbios.h>