]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: dts: armada388-clearfog: fix SPI flash #size-cells
authorRussell King <rmk+kernel@armlinux.org.uk>
Mon, 2 Jan 2017 14:55:32 +0000 (14:55 +0000)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Wed, 4 Jan 2017 10:36:52 +0000 (11:36 +0100)
The SPI flash #size-cells is specified in the binding documentation to
have value 1, but we were setting it to zero.  This wasn't causing any
problem as we do not list any partitions, but it's worth specifying
correctly if we're going to specify it at all.

Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm/boot/dts/armada-388-clearfog.dts

index 2d5b8cdeaaf8ed29148ac28e3da697391e657374..4744a31fdce63540693ff597a8860415e6f63f0a 100644 (file)
 
        spi-flash@0 {
                #address-cells = <1>;
-               #size-cells = <0>;
+               #size-cells = <1>;
                compatible = "w25q32", "jedec,spi-nor";
                reg = <0>; /* Chip select 0 */
                spi-max-frequency = <3000000>;