]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/sata.h
NAND: Fix integer overflow in ONFI detection of chips >= 4GiB
[people/ms/u-boot.git] / include / sata.h
CommitLineData
f297b7a1
DL
1#ifndef __SATA_H__
2#define __SATA_H__
3
c7057b52
DL
4int init_sata(int dev);
5int scan_sata(int dev);
6ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer);
7ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer);
8
9int sata_initialize(void);
cf7e399f 10int __sata_initialize(void);
f297b7a1
DL
11
12#endif