All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash
@ 2015-05-18 13:24 Haikun Wang
  2015-05-18 21:40 ` Simon Glass
  2015-05-19  3:07 ` Wang Haikun
  0 siblings, 2 replies; 3+ messages in thread
From: Haikun Wang @ 2015-05-18 13:24 UTC (permalink / raw)
  To: u-boot

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>
---
 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;
-- 
2.1.0.27.g96db324

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash
  2015-05-18 13:24 [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash Haikun Wang
@ 2015-05-18 21:40 ` Simon Glass
  2015-05-19  3:07 ` Wang Haikun
  1 sibling, 0 replies; 3+ messages in thread
From: Simon Glass @ 2015-05-18 21:40 UTC (permalink / raw)
  To: u-boot

On 18 May 2015 at 07:24, Haikun Wang <haikun.wang@freescale.com> wrote:
> 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>
> ---
>  arch/arm/dts/ls1021a-qds.dts | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Not sure about this being v1, but the code looks OK.

Reviewed-by: Simon Glass <sjg@chromium.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash
  2015-05-18 13:24 [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash Haikun Wang
  2015-05-18 21:40 ` Simon Glass
@ 2015-05-19  3:07 ` Wang Haikun
  1 sibling, 0 replies; 3+ messages in thread
From: Wang Haikun @ 2015-05-19  3:07 UTC (permalink / raw)
  To: u-boot

On 5/18/2015 9:28 PM, Haikun Wang wrote:
> 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>
> ---
>   arch/arm/dts/ls1021a-qds.dts | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
+ York Sun
Help him review the rest patches of this set.
>
> 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;
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-05-19  3:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-18 13:24 [U-Boot] [PATCH v1 2/4] dm: ls1021aqds: dts: Use "spi_dataflash" driver instead of "spi_flash_std" for DSPI flash Haikun Wang
2015-05-18 21:40 ` Simon Glass
2015-05-19  3:07 ` Wang Haikun

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.