summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJake Weinstein <xboxlover360@gmail.com>2017-06-23 12:23:08 -0400
committerJake Weinstein <xboxlover360@gmail.com>2017-06-23 12:38:53 -0400
commitf2de134804b629eba55f77d3e99daec99350734c (patch)
treecaeea4bad696a50a27d203a9bf3757ccf8fabc9f
parentdc7e5e125a09769bc98db3a24a61635a53af775d (diff)
downloadhikey-f2de134804b629eba55f77d3e99daec99350734c.tar.gz
hikey: Optimize CPU Targets for each variant
hikey has A53 cores, while hikey960 has A73 and A53 cores. Bionic now has A73-specific configuration, so this CL uses the optimal CPU configuration for both targets. Change-Id: I5f15c8fdc43fcab5e4f01b3685f3e19b9916c0bf
-rw-r--r--BoardConfigCommon.mk2
-rw-r--r--hikey/BoardConfig.mk3
-rw-r--r--hikey960/BoardConfig.mk3
3 files changed, 6 insertions, 2 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index a9dc47d7..dd90ce35 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -2,14 +2,12 @@
TARGET_ARCH := arm64
TARGET_ARCH_VARIANT := armv8-a
TARGET_CPU_ABI := arm64-v8a
-TARGET_CPU_VARIANT := cortex-a53
# Secondary Arch
TARGET_2ND_ARCH := arm
TARGET_2ND_ARCH_VARIANT := armv7-a-neon
TARGET_2ND_CPU_ABI := armeabi-v7a
TARGET_2ND_CPU_ABI2 := armeabi
-TARGET_2ND_CPU_VARIANT := cortex-a53
TARGET_USES_64_BIT_BINDER := true
TARGET_SUPPORTS_32_BIT_APPS := true
diff --git a/hikey/BoardConfig.mk b/hikey/BoardConfig.mk
index df970483..7844ecbb 100644
--- a/hikey/BoardConfig.mk
+++ b/hikey/BoardConfig.mk
@@ -1,5 +1,8 @@
include device/linaro/hikey/BoardConfigCommon.mk
+TARGET_CPU_VARIANT := cortex-a53
+TARGET_2ND_CPU_VARIANT := cortex-a53
+
TARGET_BOARD_PLATFORM := hikey
ifeq ($(TARGET_KERNEL_USE), 3.18)
BOARD_KERNEL_CMDLINE := console=ttyAMA3,115200 androidboot.console=ttyAMA3 androidboot.hardware=hikey firmware_class.path=/system/etc/firmware efi=noruntime
diff --git a/hikey960/BoardConfig.mk b/hikey960/BoardConfig.mk
index aa88903e..3b1bd505 100644
--- a/hikey960/BoardConfig.mk
+++ b/hikey960/BoardConfig.mk
@@ -1,5 +1,8 @@
include device/linaro/hikey/BoardConfigCommon.mk
+TARGET_CPU_VARIANT := cortex-a73
+TARGET_2ND_CPU_VARIANT := cortex-a73
+
TARGET_BOARD_PLATFORM := hikey960
TARGET_NO_DTIMAGE := false