From: Gwenael Treuveur <[email protected]>

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

Signed-off-by: Gwenael Treuveur <[email protected]>
Signed-off-by: Patrice Chotard <[email protected]>
---
 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

Reply via email to