From: Marek Vasut <marex@denx.de>
Date: Thu, 4 May 2023 19:52:30 +0000 (+0200)
Subject: ARM: stm32: Add missing header for save_boot_params
X-Git-Tag: v2025.01-rc5-pxa1908~950^2~14^2~13
X-Git-Url: http://git.dujemihanovic.xyz/img/login.html?a=commitdiff_plain;h=9af2ec18b49de086a8370cdf43236c84ddc8eb7d;p=u-boot.git

ARM: stm32: Add missing header for save_boot_params

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@denx.de>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
---

diff --git a/arch/arm/mach-stm32mp/ecdsa_romapi.c b/arch/arm/mach-stm32mp/ecdsa_romapi.c
index 12b42b9d59..93c561c69b 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>