mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v2 1/2] ARM: stm32: move stm32-bsec-optee-ta.h to include/soc/stm32
@ 2025-01-07 11:32 Oleksij Rempel
  2025-01-07 11:32 ` [PATCH v2 2/2] ARM: protonic-stm32mp1: Add Add Priva E-Measuringbox board support Oleksij Rempel
  2025-01-08 14:45 ` [PATCH v2 1/2] ARM: stm32: move stm32-bsec-optee-ta.h to include/soc/stm32 Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Oleksij Rempel @ 2025-01-07 11:32 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

Move stm32-bsec-optee-ta.h header to make it directly available in board
drivers.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 drivers/nvmem/bsec.c                                       | 3 +--
 drivers/nvmem/stm32-bsec-optee-ta.c                        | 3 +--
 {drivers/nvmem => include/soc/stm32}/stm32-bsec-optee-ta.h | 0
 3 files changed, 2 insertions(+), 4 deletions(-)
 rename {drivers/nvmem => include/soc/stm32}/stm32-bsec-optee-ta.h (100%)

diff --git a/drivers/nvmem/bsec.c b/drivers/nvmem/bsec.c
index 3fa73488f9f7..b92d925956ee 100644
--- a/drivers/nvmem/bsec.c
+++ b/drivers/nvmem/bsec.c
@@ -17,8 +17,7 @@
 #include <mach/stm32mp/bsec.h>
 #include <machine_id.h>
 #include <linux/nvmem-provider.h>
-
-#include "stm32-bsec-optee-ta.h"
+#include <soc/stm32/stm32-bsec-optee-ta.h>
 
 #define BSEC_OTP_SERIAL	13
 
diff --git a/drivers/nvmem/stm32-bsec-optee-ta.c b/drivers/nvmem/stm32-bsec-optee-ta.c
index f89ce791dd12..b4b58b9d737a 100644
--- a/drivers/nvmem/stm32-bsec-optee-ta.c
+++ b/drivers/nvmem/stm32-bsec-optee-ta.c
@@ -6,8 +6,7 @@
  */
 
 #include <linux/tee_drv.h>
-
-#include "stm32-bsec-optee-ta.h"
+#include <soc/stm32/stm32-bsec-optee-ta.h>
 
 /*
  * Read OTP memory
diff --git a/drivers/nvmem/stm32-bsec-optee-ta.h b/include/soc/stm32/stm32-bsec-optee-ta.h
similarity index 100%
rename from drivers/nvmem/stm32-bsec-optee-ta.h
rename to include/soc/stm32/stm32-bsec-optee-ta.h
-- 
2.39.5




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-08 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-07 11:32 [PATCH v2 1/2] ARM: stm32: move stm32-bsec-optee-ta.h to include/soc/stm32 Oleksij Rempel
2025-01-07 11:32 ` [PATCH v2 2/2] ARM: protonic-stm32mp1: Add Add Priva E-Measuringbox board support Oleksij Rempel
2025-01-08 14:45 ` [PATCH v2 1/2] ARM: stm32: move stm32-bsec-optee-ta.h to include/soc/stm32 Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox