nvmem: add read support for STM32MP1 bsec OTP
The bsec on the STM32MP157C provides a 380 byte OTP. Add initial support
for reading and writing the shadow copy of the fuses. Direct fuse
access is not yet supported.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 6fb978d commit 3bf910ddb0488689860e8ee6893142a93fdb3cf1
@Ahmad Fatoum Ahmad Fatoum authored on 27 Oct 2019
Sascha Hauer committed on 6 Nov 2019
Showing 6 changed files
View
arch/arm/dts/stm32mp157c.dtsi
View
arch/arm/mach-stm32mp/include/mach/bsec.h 0 → 100644
View
arch/arm/mach-stm32mp/include/mach/smc.h 0 → 100644
View
drivers/nvmem/Kconfig
View
drivers/nvmem/Makefile
View
drivers/nvmem/bsec.c 0 → 100644