ARM: tegra: use #include for all device trees

Replace /include/ (dtc) with #include (C pre-processor) for all Tegra DT
files, so that gcc -E handles the entire include tree, and hence any of
those files can #include some other file e.g. for constant definitions.

This allows future use of #defines and header files in order to define
names for various constants, such as the IDs and flags in GPIO
specifiers. Use of those features will increase the readability of the
device tree files.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
This commit is contained in:
Stephen Warren 2012-10-17 16:38:21 -06:00
parent b4dd3e0c0c
commit 1bd0bd499d
21 changed files with 21 additions and 21 deletions

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra114.dtsi"
#include "tegra114.dtsi"
/ {
model = "NVIDIA Tegra114 Dalmore evaluation board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra114.dtsi"
#include "tegra114.dtsi"
/ {
model = "NVIDIA Tegra114 Pluto evaluation board";

View File

@ -1,4 +1,4 @@
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra114";

View File

@ -1,4 +1,4 @@
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Toradex Colibri T20 512MB";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Harmony evaluation board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20-colibri-512.dtsi"
#include "tegra20-colibri-512.dtsi"
/ {
model = "Toradex Colibri T20 512MB on Iris";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Medcom-Wide board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Toshiba AC100 / Dynabook AZ";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Plutux board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Seaboard";

View File

@ -1,4 +1,4 @@
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Avionic Design Tamonten SOM";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20-tamonten.dtsi"
#include "tegra20-tamonten.dtsi"
/ {
model = "Avionic Design Tamonten Evaluation Carrier";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "Compulab TrimSlice board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Ventana evaluation board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra20.dtsi"
#include "tegra20.dtsi"
/ {
model = "NVIDIA Tegra20 Whistler evaluation board";

View File

@ -1,4 +1,4 @@
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra20";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra30.dtsi"
#include "tegra30.dtsi"
/ {
model = "NVIDIA Tegra30 Beaver evaluation board";

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra30-cardhu.dtsi"
#include "tegra30-cardhu.dtsi"
/* This dts file support the cardhu A02 version of board */

View File

@ -1,6 +1,6 @@
/dts-v1/;
/include/ "tegra30-cardhu.dtsi"
#include "tegra30-cardhu.dtsi"
/* This dts file support the cardhu A04 and later versions of board */

View File

@ -1,4 +1,4 @@
/include/ "tegra30.dtsi"
#include "tegra30.dtsi"
/**
* This file contains common DT entry for all fab version of Cardhu.

View File

@ -1,4 +1,4 @@
/include/ "skeleton.dtsi"
#include "skeleton.dtsi"
/ {
compatible = "nvidia,tegra30";