summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorMichal Simek <michal.simek@xilinx.com>2015-09-30 17:26:55 +0200
committerMichal Simek <michal.simek@xilinx.com>2016-04-04 20:28:39 +0200
commit679b994a2b56c65d53f94ab85baa68c252abdda4 (patch)
treec57d341d53d100ec9f569aa13f089912024fe9b1 /board
parent6d3ddfc473e32f1418f53e932217c1724e723cdb (diff)
downloadu-boot-imx-679b994a2b56c65d53f94ab85baa68c252abdda4.zip
u-boot-imx-679b994a2b56c65d53f94ab85baa68c252abdda4.tar.gz
u-boot-imx-679b994a2b56c65d53f94ab85baa68c252abdda4.tar.bz2
block: Add support for Ceva sata
Initial Ceva Sata init code. Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board')
-rw-r--r--board/xilinx/zynqmp/zynqmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c
index 0f44b04..087578c 100644
--- a/board/xilinx/zynqmp/zynqmp.c
+++ b/board/xilinx/zynqmp/zynqmp.c
@@ -7,6 +7,7 @@
#include <common.h>
#include <netdev.h>
+#include <sata.h>
#include <ahci.h>
#include <scsi.h>
#include <asm/arch/clk.h>
@@ -185,6 +186,9 @@ void reset_cpu(ulong addr)
#ifdef CONFIG_SCSI_AHCI_PLAT
void scsi_init(void)
{
+#if defined(CONFIG_SATA_CEVA)
+ init_sata(0);
+#endif
ahci_init((void __iomem *)ZYNQMP_SATA_BASEADDR);
scsi_scan(1);
}