Patchwork mtd: mxc_nand: Add mx53 NFC driver support

login
register
mail settings
Submitter Jason Liu
Date Aug. 12, 2011, 7:07 a.m.
Message ID <1313132879-10531-1-git-send-email-jason.hui@linaro.org>
Download mbox | patch
Permalink /patch/109771/
State Accepted
Commit c97926dd8d7cc094830b253afc817cbf406c0de7
Headers show

Comments

Jason Liu - Aug. 12, 2011, 7:07 a.m.
This has already been tested with Samsung NAND: K9LAG08U0M
on MX53EVK board, ubi/ubifs has already been tested OK too.

Signed-off-by: Jason Liu <jason.hui@linaro.org>
---
 drivers/mtd/nand/mxc_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c
index 90df34c..a3f1b50 100644
--- a/drivers/mtd/nand/mxc_nand.c
+++ b/drivers/mtd/nand/mxc_nand.c
@@ -41,7 +41,7 @@ 
 
 #define nfc_is_v21()		(cpu_is_mx25() || cpu_is_mx35())
 #define nfc_is_v1()		(cpu_is_mx31() || cpu_is_mx27() || cpu_is_mx21())
-#define nfc_is_v3_2()		cpu_is_mx51()
+#define nfc_is_v3_2()		(cpu_is_mx51() || cpu_is_mx53())
 #define nfc_is_v3()		nfc_is_v3_2()
 
 /* Addresses for NFC registers */