From: Vipin Kumar Date: Wed, 14 Mar 2012 06:17:17 +0000 (+0530) Subject: mtd: nand/fsmc: Access the NAND device word by word whenever possible X-Git-Tag: v3.4-rc1~16^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=604e75444fa82cfdcba339e3bd4da1dfd6947539;p=pandora-kernel.git mtd: nand/fsmc: Access the NAND device word by word whenever possible The default way of accessing nand device is using the nand width. This means that 8bit devices are using u8 * and 16bit devices are accessed using u16 *. This results in a non-optimal performance since the FSMC is designed to translate the normal word accesses into device width based accesses. This patch implements read_buf and write_buf callbacks using word by word accesses. Signed-off-by: Vipin Kumar Reviewed-by: Viresh Kumar Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed