Re: [U-Boot] [PATCH 7/7] ahci: convert to use libata functions and definitions

2013-05-24 Thread Tom Rini
On Tue, May 21, 2013 at 05:44:36PM -0500, Rob Herring wrote: > From: Rob Herring > > 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. A

[U-Boot] [PATCH 7/7] ahci: convert to use libata functions and definitions

2013-05-21 Thread Rob Herring
From: Rob Herring 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 towar