[U-Boot] [U-Boot,1/2] remove unnecessary code in ata_piix
Tom Rini
trini at ti.com
Sat Sep 29 16:52:14 CEST 2012
On Thu, Sep 27, 2012 at 11:18:03PM -0000, Pavel Herrmann wrote:
> We set sata_curr_device to 0 right after returning from init_sata(), so there's
> no point in setting it to the last scanned driver at this point.
> Note: there are more duplicities with cmd_sata, but those might be required,
> as the code seems to reset the entire controller on every scan, ignoring the
> requested port number.
>
> Signed-off-by: Pavel Herrmann <morpheus.ibis at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120929/e9e45038/attachment.pgp>
More information about the U-Boot
mailing list