From patchwork Mon Aug 22 06:13:17 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Hui X-Patchwork-Id: 3594 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 A2C1723F18 for ; Mon, 22 Aug 2011 06:08:18 +0000 (UTC) Received: from mail-yw0-f52.google.com (mail-yw0-f52.google.com [209.85.213.52]) by fiordland.canonical.com (Postfix) with ESMTP id 69413A18052 for ; Mon, 22 Aug 2011 06:08:18 +0000 (UTC) Received: by ywo7 with SMTP id 7so4792711ywo.11 for ; Sun, 21 Aug 2011 23:08:17 -0700 (PDT) Received: by 10.150.170.13 with SMTP id s13mr1913688ybe.48.1313993297828; Sun, 21 Aug 2011 23:08:17 -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.150.157.17 with SMTP id f17cs184128ybe; Sun, 21 Aug 2011 23:08:17 -0700 (PDT) Received: by 10.220.9.199 with SMTP id m7mr326237vcm.278.1313993296621; Sun, 21 Aug 2011 23:08:16 -0700 (PDT) Received: from TX2EHSOBE002.bigfish.com (tx2ehsobe001.messaging.microsoft.com [65.55.88.11]) by mx.google.com with ESMTPS id k19si3553185vcq.62.2011.08.21.23.08.15 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 21 Aug 2011 23:08:15 -0700 (PDT) Received-SPF: neutral (google.com: 65.55.88.11 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) client-ip=65.55.88.11; Authentication-Results: mx.google.com; spf=neutral (google.com: 65.55.88.11 is neither permitted nor denied by best guess record for domain of jason.hui@linaro.org) smtp.mail=jason.hui@linaro.org Received: from mail18-tx2-R.bigfish.com (10.9.14.241) by TX2EHSOBE002.bigfish.com (10.9.40.22) with Microsoft SMTP Server id 14.1.225.22; Mon, 22 Aug 2011 06:08:14 +0000 Received: from mail18-tx2 (localhost.localdomain [127.0.0.1]) by mail18-tx2-R.bigfish.com (Postfix) with ESMTP id 73A08C481B0; Mon, 22 Aug 2011 06:08:14 +0000 (UTC) X-SpamScore: -3 X-BigFish: VS-3(zz1458Kzz1202hzz8275dhz2dh87h2a8h668h839h62h) 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 mail18-tx2 (localhost.localdomain [127.0.0.1]) by mail18-tx2 (MessageSwitch) id 131399329464350_32601; Mon, 22 Aug 2011 06:08:14 +0000 (UTC) Received: from TX2EHSMHS018.bigfish.com (unknown [10.9.14.245]) by mail18-tx2.bigfish.com (Postfix) with ESMTP id E67A18F004F; Mon, 22 Aug 2011 06:08:13 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by TX2EHSMHS018.bigfish.com (10.9.99.118) with Microsoft SMTP Server (TLS) id 14.1.225.22; Mon, 22 Aug 2011 06:08:13 +0000 Received: from az33smr02.freescale.net (10.64.34.200) by 039-SN1MMR1-001.039d.mgd.msft.net (10.84.1.13) with Microsoft SMTP Server id 14.1.323.2; Mon, 22 Aug 2011 01:08:11 -0500 Received: from r64343-desktop.ap.freescale.net (r64343-desktop.ap.freescale.net [10.192.242.36]) by az33smr02.freescale.net (8.13.1/8.13.0) with ESMTP id p7M687rv028244; Mon, 22 Aug 2011 01:08:08 -0500 (CDT) From: Jason Liu To: CC: , , , , Subject: [PATCH] mtd: mxc_nand: Add mx53 NFC driver support Date: Mon, 22 Aug 2011 14:13:17 +0800 Message-ID: <1313993597-25189-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 --- No change. Just resend this patch per Artem request. --- 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 */