Skip to contentSkip to conversation

ARM: stm32: Add missing header for save_boot_params

PATCH In review Marek Vasut 3 participants 4 messages May 4, 2023 – Jun 16, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")

---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]

---
 arch/arm/mach-stm32mp/ecdsa_romapi.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-stm32mp/ecdsa_romapi.c +1 -0
index 12b42b9d59c..93c561c69b1 100644
@@ -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>
Signature · 1 line
2.39.2
Reviewed-by on v1 1/1
#1 lore raw

Hi Marek

Quoted 18 lines · Marek Vasut

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")

---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]

---
 arch/arm/mach-stm32mp/ecdsa_romapi.c | 1 +
 1 file changed, 1 insertion(+)
arch/arm/mach-stm32mp/ecdsa_romapi.c +0 -0
index 12b42b9d59c..93c561c69b1 100644

arch/arm/mach-stm32mp/ecdsa_romapi.c line 11

Quoted 7 lines
arch/arm/mach-stm32mp/ecdsa_romapi.c +1 -0
@@ -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>

Thanks
Patrice

Reviewed-by on v1 1/1
#2 lore raw
In reply to Marek Vasut

Hi,

Quoted 5 lines · Marek Vasut

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")
Quoted 7 lines

---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]

---
  arch/arm/mach-stm32mp/ecdsa_romapi.c | 1 +
  1 file changed, 1 insertion(+)

Thanks
Patrick

#3 lore raw
Quoted 17 lines · Patrick DELAUNAY

Hi,

Quoted 5 lines · Marek Vasut

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")
Quoted 7 lines

---
Cc: Patrice Chotard <[email protected]>
Cc: Patrick Delaunay <[email protected]>
Cc: [email protected]
---
  arch/arm/mach-stm32mp/ecdsa_romapi.c | 1 +

  1 file changed, 1 insertion(+)
Quoted 6 lines

Thanks
Patrick

Applied to u-boot-stm/next

Thanks
Patrice