]> git.sur5r.net Git - u-boot/blob - include/sata.h
config/sandbox: Add EFI and GPT support
[u-boot] / 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
13 extern block_dev_desc_t sata_dev_desc[];
14
15 #endif