summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ofpart.c
diff options
context:
space:
mode:
authorVipin Kumar <vipin.kumar@st.com>2012-03-14 11:47:17 +0530
committerDavid Woodhouse <David.Woodhouse@intel.com>2012-03-27 01:00:14 +0100
commit604e75444fa82cfdcba339e3bd4da1dfd6947539 (patch)
tree44e3c2dd6ce4e9ef871ca5dd9f74fa197f655b2d /drivers/mtd/ofpart.c
parent712c4add03277197168210bb628b8273e36adf76 (diff)
downloadblackbird-op-linux-604e75444fa82cfdcba339e3bd4da1dfd6947539.tar.gz
blackbird-op-linux-604e75444fa82cfdcba339e3bd4da1dfd6947539.zip
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 <vipin.kumar@st.com> Reviewed-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/ofpart.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud