]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(libc): clean up dependencies in libc
authorClaus Pedersen <claustbp@google.com>
Mon, 12 Sep 2022 22:42:58 +0000 (22:42 +0000)
committerAndré Przywara <andre.przywara@arm.com>
Thu, 22 Sep 2022 11:23:49 +0000 (13:23 +0200)
commit885e26830499284a7718f825579d6ebeb8b6cd89
tree88d41830192adc771cf3c0bbd9662a61a5260843
parent93910a74873cdd28fe9e25a9492993431bc90329
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
33 files changed:
drivers/amlogic/crypto/sha_dma.c
drivers/arm/gic/v3/gic-x00.c
drivers/arm/gic/v3/gicv3_helpers.c
drivers/auth/cryptocell/713/cryptocell_crypto.c
drivers/console/multi_console.c
drivers/measured_boot/rss/rss_measured_boot.c
drivers/rpi3/gpio/rpi3_gpio.c
include/bl32/sp_min/platform_sp_min.h
include/lib/fconf/fconf.h
include/lib/libc/assert.h
include/plat/arm/common/fconf_arm_sp_getter.h
include/plat/marvell/armada/a8k/common/plat_marvell.h
lib/el3_runtime/aarch64/context_mgmt.c
lib/fconf/fconf_dyn_cfg_getter.c
lib/libc/assert.c
lib/libc/printf.c
lib/libc/snprintf.c
lib/optee/optee_utils.c
plat/arm/board/fvp/fvp_gicv3.c
plat/arm/board/juno/include/platform_def.h
plat/arm/common/arm_bl1_setup.c
plat/arm/common/arm_dyn_cfg_helpers.c
plat/arm/common/arm_gicv3.c
plat/brcm/board/common/cmn_plat_def.h
plat/common/aarch64/plat_common.c
plat/common/plat_gicv3.c
plat/imx/imx8m/imx8m_dyn_cfg_helpers.c
plat/nxp/common/nv_storage/plat_nv_storage.c
plat/nxp/soc-ls1046a/ls1046aqds/ddr_init.c
plat/qemu/qemu/qemu_helpers.c
plat/xilinx/common/include/plat_startup.h
services/std_svc/spm/el3_spmc/spmc.h
services/std_svc/spmd/spmd_private.h