]> git.karo-electronics.de Git - karo-tx-uboot.git/blob - include/sata.h
board/b4860qds: Add support for configuring SerDes1 Refclks
[karo-tx-uboot.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
13 extern block_dev_desc_t sata_dev_desc[];
14
15 #endif