]> git.dujemihanovic.xyz Git - u-boot.git/commit
ahci: cosmetics and cleanup
authorStefan Reinauer <reinauer@chromium.org>
Mon, 29 Oct 2012 05:23:51 +0000 (05:23 +0000)
committerTom Rini <trini@ti.com>
Fri, 2 Nov 2012 22:20:41 +0000 (15:20 -0700)
commit4e422bce8a51749ff3c67eec2c8caa6377cc35ee
tree565e64238f24a251956328c72597cc88ae635037
parent7ba7917c91b875d1cd54dadfcca07d839b75e2a5
ahci: cosmetics and cleanup

- print the correct speed
- print all the AHCI capability flags
(information taken from Linux kernel driver)
- clean up some comments

For example, this might show the following string:
AHCI 0001.0300 32 slots 6 ports 6 Gbps 0x3 impl SATA mode

Signed-off-by: Stefan Reinauer <reinauer@chromium.org>
Commit-Ready: Stefan Reinauer <reinauer@chromium.org>
Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Reinauer <reinauer@chromium.org>
drivers/block/ahci.c
include/ahci.h