sf: Optimize BAR write code
authorJagan Teki <jteki@openedev.com>
Wed, 2 Sep 2015 06:09:48 +0000 (11:39 +0530)
committerJagan Teki <jteki@openedev.com>
Sun, 25 Oct 2015 14:47:03 +0000 (20:17 +0530)
commit70ccf5940650a2c37cc9d70ce3c866abe97e9eb5
treeeced214a2d4df7a328cb9529f2b94e467228ea23
parent234a9e1c605c45748c7a9503e4424c405738fb0c
sf: Optimize BAR write code

Optimized spi-flash bar writing code and also removed
unnecessary bank_sel in read_ops.

Cc: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/sf_ops.c