]> git.dujemihanovic.xyz Git - u-boot.git/commit
ahci: convert to use libata functions and definitions
authorRob Herring <rob.herring@calxeda.com>
Sat, 24 Aug 2013 15:10:54 +0000 (10:10 -0500)
committerTom Rini <trini@ti.com>
Fri, 6 Sep 2013 17:09:07 +0000 (13:09 -0400)
commit344ca0b40cf3a8feb1e7f9d4ff9e5041be706266
tree09bffaeb6498f4bdf51454b1098fbc57b96aaed1
parent7610b41ddf3c8d1234b38817621f29407deaf32f
ahci: convert to use libata functions and definitions

libata already has similar functions as implemented in the ahci code.
Refactor the code to use the libata variants and remove the dependency on
ata.h. Convert some defines to use the version from libata.h. Also, remove
some unnecessary memset's of bss data.

This is a step toward hopefully merging ahci.c and dw_ahsata.c which are
essentially the same driver.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Reviewed-by: Tom Rini <trini@ti.com>
drivers/block/ahci.c
include/ahci.h
include/configs/MPC8544DS.h
include/configs/MPC8572DS.h
include/configs/MPC8610HPCD.h
include/configs/MPC8641HPCN.h
include/configs/P2020DS.h
include/configs/coreboot.h
include/configs/highbank.h