]> 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>
Thu, 18 Oct 2012 09:22:55 +0000 (12:22 +0300)
commitefb8c3aad7281cb6dcada2c17cc9ebe268fa33f5
tree61b80cd311ff3adfc4ac8c87900be5a581171208
parentcee53d08be660108ebbac2950b6921ae706056cb
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