diff options
author | Claus Pedersen <claustbp@google.com> | 2022-09-12 22:42:58 +0000 |
---|---|---|
committer | André Przywara <andre.przywara@arm.com> | 2022-09-22 13:23:49 +0200 |
commit | 885e26830499284a7718f825579d6ebeb8b6cd89 (patch) | |
tree | 88d41830192adc771cf3c0bbd9662a61a5260843 /lib/optee | |
parent | 93910a74873cdd28fe9e25a9492993431bc90329 (diff) |
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 <claustbp@google.com>
Change-Id: Icc201ea7b63c1277e423c1cfd13fd6816c2bc568
Diffstat (limited to 'lib/optee')
-rw-r--r-- | lib/optee/optee_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <common/debug.h> #include <lib/optee_utils.h> +#include <platform_def.h> + /* * load_addr_hi and load_addr_lo: image load address. * image_id: 0 - pager, 1 - paged |