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

View File

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