From: Oleksij Rempel <o.rempel@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Oleksij Rempel <o.rempel@pengutronix.de>
Subject: [PATCH v2 1/2] ARM: stm32: move stm32-bsec-optee-ta.h to include/soc/stm32
Date: Tue, 7 Jan 2025 12:32:08 +0100 [thread overview]
Message-ID: <20250107113209.1231661-1-o.rempel@pengutronix.de> (raw)
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
next reply other threads:[~2025-01-07 11:33 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-07 11:32 Oleksij Rempel [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250107113209.1231661-1-o.rempel@pengutronix.de \
--to=o.rempel@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox