diff options
author | Ji Luo <ji.luo@nxp.com> | 2020-05-11 12:20:27 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2020-05-15 17:34:40 +0800 |
commit | 9cbc851e571fa026f52704e588b2c6d3a9126856 (patch) | |
tree | 234993ed62a8aca951afd8cabfed2c61d8340482 /lib | |
parent | bd2cddc66369ce3bff22f3e1be95e5fec1ff75e2 (diff) |
MA-16084 Wrap oem unlock permission protection feature
Guard oem unlock permission protection feature with new config
'CONFIG_TRUSTY_UNLOCK_PERMISSION', so we can enable or disable
it as needed.
Test: build and boot on imx8mm.
Signed-off-by: Ji Luo <ji.luo@nxp.com>
(cherry picked from commit c664d8e8b94e9b6f66b2bf04d1be47e9b8a22978)
Change-Id: If1db4b46ecac21b8f187854531704eaff2df30c4
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Kconfig | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index 31b7165ffd..e5674b533a 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -346,6 +346,11 @@ config AT_AUTHENTICATE_UNLOCK config SECURE_UNLOCK bool "Enable secure unlock for Android devices, it can only be enabled on HAB closed board" + +config TRUSTY_UNLOCK_PERMISSION + bool "Support unlock permission protection in trusty" + depends on IMX_TRUSTY_OS + endmenu menu "Hashing Support" |