Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-17 Thread Scott Wood
On Fri, Jul 17, 2009 at 02:48:38PM +0400, Ilya Yanok wrote: > Scott Wood wrote: > > Please look at drivers/mtd/nand/mpc5121_nfc.c, which AFAICT is very > > similar hardware, and see if anything can be factored out into common > > code, and try to keep the rest looking the same except where the hard

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-17 Thread Ilya Yanok
Hi Scott, please review the updated patch (will be posted as a follow-up). Scott Wood wrote: > Please look at drivers/mtd/nand/mpc5121_nfc.c, which AFAICT is very > similar hardware, and see if anything can be factored out into common > code, and try to keep the rest looking the same except where

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-03 Thread Paul Thomas
On Fri, Jul 3, 2009 at 12:03 PM, Paul Thomas wrote: > Hello, > > I'm using the imx27lite-v2 branch for our opensource imx27 board. Right now > I'm trying to get the nand to work. I'm using a Micron 2Gb x8 part (p/n > MT29F2G08ABDHC). When I do "nand info" I get "Device 0: NAND 256MiB 1,8V > 8-bit

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-07-03 Thread Paul Thomas
Hello, I'm using the imx27lite-v2 branch for our opensource imx27 board. Right now I'm trying to get the nand to work. I'm using a Micron 2Gb x8 part (p/n MT29F2G08ABDHC). When I do "nand info" I get "Device 0: NAND 256MiB 1,8V 8-bit, sector size 128 KiB" which is correct. mtdparts returns: devic

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-06-23 Thread Magnus Lilja
Hi 2009/6/23 Scott Wood : > On Mon, Jun 08, 2009 at 04:12:48AM +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

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-06-22 Thread Scott Wood
On Mon, Jun 08, 2009 at 04:12:48AM +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 Please look at drivers/mt

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-06-20 Thread Jean-Christophe PLAGNIOL-VILLARD
On 04:12 Mon 08 Jun , 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 > --- > drivers/mtd/nand/Makefile |

[U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-06-07 Thread Ilya Yanok
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 --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/mxc_nand.c | 932 ++

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-05-29 Thread Wolfgang Denk
Dear Magnus, In message <59b21cf20905282322s60c91890w73eeb443c25a0...@mail.gmail.com> you wrote: > > >> +static void *mxc_nand_memcpy(void *dest, void *source, size_t size) > >> +{ > >> + uint32_t *s = source, *d = dest; > >> + > >> + size >>= 2; > >> + while (size--) > >> + *d++ = *

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-05-28 Thread Magnus Lilja
Dear Wolfgang, 2009/5/29 Wolfgang Denk : > Dear Ilya Yanok, > > In message <1242777361-6717-5-git-send-email-ya...@emcraft.com> you 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

Re: [U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-05-28 Thread Wolfgang Denk
Dear Ilya Yanok, In message <1242777361-6717-5-git-send-email-ya...@emcraft.com> you 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. ... > +static void *mxc_

[U-Boot] [PATCH 4/7] mxc_nand: add nand driver for MX2/MX3

2009-05-19 Thread Ilya Yanok
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 --- drivers/mtd/nand/Makefile |1 + drivers/mtd/nand/mxc_nand.c | 923 ++