diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 876defa8d3..efdce0220a 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -92,11 +92,12 @@ config SPL_ROCKCHIP_HW_DECOMPRESS This driver support Decompress IP built-in Rockchip SoC, support LZ4, GZIP, PNG, ZLIB. -config SPL_ROCKCHIP_SECURE_OTP - bool "Rockchip Secure OTP Support in spl" +config SPL_ROCKCHIP_SECURE_OTP_V1 + bool "Rockchip Secure OTP Version 1 Support in spl" depends on SPL_MISC help - Support read & write secure otp in spl. + Support read & write secure otp in spl. Support platforms: rk3308, + rk3326, px30, rk3568, rk3566. config SPL_ROCKCHIP_SECURE_OTP_V2 bool "Rockchip Secure OTP Version 2 Support in spl" diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile index 2ff2e137e8..4763a9e13b 100644 --- a/drivers/misc/Makefile +++ b/drivers/misc/Makefile @@ -54,6 +54,6 @@ 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 +obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_SECURE_OTP_V1) += rockchip-secure-otp.o obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_SECURE_OTP_V2) += rockchip-secure-otp-v2.o obj-$(CONFIG_$(SPL_TPL_)ROCKCHIP_HW_DECOMPRESS) += rockchip_decompress.o