]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mtd: fsmc_nand: use relaxed variants of io accessors
authorVipin Kumar <vipin.kumar@st.com>
Tue, 9 Oct 2012 10:44:50 +0000 (16:14 +0530)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 9 Nov 2012 15:02:53 +0000 (17:02 +0200)
commite6c2dfa3b2f4959551ef275c6d8747ce564d26a8
tree1b6a2ea9722a04a9f7231c6028d3ccce48270769
parent9ad6f7bf270912cd617b12fbcd30374a3754d0ed
mtd: fsmc_nand: use relaxed variants of io accessors

Use relaxed variants of readl/writel accessors. readl/writel io accessors use
explicit dsb instruction which causes stalls in the processor core resulting
several cycles of delay for each access

Use relaxed variants where ever possible. This also results in an improved
read/write performance.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/nand/fsmc_nand.c