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