Skip to content
Snippets Groups Projects
Commit 344ca0b4 authored by Rob Herring's avatar Rob Herring Committed by Tom Rini
Browse files

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: default avatarRob Herring <rob.herring@calxeda.com>
Reviewed-by: default avatarTom Rini <trini@ti.com>
parent 7610b41d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment