diff options
author | Dan Murphy <dmurphy@ti.com> | 2014-02-03 06:59:02 -0600 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-02-19 10:47:45 -0500 |
commit | e9024ef27d0fc011ac36100c61dbd92025c96108 (patch) | |
tree | dd12ce62d45ea3050929d796f7bd117074da013d /board | |
parent | fff40a7e02092eee11970e7001c8560df419cac1 (diff) | |
download | u-boot-e9024ef27d0fc011ac36100c61dbd92025c96108.zip u-boot-e9024ef27d0fc011ac36100c61dbd92025c96108.tar.gz u-boot-e9024ef27d0fc011ac36100c61dbd92025c96108.tar.bz2 |
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 'board')
-rw-r--r-- | board/ti/dra7xx/evm.c | 3 | ||||
-rw-r--r-- | board/ti/omap5_uevm/evm.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c index 1b60b8f..bed8285 100644 --- a/board/ti/dra7xx/evm.c +++ b/board/ti/dra7xx/evm.c @@ -12,6 +12,7 @@ */ #include <common.h> #include <palmas.h> +#include <sata.h> #include <asm/arch/sys_proto.h> #include <asm/arch/mmc_host_def.h> #include <asm/arch/sata.h> @@ -80,7 +81,7 @@ int board_init(void) int board_late_init(void) { - omap_sata_init(); + init_sata(0); return 0; } diff --git a/board/ti/omap5_uevm/evm.c b/board/ti/omap5_uevm/evm.c index b549d72..3eaa5ac 100644 --- a/board/ti/omap5_uevm/evm.c +++ b/board/ti/omap5_uevm/evm.c @@ -15,6 +15,7 @@ #include "mux_data.h" #if defined(CONFIG_USB_EHCI) || defined(CONFIG_USB_XHCI_OMAP) +#include <sata.h> #include <usb.h> #include <asm/gpio.h> #include <asm/arch/clock.h> @@ -70,7 +71,7 @@ int board_init(void) int board_late_init(void) { - omap_sata_init(); + init_sata(0); return 0; } |