summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYongqin Liu <yongqin.liu@linaro.org>2023-01-03 17:28:09 +0800
committerYongqin Liu <yongqin.liu@linaro.org>2023-01-03 11:52:33 +0000
commitca30a6e8038596ff57016080d392d49bd20aead2 (patch)
tree52f57115331c5e05d06f00f37f58633882edbe0b
parent28b9d86cd3f0ed5df9268f4f94f4d44fe33041c7 (diff)
downloadhikey-ca30a6e8038596ff57016080d392d49bd20aead2.tar.gz
hikey960.mk: set HIKEY_USES_GKI true for mainline kernel
to avoid invonvenience when forgot to set explicitly, which will cause boot failures on the adb connections Test: booted to homescreen with the mainline kernel and adb connection works Change-Id: I07e22d831a747915e7926fba584b0665c1d3f558 Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
-rw-r--r--hikey960.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/hikey960.mk b/hikey960.mk
index 3a58d251..673181c6 100644
--- a/hikey960.mk
+++ b/hikey960.mk
@@ -8,6 +8,10 @@ TARGET_PREBUILT_DTB := $(LOCAL_KERNEL_HOME)/hi3660-hikey960.dtb
ifndef HIKEY_USES_GKI
ifeq ($(TARGET_KERNEL_USE), 5.4)
HIKEY_USES_GKI := true
+ else
+ ifeq ($(TARGET_KERNEL_USE), mainline)
+ HIKEY_USES_GKI := true
+ endif
endif
endif