spi: Use mode for rx mode flags
authorJagan Teki <jteki@openedev.com>
Mon, 8 Aug 2016 11:42:12 +0000 (17:12 +0530)
committerJagan Teki <jagannadh.teki@gmail.com>
Wed, 21 Sep 2016 19:32:28 +0000 (01:02 +0530)
commit08fe9c294f2d699a4e8b6b18e31169a89552f967
tree43fa8d209a81be053746f45a334f75c5c884808f
parentb3afb232f7853d078ae0f533a7af70e0b047fe18
spi: Use mode for rx mode flags

Make rx mode flags as generic to spi, earlier mode_rx is
maintained separately because of some flash specific code.

Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Cc: Vignesh R <vigneshr@ti.com>
Cc: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/spi_flash.c
drivers/spi/cadence_qspi.c
drivers/spi/ich.c
drivers/spi/spi-uclass.c
drivers/spi/ti_qspi.c
include/spi.h