]> git.karo-electronics.de Git - mv-sheeva.git/commit
mtd: Blackfin NFC: fix handling of page sizes
authorBarry Song <barry.song@analog.com>
Thu, 5 Aug 2010 15:07:43 +0000 (11:07 -0400)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Thu, 5 Aug 2010 15:14:38 +0000 (16:14 +0100)
commit44299179c0e87cc6d8b753c1ca8c97b1cf9340e1
tree32937511cd59cb954164422376d4fd364f7b02b6
parent752b957a37ee1cc09fccb39a8bc5843edf32119b
mtd: Blackfin NFC: fix handling of page sizes

Rather than forcing the platform resources to declare the desired page
size, simply use the existing information passed down to us by the higher
layers.  This way we work out of the box with all flash chips that the
kernel knows about.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
arch/blackfin/include/asm/nand.h
drivers/mtd/nand/bf5xx_nand.c