diff options
author | Roger Quadros <rogerq@ti.com> | 2014-09-23 18:07:02 +0300 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-10-10 09:44:42 -0400 |
commit | 3160b1b98603cba3c480f70e153b259171d3e4a6 (patch) | |
tree | 7182e26da28c6f6ba9f55ce4b4706c61cb28bdac /arch/arm/cpu/armv7/omap-common | |
parent | 02590aa31cc282cffafac559032981094f716fa9 (diff) | |
download | u-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/arm/cpu/armv7/omap-common')
-rw-r--r-- | arch/arm/cpu/armv7/omap-common/sata.c | 6 |
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); +} |