summaryrefslogtreecommitdiffstats
path: root/arch/arm/cpu/armv7/omap-common
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2014-02-03 06:59:02 -0600
committerTom Rini <trini@ti.com>2014-02-19 10:47:45 -0500
commite9024ef27d0fc011ac36100c61dbd92025c96108 (patch)
treedd12ce62d45ea3050929d796f7bd117074da013d /arch/arm/cpu/armv7/omap-common
parentfff40a7e02092eee11970e7001c8560df419cac1 (diff)
downloadblackbird-obmc-uboot-e9024ef27d0fc011ac36100c61dbd92025c96108.tar.gz
blackbird-obmc-uboot-e9024ef27d0fc011ac36100c61dbd92025c96108.zip
ARM: O5/dra7xx: Add SATA boot support
Add the SATA boot support for OMAP5 and dra7xx. Renamed the omap_sata_init to the common init_sata(int dev) for commonality in with sata stack. Added the ROM boot device ID for SATA. Signed-off-by: Dan Murphy <dmurphy@ti.com> Reviewed-by: Roger Quadros <rogerq@ti.com> Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common')
-rw-r--r--arch/arm/cpu/armv7/omap-common/sata.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/sata.c b/arch/arm/cpu/armv7/omap-common/sata.c
index f5468c4c97..cad4feed00 100644
--- a/arch/arm/cpu/armv7/omap-common/sata.c
+++ b/arch/arm/cpu/armv7/omap-common/sata.c
@@ -12,6 +12,7 @@
#include <scsi.h>
#include <asm/arch/clock.h>
#include <asm/arch/sata.h>
+#include <sata.h>
#include <asm/io.h>
#include "pipe3-phy.h"
@@ -31,7 +32,7 @@ struct omap_pipe3 sata_phy = {
.dpll_map = dpll_map_sata,
};
-int omap_sata_init(void)
+int init_sata(int dev)
{
int ret;
u32 val;
OpenPOWER on IntegriCloud