]> git.wh0rd.org - patches.git/blob - u-boot-nand-warning.patch
more random patches. who knows.
[patches.git] / u-boot-nand-warning.patch
1 Index: nand_base.c
2 ===================================================================
3 --- nand_base.c (revision 870)
4 +++ nand_base.c (working copy)
5 @@ -1631,7 +1631,9 @@ static int nand_write_ecc (struct mtd_in
6
7 /* reject writes, which are not page aligned */
8 if (NOTALIGNED (to) || NOTALIGNED(len)) {
9 - printk (KERN_NOTICE "nand_write_ecc: Attempt to write not page aligned data\n");
10 +// printk (KERN_NOTICE "nand_write_ecc: Attempt to write not page aligned data\n");
11 + printk (KERN_NOTICE "nand_write_ecc: to (0x%08x) and len (0x%08x) need to be aligned to 0x%08x\n",
12 + (unsigned int) to, (unsigned int) len, mtd->oobblock);
13 return -EINVAL;
14 }
15