mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00
![]() This includes the functions definitions, and avoids sparse warnings: plat/st/stm32mp1/plat_image_load.c:13:6: warning: symbol 'plat_flush_next_bl_params' was not declared. Should it be static? plat/st/stm32mp1/plat_image_load.c:21:16: warning: symbol 'plat_get_bl_image_load_info' was not declared. Should it be static? plat/st/stm32mp1/plat_image_load.c:29:13: warning: symbol 'plat_get_next_bl_params' was not declared. Should it be static? The issue was also found when enabling -Wmissing-prototypes warning: plat/st/stm32mp1/plat_image_load.c:13:6: error: no previous prototype for 'plat_flush_next_bl_params' [-Werror=missing-prototypes] 13 | void plat_flush_next_bl_params(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~ plat/st/stm32mp1/plat_image_load.c:21:17: error: no previous prototype for 'plat_get_bl_image_load_info' [-Werror=missing-prototypes] 21 | bl_load_info_t *plat_get_bl_image_load_info(void) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ plat/st/stm32mp1/plat_image_load.c:29:14: error: no previous prototype for 'plat_get_next_bl_params' [-Werror=missing-prototypes] 29 | bl_params_t *plat_get_next_bl_params(void) | ^~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I0bb3052f6efd888462eab2fd8f18862e7fbf02b9 |
||
---|---|---|
.. | ||
include | ||
services | ||
sp_min | ||
bl2_plat_setup.c | ||
cert_create_tbbr.mk | ||
plat_bl2_mem_params_desc.c | ||
plat_def_uuid_config.c | ||
plat_fiptool.mk | ||
plat_image_load.c | ||
platform.mk | ||
stm32mp1.ld.S | ||
stm32mp1.S | ||
stm32mp1_boot_device.c | ||
stm32mp1_dbgmcu.c | ||
stm32mp1_def.h | ||
stm32mp1_fconf_firewall.c | ||
stm32mp1_fip_def.h | ||
stm32mp1_gic.c | ||
stm32mp1_helper.S | ||
stm32mp1_pm.c | ||
stm32mp1_private.c | ||
stm32mp1_scmi.c | ||
stm32mp1_shared_resources.c | ||
stm32mp1_stack_protector.c | ||
stm32mp1_syscfg.c | ||
stm32mp1_tbb_cert.c | ||
stm32mp1_topology.c | ||
stm32mp1_usb_dfu.c |