]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: stm32: Add missing header for save_boot_params
authorMarek Vasut <marex@denx.de>
Thu, 4 May 2023 19:52:30 +0000 (21:52 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 16 Jun 2023 09:13:55 +0000 (11:13 +0200)
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>
arch/arm/mach-stm32mp/ecdsa_romapi.c

index 12b42b9d59ce756993a042cf7e349260f35fa854..93c561c69b1de69b6fedcdb45b108001e761edb6 100644 (file)
@@ -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>