ahci-plat: provide a weak scsi_bus_reset() hook

This allow the platform to handle a custom reset sequence.

Signed-off-by: Dmitry Lifshitz <lifshitz@compulab.co.il>
Reviewed-by: Tom Rini <trini@ti.com>
This commit is contained in:
Dmitry Lifshitz 2014-12-15 16:02:56 +02:00 committed by Tom Rini
parent 6b68888a33
commit 1a33b7356a
1 changed files with 1 additions and 2 deletions

View File

@ -1010,12 +1010,11 @@ static int ata_io_flush(u8 port)
} }
void scsi_bus_reset(void) __weak void scsi_bus_reset(void)
{ {
/*Not implement*/ /*Not implement*/
} }
void scsi_print_error(ccb * pccb) void scsi_print_error(ccb * pccb)
{ {
/*The ahci error info can be read in the ahci driver*/ /*The ahci error info can be read in the ahci driver*/