summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2017-01-02 15:55:32 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2017-01-04 11:36:52 +0100
commit2cd367356a76fff5de652c68d6b6541d329ad5f6 (patch)
tree1cd7b0023bbe4ae13a8ed87201fa02cb1728abcb /arch/arm/boot
parentARM: dts: mvebu: Correct license text (diff)
downloadlinux-2cd367356a76fff5de652c68d6b6541d329ad5f6.tar.xz
linux-2cd367356a76fff5de652c68d6b6541d329ad5f6.zip
ARM: dts: armada388-clearfog: fix SPI flash #size-cells
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/armada-388-clearfog.dts2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
index 2d5b8cdeaaf8..4744a31fdce6 100644
--- a/arch/arm/boot/dts/armada-388-clearfog.dts
+++ b/arch/arm/boot/dts/armada-388-clearfog.dts
@@ -437,7 +437,7 @@
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>;