From patchwork Fri Aug 12 07:07:59 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Hui X-Patchwork-Id: 3398 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 72B7F24198 for ; Fri, 12 Aug 2011 07:03:16 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 1BC00A181B6 for ; Fri, 12 Aug 2011 07:03:16 +0000 (UTC) Received: by qwb8 with SMTP id 8so2121141qwb.11 for ; Fri, 12 Aug 2011 00:03:15 -0700 (PDT) Received: by 10.229.62.150 with SMTP id x22mr382889qch.136.1313132595538; Fri, 12 Aug 2011 00:03:15 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.190.71 with SMTP id dh7cs139279qcb; Fri, 12 Aug 2011 00:03:14 -0700 (PDT) Received: from mr.google.com ([10.229.37.78]) by 10.229.37.78 with SMTP id w14mr508090qcd.204.1313132594687 (num_hops = 1); Fri, 12 Aug 2011 00:03:14 -0700 (PDT) Received: by 10.229.37.78 with SMTP id w14mr360415qcd.204.1313132594418; Fri, 12 Aug 2011 00:03:14 -0700 (PDT) Received: from TX2EHSOBE004.bigfish.com (tx2ehsobe002.messaging.microsoft.com [65.55.88.12]) by mx.google.com with ESMTPS id l10si2651771qct.185.2011.08.12.00.03.14 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 12 Aug 2011 00:03:14 -0700 (PDT) Received-SPF: neutral (google.com: 65.55.88.12 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) client-ip=65.55.88.12; Authentication-Results: mx.google.com; spf=neutral (google.com: 65.55.88.12 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) smtp.mail=jason.hui@linaro.org Received: from mail171-tx2-R.bigfish.com (10.9.14.240) by TX2EHSOBE004.bigfish.com (10.9.40.24) with Microsoft SMTP Server id 14.1.225.22; Fri, 12 Aug 2011 07:03:13 +0000 Received: from mail171-tx2 (localhost.localdomain [127.0.0.1]) by mail171-tx2-R.bigfish.com (Postfix) with ESMTP id 6CA15B38285; Fri, 12 Aug 2011 07:03:13 +0000 (UTC) X-SpamScore: 0 X-BigFish: VS0(zzzz1202hzz8275dhz2dh87h2a8h668h839h62h) X-Spam-TCS-SCL: 1:0 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPVD:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-FB-DOMAIN-IP-MATCH: fail Received: from mail171-tx2 (localhost.localdomain [127.0.0.1]) by mail171-tx2 (MessageSwitch) id 1313132593196150_26830; Fri, 12 Aug 2011 07:03:13 +0000 (UTC) Received: from TX2EHSMHS044.bigfish.com (unknown [10.9.14.249]) by mail171-tx2.bigfish.com (Postfix) with ESMTP id 29F051A9004C; Fri, 12 Aug 2011 07:03:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS044.bigfish.com (10.9.99.144) with Microsoft SMTP Server (TLS) id 14.1.225.22; Fri, 12 Aug 2011 07:03:12 +0000 Received: from az33smr01.freescale.net (10.64.34.199) by 039-SN1MMR1-002.039d.mgd.msft.net (10.84.1.15) with Microsoft SMTP Server id 14.1.323.2; Fri, 12 Aug 2011 02:03:12 -0500 Received: from r64343-desktop.ap.freescale.net (r64343-desktop.ap.freescale.net [10.192.242.36]) by az33smr01.freescale.net (8.13.1/8.13.0) with ESMTP id p7C739F1021029; Fri, 12 Aug 2011 02:03:10 -0500 (CDT) From: Jason Liu To: CC: , , , , Subject: [PATCH] mtd: mxc_nand: Add mx53 NFC driver support Date: Fri, 12 Aug 2011 15:07:59 +0800 Message-ID: <1313132879-10531-1-git-send-email-jason.hui@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-OriginatorOrg: sigmatel.com 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 --- drivers/mtd/nand/mxc_nand.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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 */