aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorLuden <luden@ghostmail.com>2016-03-10 01:07:37 +0100
committerZiyan <jaraidaniel@gmail.com>2016-04-03 14:57:30 +0200
commitf460346c9be8bfe2c5b904ba54c46b53fdee6a43 (patch)
tree533e1852c6ef75901a61febe97f8e6e71634bb5c /arch
parente1c6fce23182b44f8d9e27e6fba09cb64519d15e (diff)
downloadkernel_samsung_tuna-f460346c9be8bfe2c5b904ba54c46b53fdee6a43.zip
kernel_samsung_tuna-f460346c9be8bfe2c5b904ba54c46b53fdee6a43.tar.gz
kernel_samsung_tuna-f460346c9be8bfe2c5b904ba54c46b53fdee6a43.tar.bz2
Power usage bug work-around for tuna SMC.
This commit implements the work-around for the power usage bug in tuna SMC PA and enables SMC-related kernel options. Note that in order to take advantage of this code there are also some userspace changes that are required, e.g. enabling SMC PA loading and using tuna keymaster version that is ported to Keymaster HAL 0. Change-Id: I0e4705c6959e73fbeaec9bfb62d5e82e1dfa62a4
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/configs/cyanogenmod_tuna_defconfig4
-rw-r--r--arch/arm/configs/tuna_defconfig4
2 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/configs/cyanogenmod_tuna_defconfig b/arch/arm/configs/cyanogenmod_tuna_defconfig
index c41e079..6063a00 100644
--- a/arch/arm/configs/cyanogenmod_tuna_defconfig
+++ b/arch/arm/configs/cyanogenmod_tuna_defconfig
@@ -2690,9 +2690,9 @@ CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_IMA is not set
CONFIG_TF_ZEBRA=y
-# CONFIG_TF_CRYPTO_RNG is not set
+CONFIG_TF_CRYPTO_RNG=y
CONFIG_SECURITY_MIDDLEWARE_COMPONENT=y
-# CONFIG_SMC_KERNEL_CRYPTO is not set
+CONFIG_SMC_KERNEL_CRYPTO=y
CONFIG_SECURE_TRACE=y
# CONFIG_TF_DRIVER_DEBUG_SUPPORT is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y
diff --git a/arch/arm/configs/tuna_defconfig b/arch/arm/configs/tuna_defconfig
index ea9342c..9544c95 100644
--- a/arch/arm/configs/tuna_defconfig
+++ b/arch/arm/configs/tuna_defconfig
@@ -2690,9 +2690,9 @@ CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1
# CONFIG_SECURITY_APPARMOR is not set
# CONFIG_IMA is not set
CONFIG_TF_ZEBRA=y
-# CONFIG_TF_CRYPTO_RNG is not set
+CONFIG_TF_CRYPTO_RNG=y
CONFIG_SECURITY_MIDDLEWARE_COMPONENT=y
-# CONFIG_SMC_KERNEL_CRYPTO is not set
+CONFIG_SMC_KERNEL_CRYPTO=y
CONFIG_SECURE_TRACE=y
# CONFIG_TF_DRIVER_DEBUG_SUPPORT is not set
CONFIG_DEFAULT_SECURITY_SELINUX=y