diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2019-03-29 17:12:15 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-04-23 10:01:36 +0000 |
commit | cd4fe0f718cfc49e5d58f1770e23cd065a26241e (patch) | |
tree | a1b335fc76f89e79480456e3c6cd1672f4eefb2c /src/arch | |
parent | 351e3e520ba71b4aafaf930af37f78b71c1d7251 (diff) |
src: include <assert.h> when appropriate
Change-Id: Ib843eb7144b7dc2932931b9e8f3f1d816bcc1e1a
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/26796
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: David Guckian
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm64/arm_tf.c | 1 | ||||
-rw-r--r-- | src/arch/x86/acpigen.c | 1 | ||||
-rw-r--r-- | src/arch/x86/include/arch/acpigen.h | 1 |
3 files changed, 1 insertions, 2 deletions
diff --git a/src/arch/arm64/arm_tf.c b/src/arch/arm64/arm_tf.c index f43bc028d2..291e4eef3e 100644 --- a/src/arch/arm64/arm_tf.c +++ b/src/arch/arm64/arm_tf.c @@ -18,7 +18,6 @@ #include <arch/mmu.h> #include <arch/transition.h> #include <arm_tf.h> -#include <assert.h> #include <bootmem.h> #include <cbfs.h> #include <console/console.h> diff --git a/src/arch/x86/acpigen.c b/src/arch/x86/acpigen.c index 3f9f99422d..e283f4da31 100644 --- a/src/arch/x86/acpigen.c +++ b/src/arch/x86/acpigen.c @@ -28,6 +28,7 @@ #include <lib.h> #include <string.h> #include <arch/acpigen.h> +#include <assert.h> #include <console/console.h> #include <device/device.h> diff --git a/src/arch/x86/include/arch/acpigen.h b/src/arch/x86/include/arch/acpigen.h index 9e5769304b..6114667c6c 100644 --- a/src/arch/x86/include/arch/acpigen.h +++ b/src/arch/x86/include/arch/acpigen.h @@ -18,7 +18,6 @@ #ifndef LIBACPI_H #define LIBACPI_H -#include <assert.h> #include <stdlib.h> #include <stdint.h> #include <arch/acpi.h> |