
On Wednesday 03 February 2016 05:29 PM, Mugunthan V N wrote:
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]
Forgot to mention the change set. Here are the changes: * Removed sata uclass and adopted to disk uclass.
Regards Mugunthan V N
[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