]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
xtensa: fix DTC warning unit_address_format
authorMax Filippov <jcmvbkbc@gmail.com>
Thu, 17 Mar 2022 09:49:41 +0000 (02:49 -0700)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 20 May 2022 12:40:50 +0000 (14:40 +0200)
BugLink: https://bugs.launchpad.net/bugs/1969107
[ Upstream commit e85d29ba4b24f68e7a78cb85c55e754362eeb2de ]

DTC issues the following warnings when building xtfpga device trees:

 /soc/flash@00000000/partition@0x0: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6000000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x6800000: unit name should not have leading "0x"
 /soc/flash@00000000/partition@0x7fe0000: unit name should not have leading "0x"

Drop leading 0x from flash partition unit names.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
(cherry picked from commit 11ba1aa212800bd29d602d8513a13226ce726bb3)
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi
arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi

index 9bf8bad1dd18afcf2ac4e64264784067e5863efe..c33932568aa73e618397095d30707db5913825f5 100644 (file)
@@ -8,19 +8,19 @@
                        reg = <0x00000000 0x08000000>;
                        bank-width = <2>;
                        device-width = <2>;
-                       partition@0x0 {
+                       partition@0 {
                                label = "data";
                                reg = <0x00000000 0x06000000>;
                        };
-                       partition@0x6000000 {
+                       partition@6000000 {
                                label = "boot loader area";
                                reg = <0x06000000 0x00800000>;
                        };
-                       partition@0x6800000 {
+                       partition@6800000 {
                                label = "kernel image";
                                reg = <0x06800000 0x017e0000>;
                        };
-                       partition@0x7fe0000 {
+                       partition@7fe0000 {
                                label = "boot environment";
                                reg = <0x07fe0000 0x00020000>;
                        };
index 40c2f81f7cb66f8f31b700070017698069b9c3c1..7bde2ab2d6fb5e49292a072c86ed665ef044fe56 100644 (file)
@@ -8,19 +8,19 @@
                        reg = <0x08000000 0x01000000>;
                        bank-width = <2>;
                        device-width = <2>;
-                       partition@0x0 {
+                       partition@0 {
                                label = "boot loader area";
                                reg = <0x00000000 0x00400000>;
                        };
-                       partition@0x400000 {
+                       partition@400000 {
                                label = "kernel image";
                                reg = <0x00400000 0x00600000>;
                        };
-                       partition@0xa00000 {
+                       partition@a00000 {
                                label = "data";
                                reg = <0x00a00000 0x005e0000>;
                        };
-                       partition@0xfe0000 {
+                       partition@fe0000 {
                                label = "boot environment";
                                reg = <0x00fe0000 0x00020000>;
                        };
index fb8d3a9f33c2308ca0e57ba7fd0caca83ed99b90..0655b868749a47ecbce044e9206b3215da3e0be3 100644 (file)
@@ -8,11 +8,11 @@
                        reg = <0x08000000 0x00400000>;
                        bank-width = <2>;
                        device-width = <2>;
-                       partition@0x0 {
+                       partition@0 {
                                label = "boot loader area";
                                reg = <0x00000000 0x003f0000>;
                        };
-                       partition@0x3f0000 {
+                       partition@3f0000 {
                                label = "boot environment";
                                reg = <0x003f0000 0x00010000>;
                        };