diff options
author | Ting Shen <phoenixshen@google.com> | 2023-01-18 16:31:22 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-01-19 05:56:07 +0000 |
commit | 2a27f4e5291b4e35adb487a64c891e9595294b64 (patch) | |
tree | e77371ff0ee1cff0e42f2c005e1231e558b63149 | |
parent | 266693ffe32bf59aa91d7f021e08bdd5aa9773b0 (diff) | |
download | chrome-ec-2a27f4e5291b4e35adb487a64c891e9595294b64.tar.gz |
zephyr: remove /dts-v1/ in .dtsi files
According to devicetree spec 0.4, section 6.4 File layout,
/dts-v1/ line should not appear in the middle of a preprocessed dts
file. In general we should only put /dts-v1/ in .dts files, not
.dtsi.
DTS compiler didn't catch these because they are in the first
#include directive of dts file.
BUG=b:265763662
TEST=zmake compare-builds --all
BRANCH=none
Change-Id: I5d14c4713c23d29197bbd280da6a1ca6712efd43
Signed-off-by: Ting Shen <phoenixshen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4176183
Reviewed-by: Keith Short <keithshort@chromium.org>
Tested-by: Ting Shen <phoenixshen@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Commit-Queue: Ting Shen <phoenixshen@chromium.org>
-rw-r--r-- | zephyr/include/cros/microchip/mec1727.dtsi | 2 | ||||
-rw-r--r-- | zephyr/include/cros/microchip/mec172x.dtsi | 2 | ||||
-rw-r--r-- | zephyr/include/cros/nuvoton/npcx.dtsi | 2 | ||||
-rw-r--r-- | zephyr/include/cros/nuvoton/npcx7.dtsi | 2 | ||||
-rw-r--r-- | zephyr/include/cros/nuvoton/npcx9.dtsi | 2 |
5 files changed, 0 insertions, 10 deletions
diff --git a/zephyr/include/cros/microchip/mec1727.dtsi b/zephyr/include/cros/microchip/mec1727.dtsi index 5f84a1a99e..9760853596 100644 --- a/zephyr/include/cros/microchip/mec1727.dtsi +++ b/zephyr/include/cros/microchip/mec1727.dtsi @@ -3,8 +3,6 @@ * found in the LICENSE file. */ -/dts-v1/; - #include <cros/binman.dtsi> #include <microchip/mec1727nsz.dtsi> diff --git a/zephyr/include/cros/microchip/mec172x.dtsi b/zephyr/include/cros/microchip/mec172x.dtsi index e2cb0ff1c2..d47a98bd48 100644 --- a/zephyr/include/cros/microchip/mec172x.dtsi +++ b/zephyr/include/cros/microchip/mec172x.dtsi @@ -3,8 +3,6 @@ * found in the LICENSE file. */ -/dts-v1/; - #include <cros/binman.dtsi> #include <microchip/mec172xnsz.dtsi> diff --git a/zephyr/include/cros/nuvoton/npcx.dtsi b/zephyr/include/cros/nuvoton/npcx.dtsi index d2e7a9e19f..1237581158 100644 --- a/zephyr/include/cros/nuvoton/npcx.dtsi +++ b/zephyr/include/cros/nuvoton/npcx.dtsi @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/dts-v1/; - #include <cros/binman.dtsi> #include <nuvoton/npcx.dtsi> diff --git a/zephyr/include/cros/nuvoton/npcx7.dtsi b/zephyr/include/cros/nuvoton/npcx7.dtsi index ca69343054..b1a5640f22 100644 --- a/zephyr/include/cros/nuvoton/npcx7.dtsi +++ b/zephyr/include/cros/nuvoton/npcx7.dtsi @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/dts-v1/; - #include <cros/nuvoton/npcx.dtsi> &pinctrl { diff --git a/zephyr/include/cros/nuvoton/npcx9.dtsi b/zephyr/include/cros/nuvoton/npcx9.dtsi index 3889437342..1a993afcbc 100644 --- a/zephyr/include/cros/nuvoton/npcx9.dtsi +++ b/zephyr/include/cros/nuvoton/npcx9.dtsi @@ -4,8 +4,6 @@ * SPDX-License-Identifier: Apache-2.0 */ -/dts-v1/; - #include <cros/nuvoton/npcx.dtsi> / { |