ARM: mvebu: add "spi-flash" compatible string
authorChris Packham <judge.packham@gmail.com>
Tue, 29 Aug 2017 08:37:54 +0000 (20:37 +1200)
committerStefan Roese <sr@denx.de>
Wed, 30 Aug 2017 08:03:35 +0000 (10:03 +0200)
U-boots spi-nor support is currently considered a work in progress. For
now to avoid issues it is necessary to add a "spi-flash" compatible
string. Eventually the "jedec,spi-nor" will be sufficient when the core
U-boot code is updated to support it.

Signed-off-by: Chris Packham <judge.packham@gmail.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
Signed-off-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-385-amc.dts

index 4649c91..5e1588d 100644 (file)
                u-boot,dm-pre-reloc;
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "st,m25p128", "jedec,spi-nor";
+               compatible = "st,m25p128", "jedec,spi-nor", "spi-flash";
                reg = <0>; /* Chip select 0 */
                spi-max-frequency = <50000000>;
                m25p,fast-read;