diff options
author | Peter Collingbourne <pcc@google.com> | 2022-02-02 11:33:05 -0800 |
---|---|---|
committer | Peter Collingbourne <pcc@google.com> | 2022-02-18 20:03:11 -0800 |
commit | c934188606b47f6041043d37fffbebbff9d00c0b (patch) | |
tree | 10317b1c62f9c5c16a2e01e1c0a1329ffeea6fc7 /db845c | |
parent | eccedd396113be155fccf7f53f73bd4e4f16c49b (diff) |
Move the architecture definitions into the device-specific BoardConfigs.
Newer SOC generations may have different levels of CPU feature support
(e.g. SM8450 which is ARMv9), so let's allow the individual boards to
specify their own sets of features.
Bug: 217455793
Change-Id: I6852683ad14a8fa6b0fc22f39e0c9c7823d1da2c
Diffstat (limited to 'db845c')
-rw-r--r-- | db845c/BoardConfig.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db845c/BoardConfig.mk b/db845c/BoardConfig.mk index 7ef8549..2c1fb25 100644 --- a/db845c/BoardConfig.mk +++ b/db845c/BoardConfig.mk @@ -1,5 +1,18 @@ include device/linaro/dragonboard/BoardConfigCommon.mk +# Primary Arch +TARGET_ARCH := arm64 +TARGET_ARCH_VARIANT := armv8-2a +TARGET_CPU_VARIANT := kryo385 +TARGET_CPU_ABI := arm64-v8a + +# Secondary Arch +TARGET_2ND_ARCH := arm +TARGET_2ND_ARCH_VARIANT := armv8-2a +TARGET_2ND_CPU_VARIANT := kryo385 +TARGET_2ND_CPU_ABI := armeabi-v7a +TARGET_2ND_CPU_ABI2 := armeabi + # Board Information TARGET_BOOTLOADER_BOARD_NAME := db845c TARGET_BOARD_PLATFORM := db845c |