arm-trusted-firmware/plat/st/stm32mp1
Yann Gautier 6e55f9e2cd fix(stm32mp1): add missing platform.h include
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
2022-12-13 09:52:27 +01:00
..
include refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
services refactor(st-drivers): improve BSEC driver 2022-01-28 18:04:52 +01:00
sp_min refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
bl2_plat_setup.c fix(stm32mp1): rework DWL buffer cache invalidation 2022-12-07 14:20:01 +01:00
cert_create_tbbr.mk feat(stm32mp1): add the platform specific build for tools 2022-11-14 11:25:01 +01:00
plat_bl2_mem_params_desc.c feat(stm32mp1): optionally use paged OP-TEE 2022-06-22 14:51:03 +02:00
plat_def_uuid_config.c feat(stm32mp1): add the TRUSTED_BOARD_BOOT support 2022-11-14 11:25:01 +01:00
plat_fiptool.mk feat(stm32mp1): add the platform specific build for tools 2022-11-14 11:25:01 +01:00
plat_image_load.c fix(stm32mp1): add missing platform.h include 2022-12-13 09:52:27 +01:00
platform.mk refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
stm32mp1.ld.S refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
stm32mp1.S refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
stm32mp1_boot_device.c feat(stm32mp1): manage second NAND OTP on STM32MP13 2022-08-30 09:20:20 +02:00
stm32mp1_dbgmcu.c refactor(st-drivers): improve BSEC driver 2022-01-28 18:04:52 +01:00
stm32mp1_def.h refactor(stm32mp1): remove STM32MP_USE_STM32IMAGE 2022-11-14 14:14:48 +01:00
stm32mp1_fconf_firewall.c fix(st): explicitly check operators precedence 2022-12-07 14:20:01 +01:00
stm32mp1_fip_def.h feat(stm32mp1): add the TRUSTED_BOARD_BOOT support 2022-11-14 11:25:01 +01:00
stm32mp1_gic.c stm32mp1: split code between common and private parts 2019-02-14 11:20:23 +01:00
stm32mp1_helper.S feat(stm32mp1): add plat_report_*_abort functions 2022-10-03 14:44:05 +02:00
stm32mp1_pm.c feat(gic): add APIs to raise NS and S-EL1 SGIs 2022-09-14 16:08:29 +02:00
stm32mp1_private.c fix(stm32mp1): add const for strings in stm32mp_get_soc_name() 2022-12-07 14:20:01 +01:00
stm32mp1_scmi.c feat(st): use newly introduced clock framework 2021-12-22 13:08:09 +01:00
stm32mp1_shared_resources.c fix(stm32mp1): fix enum prints 2022-02-28 17:20:06 +01:00
stm32mp1_stack_protector.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_syscfg.c fix(st): explicitly check operators precedence 2022-12-07 14:20:01 +01:00
stm32mp1_tbb_cert.c feat(stm32mp1): add the TRUSTED_BOARD_BOOT support 2022-11-14 11:25:01 +01:00
stm32mp1_topology.c Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
stm32mp1_usb_dfu.c feat(stm32mp1): usb descriptor update for STM32MP13 2022-03-22 09:09:23 +01:00