mbox series

[U-Boot,0/2] ti_qspi: Move to spi-mem framework

Message ID 20190211090536.23953-1-vigneshr@ti.com
Headers show
Series ti_qspi: Move to spi-mem framework | expand

Message

Raghavendra, Vignesh Feb. 11, 2019, 9:05 a.m. UTC
Now that SPI NOR Supports MMIO SPI controllers via spi-mem framework,
move TI QSPI to SPI MEM framework for better performance and avoid
repeating SPI NOR generic code in the driver.

While at that get rid of non DM code, as all boards are expected to
support DM and DT by now.

Note: This *breaks cl-som-am57x_defconfig*, as defconfig does not
enable even basic CONFIG_DM and would surely be dropped in next merge
window.

Tested on AM43xx, dra7xx EVMs

Vignesh R (2):
  spi: ti_qspi: Drop non DM code
  spi: ti_qspi: Convert to spi-mem ops

 drivers/spi/Kconfig            |  12 +-
 drivers/spi/Makefile           |   2 +-
 drivers/spi/ti_qspi.c          | 351 ++++++++++-----------------------
 include/configs/am43xx_evm.h   |   2 -
 include/configs/am57xx_evm.h   |   2 -
 include/configs/cl-som-am57x.h |   1 -
 include/configs/cm_t43.h       |   1 -
 include/configs/dra7xx_evm.h   |   2 -
 scripts/config_whitelist.txt   |   2 -
 9 files changed, 107 insertions(+), 268 deletions(-)