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

login
register
mail settings
Submitter Ajay Bhargav
Date Sept. 19, 2011, 10:47 a.m.
Message ID <1316429230-5957-3-git-send-email-ajay.bhargav@einfochips.com>
Download mbox | patch
Permalink /patch/115318/
State Accepted
Commit 2f83cd57b67504f0c254f31862dfcc9baf791a3a
Headers show

Comments

Ajay Bhargav - Sept. 19, 2011, 10:47 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>
---
 include/configs/gplugd.h |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

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