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/14565924/ [2] - git://git.ti.com/~mugunthanvnm/ti-u-boot/mugunth-ti-u-boot.git dm-sata Mugunthan V N (6): arm: omap: sata: move enable sata clocks to enable_basic_clocks() dm: implement a SATA uclass 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 sata driver model defconfig: dra72_evm: enable sata 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 | 17 +++++++++ drivers/block/Makefile | 3 ++ drivers/block/dwc_ahci.c | 71 +++++++++++++++++++++++++++++++++++ drivers/block/sata-uclass.c | 69 ++++++++++++++++++++++++++++++++++ include/dm/uclass-id.h | 1 + include/sata.h | 2 + 10 files changed, 190 insertions(+), 27 deletions(-) create mode 100644 drivers/block/dwc_ahci.c create mode 100644 drivers/block/sata-uclass.c -- 2.7.0.rc3 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot