summaryrefslogtreecommitdiff
path: root/include/plat
diff options
context:
space:
mode:
authorClaus Pedersen <claustbp@google.com>2022-09-12 22:42:58 +0000
committerAndré Przywara <andre.przywara@arm.com>2022-09-22 13:23:49 +0200
commit885e26830499284a7718f825579d6ebeb8b6cd89 (patch)
tree88d41830192adc771cf3c0bbd9662a61a5260843 /include/plat
parent93910a74873cdd28fe9e25a9492993431bc90329 (diff)
downloadarm-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 'include/plat')
-rw-r--r--include/plat/arm/common/fconf_arm_sp_getter.h1
-rw-r--r--include/plat/marvell/armada/a8k/common/plat_marvell.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/plat/arm/common/fconf_arm_sp_getter.h b/include/plat/arm/common/fconf_arm_sp_getter.h
index aa628dfd3..96ed96383 100644
--- a/include/plat/arm/common/fconf_arm_sp_getter.h
+++ b/include/plat/arm/common/fconf_arm_sp_getter.h
@@ -7,6 +7,7 @@
#ifndef FCONF_ARM_SP_GETTER_H
#define FCONF_ARM_SP_GETTER_H
+#include <common/tbbr/tbbr_img_def.h>
#include <lib/fconf/fconf.h>
#include <tools_share/uuid.h>
diff --git a/include/plat/marvell/armada/a8k/common/plat_marvell.h b/include/plat/marvell/armada/a8k/common/plat_marvell.h
index 5d805a7f1..bec21a0dc 100644
--- a/include/plat/marvell/armada/a8k/common/plat_marvell.h
+++ b/include/plat/marvell/armada/a8k/common/plat_marvell.h
@@ -10,6 +10,7 @@
#include <stdint.h>
+#include <common/bl_common.h>
#include <lib/cassert.h>
#include <lib/el3_runtime/cpu_data.h>
#include <lib/utils.h>