From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Jacques Hiblot Date: Fri, 24 Mar 2017 13:23:23 +0100 Subject: [U-Boot] [PATCH 0/7] OMAP: Move SATA to use block driver model Message-ID: <1490358210-15103-1-git-send-email-jjhiblot@ti.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This series adds support for SATA using the driver model on omap platforms. It is based on the work of Mugunthan V N 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