]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm64: zynqmp: Remove leading 0s from mtd table for spi flashes
authorMichal Simek <michal.simek@xilinx.com>
Wed, 5 Jul 2017 12:50:44 +0000 (14:50 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 25 Jul 2017 11:54:53 +0000 (13:54 +0200)
dtc reports issues with it.
arch/arm64/boot/dts/xilinx/zynqmp-zc1751-xm016-dc2.dtb: Warning
(unit_address_format): Node
/amba/spi@ff040000/spi0_flash0@0/spi0_flash0@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@ff050000/spi1_flash0@0/spi1_flash0@00000000 unit name should
not have leading 0s
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dtb: Warning
(unit_address_format): Node
/amba/spi@ff040000/spi0_flash0@0/spi0_flash0@00000000 unit name should
not have leading 0s
arch/arm64/boot/dts/xilinx/zynqmp-ep108.dtb: Warning
(unit_address_format): Node
/amba/spi@ff050000/spi1_flash0@0/spi1_flash0@00000000 unit name should
not have leading 0s

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-ep108.dts
arch/arm/dts/zynqmp-zc1751-xm016-dc2.dts

index 26d49b977d0081ab7d865164180500cf9c849cf8..afcc25da6e5b2a78c682606435ccc6dc9fb8fc05 100644 (file)
                spi-max-frequency = <50000000>;
                reg = <0>;
 
-               spi0_flash0@00000000 {
+               spi0_flash0@0 {
                        label = "spi0_flash0";
                        reg = <0x0 0x100000>;
                };
                spi-max-frequency = <50000000>;
                reg = <0>;
 
-               spi1_flash0@00000000 {
+               spi1_flash0@0 {
                        label = "spi1_flash0";
                        reg = <0x0 0x100000>;
                };
index 42875fc1cb7ea33d2d3ba809de28e1e87020980a..0366555db140c9c27b4bc7309386ff2c583fe70d 100644 (file)
                spi-max-frequency = <50000000>;
                reg = <0>;
 
-               spi0_flash0@00000000 {
+               spi0_flash0@0 {
                        label = "spi0_flash0";
                        reg = <0x0 0x100000>;
                };
                spi-max-frequency = <20000000>;
                reg = <0>;
 
-               spi1_flash0@00000000 {
+               spi1_flash0@0 {
                        label = "spi1_flash0";
                        reg = <0x0 0x84000>;
                };