arm: stm32mp: move the get_otp helper function in bsec
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 20 May 2022 16:24:41 +0000 (18:24 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 17 Jun 2022 07:58:21 +0000 (09:58 +0200)
commit3865a7ec9523122c4932d8e8d4b406d60884e8ae
tree4a3c9d4f0a36d667095d4d3101b293cb85ed8bdc
parent2ff0866b45e8069753b8f962e5018ddcdfd7b966
arm: stm32mp: move the get_otp helper function in bsec

As the get_otp() helper function in bsec are common for all STM32MP family,
move this function in bsec driver

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