Patchwork mtd: mxc_nand: Add mx53 NFC driver support

login
register
mail settings
Submitter Jason Liu
Date Aug. 22, 2011, 6:13 a.m.
Message ID <1313993597-25189-1-git-send-email-jason.hui@linaro.org>
Download mbox | patch
Permalink /patch/110856/
State New
Headers show

Comments

Jason Liu - Aug. 22, 2011, 6:13 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>
---
No change. Just resend this patch per Artem request.
---
 drivers/mtd/nand/mxc_nand.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - Aug. 22, 2011, 6:34 a.m.
On Mon, 2011-08-22 at 14:13 +0800, Jason Liu wrote:
> 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>
> ---
> No change. Just resend this patch per Artem request.

Pushed to l2-mtd-2.6.git, thanks you!

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 */