summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2014-09-23 18:07:02 +0300
committerTom Rini <trini@ti.com>2014-10-10 09:44:42 -0400
commit3160b1b98603cba3c480f70e153b259171d3e4a6 (patch)
tree7182e26da28c6f6ba9f55ce4b4706c61cb28bdac /arch
parent02590aa31cc282cffafac559032981094f716fa9 (diff)
downloadu-boot-imx-3160b1b98603cba3c480f70e153b259171d3e4a6.zip
u-boot-imx-3160b1b98603cba3c480f70e153b259171d3e4a6.tar.gz
u-boot-imx-3160b1b98603cba3c480f70e153b259171d3e4a6.tar.bz2
OMAP5+: sata/scsi: Implement scsi_init()
On OMAP platforms, SATA controller provides the SCSI subsystem so implement scsi_init(). Get rid of the unnecessary sata_init() call from dra7xx-evm and omap5-uevm board files. Signed-off-by: Roger Quadros <rogerq@ti.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap-common/sata.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c
index cad4fee..131d082 100644
--- a/arch/arm/cpu/armv7/omap-common/sata.c
+++ b/arch/arm/cpu/armv7/omap-common/sata.c
@@ -74,3 +74,9 @@ int init_sata(int dev)
return ret;
}
+
+/* On OMAP platforms SATA provides the SCSI subsystem */
+void scsi_init(void)
+{
+ init_sata(0);
+}