]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
stm32mp: cmd_stm32key: add support of remoteproc firmware public key
authorGwenael Treuveur <gwenael.treuveur@foss.st.com>
Wed, 4 Feb 2026 10:20:49 +0000 (11:20 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 24 Feb 2026 16:47:46 +0000 (17:47 +0100)
Add support of RPROC-FW-PKH for STM32MP25, STM32MP23 and STM32MP21.

Signed-off-by: Gwenael Treuveur <gwenael.treuveur@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32key.c

index 7a82152faf35b35bfda4f8f5745223b8bc3e0611..d1432ba1e23a0fcbbc2487c7bf143813d6f1e314 100644 (file)
@@ -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",