Patchwork [7/8] arm: mxs: Enable support for most SPI flashes

login
register
mail settings
Submitter Marek Vasut
Date Dec. 19, 2012, 5:33 p.m.
Message ID <1355938386-14582-8-git-send-email-marex@denx.de>
Download mbox | patch
Permalink /patch/207483/
State New
Headers show

Comments

Marek Vasut - Dec. 19, 2012, 5:33 p.m.
Enable support for most SPI flashes, usually M25P80. They're used
on MX28 designs a lot.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Shawn Guo <shawn.guo@linaro.org>
---
 arch/arm/configs/mxs_defconfig |    3 +++
 1 file changed, 3 insertions(+)

Patch

diff --git a/arch/arm/configs/mxs_defconfig b/arch/arm/configs/mxs_defconfig
index 0b7e466..2948fec 100644
--- a/arch/arm/configs/mxs_defconfig
+++ b/arch/arm/configs/mxs_defconfig
@@ -54,6 +54,9 @@  CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_CHAR=y
 CONFIG_MTD_BLOCK=y
 CONFIG_MTD_DATAFLASH=y
+CONFIG_MTD_M25P80=y
+# CONFIG_M25PXX_USE_FAST_READ is not set
+CONFIG_MTD_SST25L=y
 CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_GPMI_NAND=y
 CONFIG_MTD_UBI=y