[U-Boot] [PATCH 21/40] arm64: zynqmp: Remove leading 0s from mtd table for spi flashes

Michal Simek michal.simek at xilinx.com
Mon Nov 6 12:12:53 UTC 2017


dtc reports issues with it.
arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb: Warning
(unit_address_format): Node
/amba/spi at ff040000/spi0_flash0 at 0/spi0_flash0 at 00000000 unit name should
not have leading 0s
arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb: Warning
(unit_address_format): Node
/amba/spi at ff050000/spi1_flash0 at 0/spi1_flash0 at 00000000 unit name should
not have leading 0s
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dtb: Warning
(unit_address_format): Node
/amba/spi at ff040000/spi0_flash0 at 0/spi0_flash0 at 00000000 unit name should
not have leading 0s
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dtb: Warning
(unit_address_format): Node
/amba/spi at ff050000/spi1_flash0 at 0/spi1_flash0 at 00000000 unit name should
not have leading 0s

Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---

 arch/arm/dts/zynqmp-ep108.dts            | 4 ++--
 arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/arch/arm/dts/zynqmp-ep108.dts b/arch/arm/dts/zynqmp-ep108.dts
index a527f90e9837..b0096f14b444 100644
--- a/arch/arm/dts/zynqmp-ep108.dts
+++ b/arch/arm/dts/zynqmp-ep108.dts
@@ -174,7 +174,7 @@
 		spi-max-frequency = <50000000>;
 		reg = <0>;
 
-		spi0_flash0 at 00000000 {
+		spi0_flash0 at 0 {
 			label = "spi0_flash0";
 			reg = <0x0 0x100000>;
 		};
@@ -191,7 +191,7 @@
 		spi-max-frequency = <50000000>;
 		reg = <0>;
 
-		spi1_flash0 at 00000000 {
+		spi1_flash0 at 0 {
 			label = "spi1_flash0";
 			reg = <0x0 0x100000>;
 		};
diff --git a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
index 32847e1a66ea..f77d74ffcd66 100644
--- a/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
+++ b/arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts
@@ -197,7 +197,7 @@
 		spi-max-frequency = <50000000>;
 		reg = <0>;
 
-		spi0_flash0 at 00000000 {
+		spi0_flash0 at 0 {
 			label = "spi0_flash0";
 			reg = <0x0 0x100000>;
 		};
@@ -214,7 +214,7 @@
 		spi-max-frequency = <20000000>;
 		reg = <0>;
 
-		spi1_flash0 at 00000000 {
+		spi1_flash0 at 0 {
 			label = "spi1_flash0";
 			reg = <0x0 0x84000>;
 		};
-- 
1.9.1



More information about the U-Boot mailing list