From 885e26830499284a7718f825579d6ebeb8b6cd89 Mon Sep 17 00:00:00 2001 From: Claus Pedersen Date: Mon, 12 Sep 2022 22:42:58 +0000 Subject: refactor(libc): clean up dependencies in libc - Removing platform dependencies from libc modules. - Replacing panicking with actual error handling. - Debug macros are included indirectly from assert.h. Removing "platform_def.h" from assert.h and adding "common/debug.h" where the macros are used. - Removing hack for fixing PLAT_LOG_LEVEL_ASSERT to 40. Instead removing assert with expression, as this does not provide additional information. Signed-off-by: Claus Pedersen Change-Id: Icc201ea7b63c1277e423c1cfd13fd6816c2bc568 --- lib/optee/optee_utils.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/optee') diff --git a/lib/optee/optee_utils.c b/lib/optee/optee_utils.c index d30248fa2..6c87b0d07 100644 --- a/lib/optee/optee_utils.c +++ b/lib/optee/optee_utils.c @@ -9,6 +9,8 @@ #include #include +#include + /* * load_addr_hi and load_addr_lo: image load address. * image_id: 0 - pager, 1 - paged -- cgit v1.2.3