]> git.sur5r.net Git - u-boot/commitdiff
ahci-plat: provide a weak scsi_bus_reset() hook
authorDmitry Lifshitz <lifshitz@compulab.co.il>
Mon, 15 Dec 2014 14:02:56 +0000 (16:02 +0200)
committerTom Rini <trini@ti.com>
Mon, 5 Jan 2015 20:13:46 +0000 (15:13 -0500)
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>
drivers/block/ahci.c

index 12ed5e3635221c8d666ba2efc22115d3912b32d2..37d2d2a28eef53bbd2477b7bb06b37f415e68735 100644 (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*/
 }
 
-
 void scsi_print_error(ccb * pccb)
 {
        /*The ahci error info can be read in the ahci driver*/