Set the 'hab_qspi' commando if CONFIG_HABV4_QSPI is enabled to build
QSPI HAB images.

Signed-off-by: Marco Felsch <m.fel...@pengutronix.de>
---
Changelog:
v2:
- new patch
- v1-link: 
https://lore.barebox.org/barebox/20231010143314.2031253-1-m.fel...@pengutronix.de/T/#t

 include/mach/imx/habv4-imx8-gencsf.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/include/mach/imx/habv4-imx8-gencsf.h 
b/include/mach/imx/habv4-imx8-gencsf.h
index b50788127eff..5f92ceceab00 100644
--- a/include/mach/imx/habv4-imx8-gencsf.h
+++ b/include/mach/imx/habv4-imx8-gencsf.h
@@ -10,6 +10,9 @@
  * CONFIG_HABV4_IMG_CRT_PEM
  */
 #if defined(CONFIG_HABV4) && defined(CONFIG_CPU_64)
+#if defined(CONFIG_HABV4_QSPI)
+hab_qspi
+#endif
 hab [Header]
 hab Version = 4.3
 hab Hash Algorithm = sha256
-- 
2.39.2


Reply via email to