arm: stm32mp: add helper function stm32mp_is_closed()
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Wed, 20 Mar 2024 14:51:08 +0000 (15:51 +0100)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 25 Apr 2025 14:00:23 +0000 (16:00 +0200)
commit6c66779549bb90ed086c7d4d5d869d739722cce4
tree545829b7ff1c5baebe25edcbac69a81a35a4e611
parentc3bf98f73d19704d5a9ab6c7538f23dc0f73cc3d
arm: stm32mp: add helper function stm32mp_is_closed()

Add the helper function stm32mp_is_closed() to check the "closed" state in
product life cycle, when product secrets have  been provisioned into the
device, by "secure secret provisioning" tools (SSP) for example.

Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32key.c
arch/arm/mach-stm32mp/include/mach/sys_proto.h