ATA: Add the libata support
PATCH v2 2/9 ATA: Add the libata support
add simple libata support in u-boot
Signed-off-by Dave Liu <[email protected]>
--- 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
@@ -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
PATCH v2 2/9 ATA: Add the libata support
Quoted 16 lines · On Thu, 20 Mar 2008 18:19:52 +0800 Dave Liu <[email protected]> wrote:
drivers/block/libata.c new file +10
-0@@ -0,0 +1,158 @@ +/* +* Copyright (C) 2008 Freescale Semiconductor, Inc. +* Dave Liu <[email protected]> +* +* This program is free software; you can redistribute it and/or +* modify it under the terms of the GNU General Public License as +* published by the Free Software Foundation; either version 2 of +* the License, or (at your option) any later version. +* +* This program is distributed in the hope that it will be useful,
drivers/block/libata.c line 20
Quoted 10 lines
drivers/block/libata.c new file +10
-0+* but WITHOUT ANY WARRANTY; without even the implied warranty of +* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +* GNU General Public License for more details. +* +* You should have received a copy of the GNU General Public License +* along with this program; if not, write to the Free Software +* Foundation, Inc., 59 Temple Place, Suite 330, Boston, +* MA 02111-1307 USA +* +* with the reference to libata of kernel
If you're going to copy code directly from the kernel, the kernel files' copyrights need to be copied here, too.
Kim