From: Dmitry Lifshitz Date: Mon, 15 Dec 2014 14:02:56 +0000 (+0200) Subject: ahci-plat: provide a weak scsi_bus_reset() hook X-Git-Tag: v2015.01~45 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a33b7356afb065fd80250a022f4881adbaac939;p=oweals%2Fu-boot.git ahci-plat: provide a weak scsi_bus_reset() hook This allow the platform to handle a custom reset sequence. Signed-off-by: Dmitry Lifshitz Reviewed-by: Tom Rini --- diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c index 12ed5e3635..37d2d2a28e 100644 --- a/drivers/block/ahci.c +++ b/drivers/block/ahci.c @@ -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*/