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>
Thu, 15 Nov 2012 13:37:48 +0000 (15:37 +0200)
commita4742d515071b8b7889a6b608da48d36c1dfcc71
treebe7a07d746e8e1f2715421a5be9d18eafb15b70e
parent928aa2aeb7269292ca1e3d0e5e2e5d08af13da3d
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