From: Mugunthan V N Date: Wed, 3 Feb 2016 17:29:33 +0530 Subject: [U-Boot] [PATCH v2 0/7] driver model bring-up of sata device on dra72 and dra74 evm Message-ID: <1454500780-20751-1-git-send-email-mugunthanvnm@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 patch series enables sata driver to adopt driver model. This has been tested on the following evms (logs [1]) by loading kernel and dtb from sata hard-disk. * dra72 evm * dra74 evm Also pushed a branch for testing [2] [1] - http://pastebin.ubuntu.com/14865336/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-sata-v2 Mugunthan V N (7): arm: omap: sata: move enable sata clocks to enable_basic_clocks() arm: omap: sata: compile out sata init apis when CONFIG_DISK is defined drivers: block: disk-uclass: implement scsi_init() arm: omap-common: sata: prepare driver for DM conversion drivers: block: dwc_ahci: Implement a driver for Synopsys DWC sata device defconfig: dra74_evm: enable disk driver model defconfig: dra72_evm: enable disk driver model arch/arm/cpu/armv7/omap-common/sata.c | 38 ++++++------------- arch/arm/cpu/armv7/omap5/hw_data.c | 12 ++++++ configs/dra72_evm_defconfig | 2 + configs/dra74_evm_defconfig | 2 + drivers/block/Kconfig | 7 ++++ drivers/block/Makefile | 2 + drivers/block/disk-uclass.c | 39 +++++++++++++++++++ drivers/block/dwc_ahci.c | 71 +++++++++++++++++++++++++++++++++++ include/sata.h | 2 + 9 files changed, 148 insertions(+), 27 deletions(-) create mode 100644 drivers/block/dwc_ahci.c -- 2.7.0.75.g3ee1e0f