From cb7b9db19db5750d38762ad7a11219a57a740d17 Mon Sep 17 00:00:00 2001 From: Varun Wadekar Date: Sun, 19 Jul 2020 21:28:10 -0700 Subject: [PATCH] plat: common: include "bl_common.h" from plat_spmd_manifest.c This patch includes the bl_common.h from plat_spmd_manifest.c to fix the following compilation errors plat/common/plat_spmd_manifest.c: In function 'plat_spm_core_manifest_load': plat/common/plat_spmd_manifest.c:130:18: error: implicit declaration of function 'page_align' [-Werror=implicit-function-declaration] 130 | pm_base_align = page_align(pm_base, UP); | ^~~~~~~~~~ plat/common/plat_spmd_manifest.c:130:38: error: 'UP' undeclared (first use in this function); did you mean 'UL'? 130 | pm_base_align = page_align(pm_base, UP); | ^~ | UL plat/common/plat_spmd_manifest.c:130:38: note: each undeclared identifier is reported only once for each function it appears in plat/common/plat_spmd_manifest.c:146:38: error: 'DOWN' undeclared (first use in this function) 146 | pm_base_align = page_align(pm_base, DOWN); | ^~~~ cc1: all warnings being treated as errors Signed-off-by: Varun Wadekar Change-Id: Ib8edb36c6a80a23df2462e708c513c966aab1fef --- plat/common/plat_spmd_manifest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/common/plat_spmd_manifest.c b/plat/common/plat_spmd_manifest.c index e65980bc8..8f4018c7c 100644 --- a/plat/common/plat_spmd_manifest.c +++ b/plat/common/plat_spmd_manifest.c @@ -9,6 +9,7 @@ #include #include +#include #include #include #include