set target cpu variant for vexpress devices
TARGET_CPU_VARIANT is set to "cortex-a15" for Juice and
"cortex-a9" for rest of the builds e.g TC2, VE-A9, MP.. for the time being.
Change-Id: Id8aec969298bdf94b34ab5b9ff7ea8f7e6fd94bf
Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 9dc5fa3..35f254f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -50,6 +50,8 @@
linaro/configs/juice.conf
CUSTOM_BOOTLOADER_MAKEFILE := device/linaro/vexpress/bootloader64.mk
+TARGET_CPU_VARIANT := cortex-a15
+
else ifeq ($(strip $(BUILD_IKS)),true)
#
# IKS
@@ -74,6 +76,8 @@
TARGET_UBOOT_SOURCE := u-boot/linaro/vexpress-iks
TARGET_KERNEL_SOURCE := kernel/linaro/vexpress-iks
+TARGET_CPU_VARIANT := cortex-a9
+
else
#
# MP
@@ -103,6 +107,8 @@
INSTALLED_RAMDISK_TARGET_NAME := initrd
INCLUDE_PERF := 0
+TARGET_CPU_VARIANT := cortex-a9
+
endif