Logo
Explore Help
Sign In
archr/hardkernel-uboot
0
0
Fork 0
You've already forked hardkernel-uboot
mirror of https://github.com/archr-linux/hardkernel-uboot.git synced 2026-03-31 15:05:07 -07:00
Code Issues Packages Projects Releases Wiki Activity
Files
4bb87d2b3fccdccf5510cd3bcca135c4fc94de01
hardkernel-uboot/include/sata.h

13 lines
293 B
C
Raw Normal View History

drivers: code clean up Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-03-27 18:51:17 +08:00
#ifndef __SATA_H__
#define __SATA_H__
ata: add the support for SATA framework - add the SATA framework - add the SATA command line Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-03-26 22:49:44 +08:00
int init_sata(int dev);
int scan_sata(int dev);
ulong sata_read(int dev, ulong blknr, ulong blkcnt, void *buffer);
ulong sata_write(int dev, ulong blknr, ulong blkcnt, const void *buffer);
int sata_initialize(void);
SATA: do not auto-initialize during boot Rather than have the board code initialize SATA automatically during boot, make the user manually run "sata init". This brings the SATA subsystem in line with common U-Boot policy. Rather than having a dedicated weak function "is_sata_supported", people can override sata_initialize() to do their weird board stuff. Then they can call the actual __sata_initialize(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-01-27 16:12:21 -05:00
int __sata_initialize(void);
drivers: code clean up Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-03-27 18:51:17 +08:00
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Page: 315ms Template: 14ms
English
English
Licenses API