summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorBertrand Marquis <bertrand.marquis@arm.com>2019-09-25 18:24:56 +0100
committerCiro Santilli <ciro.santilli@arm.com>2019-11-20 13:36:34 +0000
commit03a09a9f5c1e06b3711d803bfed7e5efa1d68486 (patch)
treea7d023ca88728a5de6c0af97b0e5570f66b87530 /system
parentc3686edebff2cc187e1a5f4da08ae410df7d23b1 (diff)
downloadgem5-03a09a9f5c1e06b3711d803bfed7e5efa1d68486.tar.xz
system-arm: Use dts include instead of cpp in ARM DTBs
Change-Id: I342691a42e84dfe53659a7acb3b8db04e52e3002 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22824 Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com> Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'system')
-rw-r--r--system/arm/dt/Makefile4
-rw-r--r--system/arm/dt/armv7.dts4
-rw-r--r--system/arm/dt/armv8.dts4
-rw-r--r--system/arm/dt/armv8_big_little.dts4
-rw-r--r--system/arm/dt/platforms/vexpress_gem5_v1.dtsi4
-rw-r--r--system/arm/dt/platforms/vexpress_gem5_v2.dtsi4
6 files changed, 12 insertions, 12 deletions
diff --git a/system/arm/dt/Makefile b/system/arm/dt/Makefile
index c472a0e09..2d8ca6ec8 100644
--- a/system/arm/dt/Makefile
+++ b/system/arm/dt/Makefile
@@ -1,4 +1,4 @@
-# Copyright (c) 2015-2016 ARM Limited
+# Copyright (c) 2015-2016, 2019 ARM Limited
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -56,7 +56,7 @@ VEXPRESS_GEM5_V2_DTSIS=\
GEN_DTS=mkdir -p .gen; \
$(CPP) -x assembler-with-cpp \
$(DTC_CPP_FLAGS) \
- -DCONF_PLATFORM=\"platforms/$(1)\" \
+ -DCONF_PLATFORM=\"../platforms/$(1)\" \
-DCONF_CPUS=$(2) \
-o $@ $<
diff --git a/system/arm/dt/armv7.dts b/system/arm/dt/armv7.dts
index c9c252347..96b37ec57 100644
--- a/system/arm/dt/armv7.dts
+++ b/system/arm/dt/armv7.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2016 ARM Limited
+ * Copyright (c) 2015-2016, 2019 ARM Limited
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -30,7 +30,7 @@
/dts-v1/;
-#include CONF_PLATFORM
+/include/ CONF_PLATFORM
#define CPU(n) \
cpu@ ## n { \
diff --git a/system/arm/dt/armv8.dts b/system/arm/dt/armv8.dts
index 20d58a812..e221e6a45 100644
--- a/system/arm/dt/armv8.dts
+++ b/system/arm/dt/armv8.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2016 ARM Limited
+ * Copyright (c) 2015-2016, 2019 ARM Limited
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -32,7 +32,7 @@
/memreserve/ 0x80000000 0x00010000;
-#include CONF_PLATFORM
+/include/ CONF_PLATFORM
#define CPU(n) \
cpu@ ## n { \
diff --git a/system/arm/dt/armv8_big_little.dts b/system/arm/dt/armv8_big_little.dts
index 83d2db76f..347cfe394 100644
--- a/system/arm/dt/armv8_big_little.dts
+++ b/system/arm/dt/armv8_big_little.dts
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2016 ARM Limited
+ * Copyright (c) 2015-2016, 2019 ARM Limited
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -33,7 +33,7 @@
/memreserve/ 0x80000000 0x00010000;
-#include CONF_PLATFORM
+/include/ CONF_PLATFORM
/* Assign a unique ID for pre-defined configurations. The selected
* configuration is picked up from CONF_CPUS
diff --git a/system/arm/dt/platforms/vexpress_gem5_v1.dtsi b/system/arm/dt/platforms/vexpress_gem5_v1.dtsi
index 60f68f7b2..d9c387703 100644
--- a/system/arm/dt/platforms/vexpress_gem5_v1.dtsi
+++ b/system/arm/dt/platforms/vexpress_gem5_v1.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2018 ARM Limited
+ * Copyright (c) 2015-2019 ARM Limited
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,7 @@
* Authors: Andreas Sandberg
*/
-#include "vexpress_gem5_v1_base.dtsi"
+/include/ "vexpress_gem5_v1_base.dtsi"
/ {
/* The display processor needs custom configuration to setup its
diff --git a/system/arm/dt/platforms/vexpress_gem5_v2.dtsi b/system/arm/dt/platforms/vexpress_gem5_v2.dtsi
index 8c7a903c7..9e4ccbdf5 100644
--- a/system/arm/dt/platforms/vexpress_gem5_v2.dtsi
+++ b/system/arm/dt/platforms/vexpress_gem5_v2.dtsi
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2015-2018 ARM Limited
+ * Copyright (c) 2015-2019 ARM Limited
* All rights reserved
*
* Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,7 @@
* Authors: Andreas Sandberg
*/
-#include "vexpress_gem5_v2_base.dtsi"
+/include/ "vexpress_gem5_v2_base.dtsi"
/ {
/* The display processor needs custom configuration to setup its