[PATCH] ARM: stm32: Add missing header for save_boot_params

Patrice CHOTARD patrice.chotard at foss.st.com
Tue May 9 08:16:54 CEST 2023


Hi Marek

On 5/4/23 21:52, Marek Vasut wrote:
> The get_stm32mp_rom_api_table() function is defined in sys_params.h ,
> add the missing header to avoid compiler warning.
> 
> Fixes: dbeaca79b79 ("ARM: stm32: Factor out save_boot_params")
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> Cc: uboot-stm32 at st-md-mailman.stormreply.com
> ---
>  arch/arm/mach-stm32mp/ecdsa_romapi.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-stm32mp/ecdsa_romapi.c b/arch/arm/mach-stm32mp/ecdsa_romapi.c
> index 12b42b9d59c..93c561c69b1 100644
> --- a/arch/arm/mach-stm32mp/ecdsa_romapi.c
> +++ b/arch/arm/mach-stm32mp/ecdsa_romapi.c
> @@ -5,6 +5,7 @@
>   * Implements ECDSA signature verification via the STM32MP ROM.
>   */
>  #include <asm/system.h>
> +#include <asm/arch/sys_proto.h>
>  #include <dm/device.h>
>  #include <linux/types.h>
>  #include <u-boot/ecdsa.h>

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list