sf: Divide spi_flash into multiple parts
authorJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 29 Aug 2013 13:31:56 +0000 (19:01 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Mon, 7 Oct 2013 12:25:41 +0000 (17:55 +0530)
commit4d5e29a680fc68f02b069a0780d7c71063219b18
tree4a7068778c96f324d8d423affc071376ba423f41
parentf835c77fb7e57508ffe8d8ca3a092ee28add77b2
sf: Divide spi_flash into multiple parts

Divided the spi_flash framework into mutiple parts for
- spi_flash.c:
        spi flash core file, interaction for spi/qspi driver to
        spi_flash framework.
- spi_flash_ops.c
        spi flash preffered operations, erase,write and read.
- spi_flash_probe.c
        spi flash probing, easy to extend probing functionality.

This change will support to extend the functionality in a
proper manner.

Signed-off-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/Makefile
drivers/mtd/spi/spi_flash.c
drivers/mtd/spi/spi_flash_ops.c [new file with mode: 0644]
drivers/mtd/spi/spi_flash_probe.c [new file with mode: 0644]