]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: am437x-idk: Fix QSPI compatible string
authorVignesh R <vigneshr@ti.com>
Thu, 13 Oct 2016 10:23:17 +0000 (15:53 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 15 Dec 2016 15:38:30 +0000 (16:38 +0100)
Unlike Linux kernel, U-Boot depends on "spi-flash" compatible to probe
m25p80 spi-nor devices. Hence, add "spi-flash" compatible string to
m25p80 node. Without this patch, flash device DT data is not parsed and
QSPI operates in unsupported mode leading to data corruption.

Signed-off-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
arch/arm/dts/am437x-idk-evm.dts

index 478f0a62cb1c73cdf3d19c066a99c0e606e36da8..e454647165498a4c23f933e2e2c45d089a04c117 100644 (file)
 
        spi-max-frequency = <48000000>;
        m25p80@0 {
-               compatible = "mx66l51235l";
+               compatible = "mx66l51235l", "spi-flash";
                spi-max-frequency = <48000000>;
                reg = <0>;
                spi-cpol;