aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheckYourScreen <nimitmehta95@gmail.com>2017-06-18 08:39:33 +0200
committerSubhrajyoti Sen <subhrajyoti12@gmail.com>2017-06-20 22:27:10 +0530
commit6e1b9b7ef745fa98b380643ab4afc07c380d935e (patch)
tree6a49ba3a67a31e8ba651f94533390c0d522cb943
parent1145ce1b47da66b2ef1fb53376f15f3b4b44adc0 (diff)
onyx: Enable SVELTE to fix Wifi-Mobile Data issue
* fixes Wifi-Mobile Data Toggle issue which appears due to unexpected libc crash by passing an unallocated memory address. * Krait memcpy_base optimizations are responsible for that low memory issue which can either be fixed by enabling SVELTE or by switching to cortex-A15 optimizations instead of Krait, In this case its better to go for SVELTE instead of completely disabling Krait optimizations. Change-Id: Icd28ad9f39bcc79f7e651ee3f8cf6d2cc9869fde Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
-rw-r--r--BoardConfig.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index c1981fc..f05c619 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -51,6 +51,9 @@ TARGET_KERNEL_ARCH := arm
TARGET_KERNEL_CONFIG := lineageos_onyx_defconfig
TARGET_KERNEL_SOURCE := kernel/oneplus/onyx
+# Fixes Wifi-Mobile Data toggle issue
+MALLOC_SVELTE := true
+
# ANT+
BOARD_ANT_WIRELESS_DEVICE := "vfs-prerelease"