Patchwork [U-Boot,v2,3/4] Armada100: Add SPI flash support for Marvell gplugD

login
register
mail settings
Submitter Ajay Bhargav
Date Sept. 21, 2011, 7 a.m.
Message ID <1316588460-4767-3-git-send-email-ajay.bhargav@einfochips.com>
Download mbox | patch
Permalink /patch/115688/
State Accepted
Headers show

Comments

Ajay Bhargav - Sept. 21, 2011, 7 a.m.
This patch enables Atmel AT45 SPI flash support for Marvell gplugD
Enables SF commands.

Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
---
Changes for v2:
	- Not changed

 include/configs/gplugd.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
Prafulla Wadaskar - Oct. 3, 2011, 4:47 a.m.
> -----Original Message-----
> From: Ajay Bhargav [mailto:ajay.bhargav@einfochips.com]
> Sent: Wednesday, September 21, 2011 12:31 PM
> To: Prafulla Wadaskar
> Cc: u-boot@lists.denx.de; marek.vasut@gmail.com; vapier@gentoo.org; Ajay
> Bhargav
> Subject: [PATCH v2 3/4] Armada100: Add SPI flash support for Marvell
> gplugD
> 
> This patch enables Atmel AT45 SPI flash support for Marvell gplugD
> Enables SF commands.
> 
> Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
> ---
> Changes for v2:
> 	- Not changed
> 
>  include/configs/gplugd.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
> index 527a0c8..260a1dc 100644
> --- a/include/configs/gplugd.h
> +++ b/include/configs/gplugd.h
> @@ -96,6 +96,10 @@
>  #define CONFIG_ENV_SPI_CS		110
>  #define CONFIG_SYS_SSP_PORT		2
> 
> +/* Flash Support */
> +#define CONFIG_CMD_SF
> +#define CONFIG_SPI_FLASH_ATMEL
> +
>  /*
>   * mv-common.h should be defined after CMD configs since it used them
>   * to enable certain macros
> --

Applied to u-boot-marvell.git master branch

Regards..
Prafulla . .

> 1.7.0.4
Prafulla Wadaskar - Oct. 3, 2011, 4:48 a.m.
> -----Original Message-----
> From: Ajay Bhargav [mailto:ajay.bhargav@einfochips.com]
> Sent: Wednesday, September 21, 2011 12:31 PM
> To: Prafulla Wadaskar
> Cc: u-boot@lists.denx.de; marek.vasut@gmail.com; vapier@gentoo.org; Ajay
> Bhargav
> Subject: [PATCH v2 3/4] Armada100: Add SPI flash support for Marvell
> gplugD
> 
> This patch enables Atmel AT45 SPI flash support for Marvell gplugD
> Enables SF commands.
> 
> Signed-off-by: Ajay Bhargav <ajay.bhargav@einfochips.com>
> ---
> Changes for v2:
> 	- Not changed
> 
>  include/configs/gplugd.h |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
> index 527a0c8..260a1dc 100644
> --- a/include/configs/gplugd.h
> +++ b/include/configs/gplugd.h
> @@ -96,6 +96,10 @@
>  #define CONFIG_ENV_SPI_CS		110
>  #define CONFIG_SYS_SSP_PORT		2
> 
> +/* Flash Support */
> +#define CONFIG_CMD_SF
> +#define CONFIG_SPI_FLASH_ATMEL
> +
>  /*
>   * mv-common.h should be defined after CMD configs since it used them
>   * to enable certain macros
> --
> 1.7.0.4


Applied to u-boot-marvell.git master branch

Regards..
Prafulla . .

Patch

diff --git a/include/configs/gplugd.h b/include/configs/gplugd.h
index 527a0c8..260a1dc 100644
--- a/include/configs/gplugd.h
+++ b/include/configs/gplugd.h
@@ -96,6 +96,10 @@ 
 #define CONFIG_ENV_SPI_CS		110
 #define CONFIG_SYS_SSP_PORT		2
 
+/* Flash Support */
+#define CONFIG_CMD_SF
+#define CONFIG_SPI_FLASH_ATMEL
+
 /*
  * mv-common.h should be defined after CMD configs since it used them
  * to enable certain macros