mach-msm: Fix dependencies for TIMA configs

* Don't force TIMA_LKMAUTH for modules
* Make all TIMA options depend on TIMA

Change-Id: I8c2c81ba8df5ca6a92ab0fbcba2501c6680a4c57
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
This commit is contained in:
Paul Keith 2018-03-27 03:16:55 +02:00 committed by Francescodario Cuzzocrea
parent 15ce2232a0
commit 50b35bea73
2 changed files with 3 additions and 1 deletions

View File

@ -4775,6 +4775,7 @@ config SWITCH_DUAL_MODEM
config TIMA_RKP
bool "Enable RKP (Realtime Kernel Protection) TIMA feature"
depends on TIMA
default n
config TIMA_RKP_30
@ -4845,6 +4846,7 @@ config TIMA
config TIMA_LKMAUTH
bool "Enable LKM authentication TIMA feature"
depends on TIMA && MODULES
default n
help
TIMA authenticates loaded kernel modules. Disable it if you don't
@ -4860,6 +4862,7 @@ config TIMA_LKMAUTH_CODE_PROT
config TIMA_TEST_INFRA
tristate "Testing infrastructure for TIMA"
depends on TIMA
default n
help
Kernel bits of the TIMA test infrastructure

View File

@ -1379,7 +1379,6 @@ config BASE_SMALL
menuconfig MODULES
bool "Enable loadable module support"
select TIMA_LKMAUTH
help
Kernel modules are small pieces of compiled code which can
be inserted in the running kernel, rather than being