aboutsummaryrefslogtreecommitdiff
path: root/include/sata.h
diff options
context:
space:
mode:
authorDave Liu2008-03-26 22:49:44 +0800
committerWolfgang Denk2008-03-26 23:38:51 +0100
commitc7057b529c3c3cb9c0ac9060686a4068f1491bbe (patch)
tree8525c3cd0fabf30fe590d91cfb1902519191993b /include/sata.h
parent83c7f470a4ce94f33600f11ae85ce4dcf00aa90c (diff)
ata: add the support for SATA framework
- add the SATA framework - add the SATA command line Signed-off-by: Dave Liu <daveliu@freescale.com>
Diffstat (limited to 'include/sata.h')
-rw-r--r--include/sata.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/sata.h b/include/sata.h
new file mode 100644
index 00000000000..b4b702903e2
--- /dev/null
+++ b/include/sata.h
@@ -0,0 +1,6 @@
+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);