summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason <r64343@freescale.com>2009-08-14 10:44:27 +0800
committerJason <r64343@freescale.com>2009-08-17 11:59:48 +0800
commit992f643e2b8fe1da073731c0ff61c107b85603d9 (patch)
tree64527bb10060dca0af740b82e670e20834146f95
parentb30de82a52cae69c37a170f42616140975e4cf40 (diff)
ENGR00115329 Enable NFC symmetric mode on MX51
Enable NFC symmetric mode on MX51. MX51TO2 NFC working has somelimitation, refer to ENGcm09121. NFC symmetric mode should be used as for the NFC clock is 33M vs AXI clock is 133M. The ratio is 1:4, according to ENGcm09121, only NFC symmetric mode can work, asymmetric mode does not work. Signed-off-by:Jason Liu <r64343@freescale.com>
-rw-r--r--drivers/mtd/nand/mxc_nd2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mtd/nand/mxc_nd2.c b/drivers/mtd/nand/mxc_nd2.c
index eb24a75f6d16..6750bff8b0ca 100644
--- a/drivers/mtd/nand/mxc_nd2.c
+++ b/drivers/mtd/nand/mxc_nd2.c
@@ -1146,12 +1146,10 @@ static void mxc_nfc_init(void)
/* Unlock Block Command for given address range */
raw_write(NFC_SET_WPC(NFC_WPC_UNLOCK), REG_NFC_WPC);
-#ifndef CONFIG_ARCH_MX51
/* Enable symetric mode by default except mx37TO1.0 */
if (!(cpu_is_mx37_rev(CHIP_REV_1_0) == 1))
raw_write(raw_read(REG_NFC_ONE_CYCLE) |
NFC_ONE_CYCLE, REG_NFC_ONE_CYCLE);
-#endif
}
static int mxc_alloc_buf(void)