system-arm: bigLITTLE with VExpress_GEM5_V2 in dtb
This patch adds targets in the device tree Makefile for using
bigLITTLE DTS with VExpress_GEM5_V2 platform.
Change-Id: I7a424a36c78a24b96224526aa112ac5d060f790b
Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24083
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
diff --git a/system/arm/dt/Makefile b/system/arm/dt/Makefile
index 2d8ca6e..1bb6870 100644
--- a/system/arm/dt/Makefile
+++ b/system/arm/dt/Makefile
@@ -1,4 +1,4 @@
-# Copyright (c) 2015-2016, 2019 ARM Limited
+# Copyright (c) 2015-2016, 2019-2020 ARM Limited
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -43,7 +43,9 @@
TARGETS=\
$(foreach prefix, $(TARGET_PREFIX), $(call CREATE_TARGET, $(prefix))) \
armv8_gem5_v1_big_little_2_2.dtb \
- armv8_gem5_v1_big_little_2_4.dtb
+ armv8_gem5_v1_big_little_2_4.dtb \
+ armv8_gem5_v2_big_little_2_2.dtb \
+ armv8_gem5_v2_big_little_2_4.dtb
VEXPRESS_GEM5_V1_DTSIS=\
platforms/vexpress_gem5_v1.dtsi \
@@ -75,6 +77,10 @@
$(VEXPRESS_GEM5_V1_DTSIS)
$(call GEN_DTS,vexpress_gem5_v1.dtsi,$*)
+.gen/armv8_gem5_v2_big_little%.dts: armv8_big_little.dts \
+ $(VEXPRESS_GEM5_V2_DTSIS)
+ $(call GEN_DTS,vexpress_gem5_v2.dtsi,$*)
+
%.dtb: .gen/%.dts
$(DTC) -I dts -O dtb -o $@ $<