From f9608bc8f8c171f0a2a7c07ed749e552e09839da Mon Sep 17 00:00:00 2001 From: Douglas Raillard Date: Wed, 8 Mar 2017 16:49:31 +0000 Subject: [PATCH] Fix ARM_BL31_IN_DRAM build Some header files using the ULL() macro were not directly including utils.h where the macro definition resides. As a consequence, a linker script with values using this macro did not see the macro definition and kept the "ULL()" call in the preprocessed file, which lead to link error. Files using ULL() macro now include utils.h directly. Change-Id: I433a7f36bd21a156c20e69bc2a2bb406140ebdf9 Signed-off-by: Douglas Raillard --- include/plat/arm/board/common/board_css_def.h | 1 + include/plat/arm/common/arm_def.h | 1 + include/plat/arm/soc/common/soc_css_def.h | 1 + plat/arm/board/fvp/include/platform_def.h | 1 + 4 files changed, 4 insertions(+) diff --git a/include/plat/arm/board/common/board_css_def.h b/include/plat/arm/board/common/board_css_def.h index 65e3d32d7..4b5e84dd5 100644 --- a/include/plat/arm/board/common/board_css_def.h +++ b/include/plat/arm/board/common/board_css_def.h @@ -33,6 +33,7 @@ #include #include +#include #include /* diff --git a/include/plat/arm/common/arm_def.h b/include/plat/arm/common/arm_def.h index 8ce718af4..43e0eb893 100644 --- a/include/plat/arm/common/arm_def.h +++ b/include/plat/arm/common/arm_def.h @@ -34,6 +34,7 @@ #include #include #include +#include #include diff --git a/include/plat/arm/soc/common/soc_css_def.h b/include/plat/arm/soc/common/soc_css_def.h index e83144ec5..3b4cc79f8 100644 --- a/include/plat/arm/soc/common/soc_css_def.h +++ b/include/plat/arm/soc/common/soc_css_def.h @@ -32,6 +32,7 @@ #define __SOC_CSS_DEF_H__ #include +#include /* diff --git a/plat/arm/board/fvp/include/platform_def.h b/plat/arm/board/fvp/include/platform_def.h index bf5e03b08..4088e9869 100644 --- a/plat/arm/board/fvp/include/platform_def.h +++ b/plat/arm/board/fvp/include/platform_def.h @@ -35,6 +35,7 @@ #include #include #include +#include #include #include "../fvp_def.h" -- GitLab