ARM: socfpga: dts: convert to preprocessor includes
PATCH 1/1 ARM: socfpga: dts: convert to preprocessor includes
Convert all socfpga DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other SoC-types already do.
Signed-off-by Steffen Trumtrar <[email protected]>
--- arch/arm/boot/dts/socfpga.dtsi | 2 +- arch/arm/boot/dts/socfpga_arria5.dtsi | 2 +- arch/arm/boot/dts/socfpga_arria5_socdk.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 2 +- arch/arm/boot/dts/socfpga_vt.dts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
arch/arm/boot/dts/socfpga.dtsi +1 -1
@@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "skeleton.dtsi" +#include "skeleton.dtsi" / { #address-cells = <1>;
arch/arm/boot/dts/socfpga_arria5.dtsi +1 -1
@@ -15,7 +15,7 @@ */ /dts-v1/; -/include/ "socfpga.dtsi" +#include "socfpga.dtsi" / { soc {
arch/arm/boot/dts/socfpga_arria5_socdk.dts +1 -1
@@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_arria5.dtsi" +#include "socfpga_arria5.dtsi" / { model = "Altera SOCFPGA Arria V SoC Development Kit";
arch/arm/boot/dts/socfpga_cyclone5.dtsi +1 -1
@@ -16,7 +16,7 @@ */ /dts-v1/; -/include/ "socfpga.dtsi" +#include "socfpga.dtsi" / { soc {
arch/arm/boot/dts/socfpga_cyclone5_socdk.dts +1 -1
@@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_cyclone5.dtsi" +#include "socfpga_cyclone5.dtsi" / { model = "Altera SOCFPGA Cyclone V SoC Development Kit";
arch/arm/boot/dts/socfpga_cyclone5_sockit.dts +1 -1
@@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_cyclone5.dtsi" +#include "socfpga_cyclone5.dtsi" / { model = "Terasic SoCkit";
arch/arm/boot/dts/socfpga_cyclone5_socrates.dts +1 -1
@@ -15,7 +15,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/include/ "socfpga_cyclone5.dtsi" +#include "socfpga_cyclone5.dtsi" / { model = "EBV SOCrates";
arch/arm/boot/dts/socfpga_vt.dts +1 -1
@@ -16,7 +16,7 @@ */ /dts-v1/; -/include/ "socfpga.dtsi" +#include "socfpga.dtsi" / { model = "Altera SOCFPGA VT";
Signature · 1 line
1.9.1
Dinh Nguyen
AppliedPATCH 1/1 ARM: socfpga: dts: convert to preprocessor includes
Quoted 5 lines · Steffen Trumtrar
Convert all socfpga DT files to the dtc preprocessor include syntax. This allows to include header files in the devicetrees like other SoC-types already do.
Signed-off-by Steffen Trumtrar <[email protected]>
Quoted 11 lines
--- arch/arm/boot/dts/socfpga.dtsi | 2 +- arch/arm/boot/dts/socfpga_arria5.dtsi | 2 +- arch/arm/boot/dts/socfpga_arria5_socdk.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5.dtsi | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socdk.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5_sockit.dts | 2 +- arch/arm/boot/dts/socfpga_cyclone5_socrates.dts | 2 +- arch/arm/boot/dts/socfpga_vt.dts | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)
I have applied this to rocketboards linux-socfpga-next/next-dt.
Thanks,
Dinh