xref: /openbmc/u-boot/drivers/ata/sata_sandbox.c (revision f166af88)
1 /*
2  * Copyright (C) 2015 Google, Inc
3  * Written by Simon Glass <sjg@chromium.org>
4  *
5  * SPDX-License-Identifier:	GPL-2.0+
6  */
7 
8 #include <common.h>
9 
10 int init_sata(int dev)
11 {
12 	return 0;
13 }
14 
15 int reset_sata(int dev)
16 {
17 	return 0;
18 }
19 
20 int scan_sata(int dev)
21 {
22 	return 0;
23 }
24 
25 ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer)
26 {
27 	return 0;
28 }
29 
30 ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer)
31 {
32 	return 0;
33 }
34