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/fconf | |
parent | 93910a74873cdd28fe9e25a9492993431bc90329 (diff) | |
download | arm-trusted-firmware-885e26830499284a7718f825579d6ebeb8b6cd89.tar.gz |
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/fconf')
-rw-r--r-- | lib/fconf/fconf_dyn_cfg_getter.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fconf/fconf_dyn_cfg_getter.c b/lib/fconf/fconf_dyn_cfg_getter.c index 3038c09e8..351772e11 100644 --- a/lib/fconf/fconf_dyn_cfg_getter.c +++ b/lib/fconf/fconf_dyn_cfg_getter.c @@ -12,6 +12,8 @@ #include <lib/object_pool.h> #include <libfdt.h> +#include <platform_def.h> + /* We currently use FW, TB_FW, SOC_FW, TOS_FW, NT_FW and HW configs */ #define MAX_DTB_INFO U(6) /* |