From 149dcdad46272b116cfe7e9615afe207d7cdfb05 Mon Sep 17 00:00:00 2001 From: johnmart19 Date: Sat, 29 Jan 2022 12:29:04 +0000 Subject: [PATCH] sm7250-common: BoardConfig: Apply latest Kryo 785 & 385 Optmiziations - Kryo 785 for 64 bit Operations - Kryo 385 for our Cortex A55 small cores --------------- This change require commits in system: build_soong: PixelPlusUI-SnowCone/build_soong@3ccb23e5f46f370c9c26a33980a9e011b4405420 bionic: PixelPlusUI-SnowCone/bionic@d9150457a9c094784dc5535ca4ecc7a462d91e01 art: PixelPlusUI-SnowCone/art@47b140b6e90f4d49786a4e2e316f064b063a75e9 Signed-off-by: chandu078 Signed-off-by: Manikantaraavi Signed-off-by: Sandeep-FED --- BoardConfigCommon.mk | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk index 0fea092..9212fb7 100644 --- a/BoardConfigCommon.mk +++ b/BoardConfigCommon.mk @@ -23,20 +23,19 @@ COMMON_PATH := device/oneplus/sm7250-common # Architecture TARGET_ARCH := arm64 -TARGET_ARCH_VARIANT := armv8-a +TARGET_ARCH_VARIANT := armv8-2a-dotprod TARGET_CPU_ABI := arm64-v8a -TARGET_CPU_ABI2 := -TARGET_CPU_VARIANT := generic -TARGET_CPU_VARIANT_RUNTIME := kryo385 +TARGET_CPU_VARIANT := cortex-a76 +TARGET_CPU_VARIANT := kryo785 +ifeq (,$(filter %_64,$(TARGET_PRODUCT))) TARGET_2ND_ARCH := arm -TARGET_2ND_ARCH_VARIANT := armv8-a +TARGET_2ND_ARCH_VARIANT := armv8-2a TARGET_2ND_CPU_ABI := armeabi-v7a TARGET_2ND_CPU_ABI2 := armeabi -TARGET_2ND_CPU_VARIANT := generic -TARGET_2ND_CPU_VARIANT_RUNTIME := kryo385 - -TARGET_USES_64_BIT_BINDER := true +TARGET_2ND_CPU_VARIANT := cortex-a76 +TARGET_2ND_CPU_VARIANT := kryo385 +endif # Bootloader TARGET_BOOTLOADER_BOARD_NAME := lito