[U-Boot] [PATCH 2/5] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash

Wang Haikun Haikun.Wang at freescale.com
Mon Jun 29 09:48:18 CEST 2015


On 6/28/2015 2:32 AM, Jagan Teki wrote:
> From: "Haikun.Wang at freescale.com" <Haikun.Wang at freescale.com>
>
> 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 at freescale.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Jagan Teki <jteki at openedev.com>
> ---
> Changes in v7:
> - Rebase to master
> 	
> Changes in v2:
> - Add defconfig patch in this series
>
>   arch/arm/dts/ls1021a-qds.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/dts/ls1021a-qds.dts b/arch/arm/dts/ls1021a-qds.dts
> index 8367811..e634292 100644
> --- a/arch/arm/dts/ls1021a-qds.dts
> +++ b/arch/arm/dts/ls1021a-qds.dts
> @@ -30,7 +30,7 @@
>   	dspiflash: at45db021d at 0 {
>   		#address-cells = <1>;
>   		#size-cells = <1>;
> -		compatible = "spi-flash";
> +		compatible = "atmel,dataflash";
>   		spi-max-frequency = <16000000>;
>   		spi-cpol;
>   		spi-cpha;
>
Tested-by: Haikun Wang <haikun.wang at freescale.com>


More information about the U-Boot mailing list