[U-Boot] [PATCH 0/7] OMAP: Move SATA to use block driver model

Jean-Jacques Hiblot jjhiblot at ti.com
Fri Mar 24 12:24:40 UTC 2017


This series adds support for SATA using the driver model on omap platforms.
It is based on the work of Mugunthan V N <mugunthanvnm at ti.com> in Feb 2016

The first 3 patches are preparatory work.
The 4th patch adds the actual driver.
The 5th and 6th patches are fixes related to the scsi_scan logic when DM is
used.
The last patch enables the DM sata by default for the dra7 platforms.

This series depends on the series "mmc: omap_hsmmc: add support for CONFIG_BLK"
posted a few days ago to add support for CONFIG_BLK in the omap_hsmmc driver.

Tested on DRA72 evm. buildman has been run on am33, dra7, am43, omap5 and am57

Jean-Jacques Hiblot (3):
  dm: scsi: ahci: fill max_lun and max_id members of scsi_platdata
  dm: scsi: fix scan
  defconfig: dra7xx_evm: enable CONFIG_BLK and disk driver model for
    SCSI

Mugunthan V N (4):
  arm: omap: sata: move enable sata clocks to enable_basic_clocks()
  arm: omap: sata: compile out sata init apis when CONFIG_DM_SCSI is
    defined
  arm: omap-common: sata: prepare driver for DM conversion
  drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata
    device

 arch/arm/mach-omap2/omap5/hw_data.c | 12 ++++++
 arch/arm/mach-omap2/sata.c          | 38 ++++++------------
 common/scsi.c                       | 35 +++++++++++++---
 configs/dra7xx_evm_defconfig        |  4 ++
 configs/dra7xx_hs_evm_defconfig     |  4 ++
 drivers/block/Kconfig               |  9 +++++
 drivers/block/Makefile              |  1 +
 drivers/block/ahci.c                | 12 +++++-
 drivers/block/dwc_ahci.c            | 79 +++++++++++++++++++++++++++++++++++++
 include/sata.h                      |  2 +
 10 files changed, 162 insertions(+), 34 deletions(-)
 create mode 100644 drivers/block/dwc_ahci.c

-- 
1.9.1



More information about the U-Boot mailing list