[U-Boot] pata support in u-boot

Wolfgang Denk wd at denx.de
Wed Oct 21 11:36:30 CEST 2009


Dear "Lv Terry-R65388",

In message <1AE74F652ECB1440B73DD7C2C20842D19A6462 at zch01exm27.fsl.freescale.net> you wrote:
> 
>     I'm trying to add our ATA driver to u-boot.

Fine.

>     But it seems that now u-boot only supports SATA.

This is not correct. U-Boot also supports ATA/ATAPI, SCSI, USB,
PCMCIA, Systemace, ...

>     ATA is mixed with ide in cmd_ide.c.

Indeed.

>     There is no ata common interface in include.

Hm... so include/ata.h is not what you are looking for>

>     Is this suitable?

I'm afraid I don't understand what exactly your problem is.

drivers/block/mg_disk.c, drivers/block/pata_bfin.c or
drivers/block/sil680.c seem to show that the current code actually can
be used with ATA interfaces.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The following statement is not true.  The previous statement is true.


More information about the U-Boot mailing list