sf: Use spi_flash_addr() in write call
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Tue, 11 Jun 2013 16:06:20 +0000 (21:36 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Sun, 23 Jun 2013 16:32:50 +0000 (22:02 +0530)
commitf76b1bd08b00bec89cace4da97eab8c8d89a74c2
tree2b882d62c903bddcabd503e582f8290ab47b6c8d
parent1dcd6d03811d4f30052a5e24377b378867211b05
sf: Use spi_flash_addr() in write call

Use the existing spi_flash_addr() for 3-byte addressing
cmd filling in write call.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mtd/spi/spi_flash.c