]> code.ossystems Code Review - bsp/u-boot.git/commit
sata: dwc_ahsata: implement sata_port_status
authorNikita Kiryanov <nikita@compulab.co.il>
Wed, 20 Aug 2014 12:08:53 +0000 (15:08 +0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Sep 2014 15:30:36 +0000 (12:30 -0300)
commite50e7404d51840a5f132a11dcc916547fe290726
treed7bacb0553b394ddfd06dce3cb9c265c2054e979
parenta45361d923f2c7fe7bf8ffe87e50c6c413e1e162
sata: dwc_ahsata: implement sata_port_status

Define the new common function sata_port_status() which can be
used to query the sata driver for the state of ports, and implement it
for dwc_ahsata.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Tom Rini <trini@ti.com>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>
drivers/block/dwc_ahsata.c
include/sata.h