Re: [U-Boot] [PATCH v2 4/8] nand: Merge changes from Linux nand driver

2012-01-10 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote: > [backport from linux commit 02f8c6aee8df3cdc935e9bdd4f2d020306035dbe] > > This patch synchronizes the nand driver with the Linux 3.0 state. > > Signed-off-by: Christian Hitz > Cc: Scott Wood > --- > > Adds 968 bytes to the image

Re: [U-Boot] [PATCH v2 4/8] nand: Merge changes from Linux nand driver

2011-11-01 Thread Scott Wood
On Wed, Oct 12, 2011 at 09:32:02AM +0200, Christian Hitz wrote: > @@ -1862,6 +1927,13 @@ static int nand_do_write_ops(struct mtd_info *mtd, > loff_t to, > if (!writelen) > return 0; > > + /* reject writes, which are not page aligned */ > + if (NOTALIGNED(to) || NOTALI