misc: rockchip-otp: support read & write secure otp

support chip: rk3308

Change-Id: I7daeaab16495d17bd75994de94dc19ed18eca21e
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
This commit is contained in:
Jason Zhu 2019-08-20 20:52:53 +08:00 committed by Jianhong Chen
parent bc94d10207
commit 52ed8851b8
3 changed files with 10243 additions and 0 deletions

View File

@ -66,6 +66,12 @@ config ROCKCHIP_OTP
This is a simple drive to dump specified values of Rockchip SoC
from otp, such as cpu-leakage.
config SPL_ROCKCHIP_SECURE_OTP
bool "Rockchip Secure OTP Support in spl"
depends on SPL_MISC
help
Support read & write secure otp in spl.
config CMD_CROS_EC
bool "Enable crosec command"
depends on CROS_EC

View File

@ -53,3 +53,4 @@ obj-$(CONFIG_WINBOND_W83627) += winbond_w83627.o
obj-$(CONFIG_QFW) += qfw.o
obj-$(CONFIG_ROCKCHIP_EFUSE) += rockchip-efuse.o
obj-$(CONFIG_ROCKCHIP_OTP) += rockchip-otp.o
obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_SECURE_OTP) += rockchip-secure-otp.o

File diff suppressed because it is too large Load Diff