dm: core: Allow parents to pass data to children during probe
[oweals/u-boot.git] / include / sata.h
1 #ifndef __SATA_H__
2 #define __SATA_H__
3 #include <part.h>
4
5 int init_sata(int dev);
6 int scan_sata(int dev);
7 ulong sata_read(int dev, ulong blknr, lbaint_t blkcnt, void *buffer);
8 ulong sata_write(int dev, ulong blknr, lbaint_t blkcnt, const void *buffer);
9
10 int sata_initialize(void);
11 int __sata_initialize(void);
12 int sata_port_status(int dev, int port);
13
14 extern block_dev_desc_t sata_dev_desc[];
15
16 #endif