system-arm: Use dts include instead of cpp in ARM DTBs
authorBertrand Marquis <bertrand.marquis@arm.com>
Wed, 25 Sep 2019 17:24:56 +0000 (18:24 +0100)
committerCiro Santilli <ciro.santilli@arm.com>
Wed, 20 Nov 2019 13:36:34 +0000 (13:36 +0000)
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>
system/arm/dt/Makefile
system/arm/dt/armv7.dts
system/arm/dt/armv8.dts
system/arm/dt/armv8_big_little.dts
system/arm/dt/platforms/vexpress_gem5_v1.dtsi
system/arm/dt/platforms/vexpress_gem5_v2.dtsi

index c472a0e09c7a823011e5aa711f5c3fdef30e319b..2d8ca6ec8e46f4ebba971c7837b00ea6a2f389dc 100644 (file)
@@ -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 $@ $<
 
index c9c2523476b07894c059dda59f17bfe85dbf1991..96b37ec570047ab578c6fa30d41f85e1dbefc7db 100644 (file)
@@ -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 { \
index 20d58a81296d9faf541faa720ac1ce67b07f6179..e221e6a4553153bc571d56f78828ee6806795102 100644 (file)
@@ -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 { \
index 83d2db76ffdf746018b3da912653228e5e3f5e30..347cfe3942a8cf9989f014c92f3cef01d9178856 100644 (file)
@@ -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
index 60f68f7b266714f92e2ec31af2f9bb094da91a7e..d9c387703ca9ad1b9cceeb76cb005f72f28e6bd5 100644 (file)
@@ -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
index 8c7a903c77c4763d33869e8e945af2edb8f0d5f6..9e4ccbdf5e6972ae9e95a3c761d7d81d07688b53 100644 (file)
@@ -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