summaryrefslogtreecommitdiff
path: root/drivers/block
diff options
context:
space:
mode:
authorIan Campbell <ijc@hellion.org.uk>2014-03-07 01:20:56 +0000
committerTom Rini <trini@ti.com>2014-03-10 13:50:31 -0400
commitc6f3d50b9bbe33541b3cd47a4f35efc4f4ae0fa7 (patch)
treea0e7e5ccbd271ed1ef0dce92b4d88385bd3a224b /drivers/block
parentba650e9b5263bfc7579e6775676441eeeca2edc4 (diff)
downloadu-boot-imx-c6f3d50b9bbe33541b3cd47a4f35efc4f4ae0fa7.zip
u-boot-imx-c6f3d50b9bbe33541b3cd47a4f35efc4f4ae0fa7.tar.gz
u-boot-imx-c6f3d50b9bbe33541b3cd47a4f35efc4f4ae0fa7.tar.bz2
ahci-plat: Provide a weak scsi_init hook
This allow the platform to register the platform ahci device. Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/ahci.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/block/ahci.c b/drivers/block/ahci.c
index e64df4f..22621bf 100644
--- a/drivers/block/ahci.c
+++ b/drivers/block/ahci.c
@@ -930,6 +930,11 @@ int ahci_init(u32 base)
err_out:
return rc;
}
+
+void __weak scsi_init(void)
+{
+}
+
#endif
/*