Skip to content

Commit 0d762f4

Browse files
jcmvbkbcsmb49
authored andcommitted
xtensa: fix DTC warning unit_address_format
BugLink: https://bugs.launchpad.net/bugs/1971497 [ Upstream commit e85d29b ] 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> Signed-off-by: Kamal Mostafa <kamal@canonical.com> Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
1 parent e3e35c1 commit 0d762f4

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

arch/xtensa/boot/dts/xtfpga-flash-128m.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
reg = <0x00000000 0x08000000>;
99
bank-width = <2>;
1010
device-width = <2>;
11-
partition@0x0 {
11+
partition@0 {
1212
label = "data";
1313
reg = <0x00000000 0x06000000>;
1414
};
15-
partition@0x6000000 {
15+
partition@6000000 {
1616
label = "boot loader area";
1717
reg = <0x06000000 0x00800000>;
1818
};
19-
partition@0x6800000 {
19+
partition@6800000 {
2020
label = "kernel image";
2121
reg = <0x06800000 0x017e0000>;
2222
};
23-
partition@0x7fe0000 {
23+
partition@7fe0000 {
2424
label = "boot environment";
2525
reg = <0x07fe0000 0x00020000>;
2626
};

arch/xtensa/boot/dts/xtfpga-flash-16m.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,19 @@
88
reg = <0x08000000 0x01000000>;
99
bank-width = <2>;
1010
device-width = <2>;
11-
partition@0x0 {
11+
partition@0 {
1212
label = "boot loader area";
1313
reg = <0x00000000 0x00400000>;
1414
};
15-
partition@0x400000 {
15+
partition@400000 {
1616
label = "kernel image";
1717
reg = <0x00400000 0x00600000>;
1818
};
19-
partition@0xa00000 {
19+
partition@a00000 {
2020
label = "data";
2121
reg = <0x00a00000 0x005e0000>;
2222
};
23-
partition@0xfe0000 {
23+
partition@fe0000 {
2424
label = "boot environment";
2525
reg = <0x00fe0000 0x00020000>;
2626
};

arch/xtensa/boot/dts/xtfpga-flash-4m.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
reg = <0x08000000 0x00400000>;
99
bank-width = <2>;
1010
device-width = <2>;
11-
partition@0x0 {
11+
partition@0 {
1212
label = "boot loader area";
1313
reg = <0x00000000 0x003f0000>;
1414
};
15-
partition@0x3f0000 {
15+
partition@3f0000 {
1616
label = "boot environment";
1717
reg = <0x003f0000 0x00010000>;
1818
};

0 commit comments

Comments
 (0)