diff options
author | Michal Simek <michal.simek@xilinx.com> | 2015-07-23 11:27:40 (GMT) |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2015-07-28 09:56:27 (GMT) |
commit | 6fe6f1350990c28d3675392cc273cb3df8c31389 (patch) | |
tree | 9bd623c01e9cd18cdd7878c3721c8c3c248ea612 /board | |
parent | cb7ea82059069c6509c26b1f705982c6a919a3fe (diff) | |
download | u-boot-fsl-qoriq-6fe6f1350990c28d3675392cc273cb3df8c31389.tar.xz |
ARM: zynqmp: Wire up SATA for the board
Enable SATA for the ZynqMP targets.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/xilinx/zynqmp/zynqmp.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/board/xilinx/zynqmp/zynqmp.c b/board/xilinx/zynqmp/zynqmp.c index fb43cb0..88fe3e8 100644 --- a/board/xilinx/zynqmp/zynqmp.c +++ b/board/xilinx/zynqmp/zynqmp.c @@ -7,6 +7,8 @@ #include <common.h> #include <netdev.h> +#include <ahci.h> +#include <scsi.h> #include <asm/arch/hardware.h> #include <asm/arch/sys_proto.h> #include <asm/io.h> @@ -51,6 +53,14 @@ void reset_cpu(ulong addr) { } +#ifdef CONFIG_SCSI_AHCI_PLAT +void scsi_init(void) +{ + ahci_init((void __iomem *)ZYNQMP_SATA_BASEADDR); + scsi_scan(1); +} +#endif + int board_eth_init(bd_t *bis) { u32 ret = 0; |