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

Vignesh R vigneshr at ti.com
Mon Feb 11 09:05:34 UTC 2019


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(-)

-- 
2.20.1



More information about the U-Boot mailing list