Skip to contentSkip to conversation

ata: add the libata support

PATCH Superseded Dave Liu 1 participant 1 message Mar 26, 2008 Block layer

v3 of 4 Superseded Latest is v4 →

lore
Share & tools
lore

Dave Liu

author
#0 lore raw

PATCH v3 4/10 ata: add the libata support

add simple libata support in u-boot

---
 drivers/block/Makefile |    1 +
 drivers/block/libata.c |  158 ++++++++++++++++++++++++++++++++++++
 include/libata.h       |  207 ++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 366 insertions(+), 0 deletions(-)
 create mode 100644 drivers/block/libata.c
 create mode 100644 include/libata.h
drivers/block/Makefile +1 -0
index e069969..d63ca2d 100644
@@ -27,6 +27,7 @@ LIB 	:= $(obj)libblock.a
 
 COBJS-y += ahci.o
 COBJS-y += ata_piix.o
+COBJS-$(CONFIG_LIBATA) += libata.o
 COBJS-y += sil680.o
 COBJS-y += sym53c8xx.o
 COBJS-y += systemace.o
drivers/block/libata.c new file +158 -0

158 lines not on this page · raw message

include/libata.h new file +207 -0

207 lines not on this page · raw message

Signature · 1 line
1.5.4.rc4