On Tue, Aug 11, 2009 at 02:32:54AM +0400, Ilya Yanok wrote:
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
Applied to
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/mxc_nand.c | 880
On Mon, Aug 03, 2009 at 05:45:14AM +0400, Ilya Yanok wrote:
+ if (this-options NAND_BUSWIDTH_16) {
+ void __iomem *main_buf = host-regs-main_area0;
+ /* compress the ID info */
+ writeb(readb(main_buf + 2), main_buf + 1);
+
On Mon, Aug 03, 2009 at 06:01:03AM +0400, Ilya Yanok wrote:
+ return;
+ }
+
+ if (chip == -1) {
+ writew(readw(host-regs-nfc_config1) ~NFC_CE,
+ host-regs-nfc_config1);
+ return;
+ }
+
+
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/mxc_nand.c | 902
Hi Scott,
thanks for the review.
Scott Wood wrote:
+/* OOB placement block for use with hardware ecc generation */
+static struct nand_ecclayout nand_hw_eccoob = {
+.eccbytes = 5,
+.eccpos = {6, 7, 8, 9, 10},
+.oobfree = {{0, 5}, {11, 5}, }
+};
+
+#ifndef
On Fri, Jul 17, 2009 at 02:53:55PM +0400, Ilya Yanok wrote:
+/* OOB placement block for use with hardware ecc generation */
+static struct nand_ecclayout nand_hw_eccoob = {
+ .eccbytes = 5,
+ .eccpos = {6, 7, 8, 9, 10},
+ .oobfree = {{0, 5}, {11, 5}, }
+};
+
+#ifndef
On 14:53 Fri 17 Jul , Ilya Yanok wrote:
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
Driver for NFC NAND controller found on Freescale's MX2 and MX3
processors. Ported from Linux. Tested only with i.MX27 but should
works with other MX2 and MX3 processors too.
Signed-off-by: Ilya Yanok ya...@emcraft.com
---
drivers/mtd/nand/Makefile |1 +
drivers/mtd/nand/mxc_nand.c | 902
9 matches
Mail list logo