]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI...
authorHaikun Wang <Haikun.Wang@freescale.com>
Fri, 26 Jun 2015 11:30:41 +0000 (19:30 +0800)
committerJagan Teki <jteki@openedev.com>
Mon, 29 Jun 2015 19:10:10 +0000 (00:40 +0530)
The type of DSPI flash on ls1021aqds is AT45DB021, it has specail
commands and page-size.
Use the special spi flash driver instead of "spi_flash_std" driver.

Signed-off-by: Haikun Wang <haikun.wang@freescale.com>
Tested-by: Haikun Wang <haikun.wang@freescale.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jteki@openedev.com>
arch/arm/dts/ls1021a-qds.dts

index 836781153d804b422cb9d9fff93ba043e97f1b9f..e634292359237fb118be98dacad2ed76e425e072 100644 (file)
@@ -30,7 +30,7 @@
        dspiflash: at45db021d@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "spi-flash";
+               compatible = "atmel,dataflash";
                spi-max-frequency = <16000000>;
                spi-cpol;
                spi-cpha;