[PATCH 4/6] stm32mp: cmd_stm32key: add support of remoteproc firmware public key

Patrice Chotard patrice.chotard at foss.st.com
Wed Feb 4 11:20:49 CET 2026


From: Gwenael Treuveur <gwenael.treuveur at foss.st.com>

Add support of RPROC-FW-PKH for STM32MP25, STM32MP23 and STM32MP21.

Signed-off-by: Gwenael Treuveur <gwenael.treuveur at foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard at foss.st.com>
---
 arch/arm/mach-stm32mp/cmd_stm32key.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/arch/arm/mach-stm32mp/cmd_stm32key.c b/arch/arm/mach-stm32mp/cmd_stm32key.c
index 7a82152faf3..d1432ba1e23 100644
--- a/arch/arm/mach-stm32mp/cmd_stm32key.c
+++ b/arch/arm/mach-stm32mp/cmd_stm32key.c
@@ -87,6 +87,13 @@ const struct stm32key stm32mp21_list[] = {
 		.size = 8,
 		.post_process = post_process_oem_key2,
 	},
+	{
+		.name = "RPROC-FW-PKH",
+		.desc = "Hash of the Public Key for remote processor firmware",
+		.start = 180,
+		.size = 8,
+		.key_format = format2,
+	},
 	{
 		.name = "FIP-EDMK",
 		.desc = "Encryption/Decryption Master Key for FIP",
@@ -142,6 +149,13 @@ const struct stm32key stm32mp2x_list[] = {
 		.size = 8,
 		.post_process = post_process_oem_key2,
 	},
+	{
+		.name = "RPROC-FW-PKH",
+		.desc = "Hash of the Public Key for remote processor firmware",
+		.start = 176,
+		.size = 8,
+		.key_format = format2,
+	},
 	{
 		.name = "FIP-EDMK",
 		.desc = "Encryption/Decryption Master Key for FIP",

-- 
2.43.0



More information about the U-Boot mailing list