diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-10-29 05:23:51 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2012-11-02 15:20:41 -0700 |
commit | 4e422bce8a51749ff3c67eec2c8caa6377cc35ee (patch) | |
tree | 565e64238f24a251956328c72597cc88ae635037 /include/ahci.h | |
parent | 7ba7917c91b875d1cd54dadfcca07d839b75e2a5 (diff) | |
download | u-boot-imx-4e422bce8a51749ff3c67eec2c8caa6377cc35ee.zip u-boot-imx-4e422bce8a51749ff3c67eec2c8caa6377cc35ee.tar.gz u-boot-imx-4e422bce8a51749ff3c67eec2c8caa6377cc35ee.tar.bz2 |
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>
Diffstat (limited to 'include/ahci.h')
-rw-r--r-- | include/ahci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h index c4fb9e7..babbdc6 100644 --- a/include/ahci.h +++ b/include/ahci.h @@ -51,6 +51,7 @@ #define HOST_IRQ_STAT 0x08 /* interrupt status */ #define HOST_PORTS_IMPL 0x0c /* bitmap of implemented ports */ #define HOST_VERSION 0x10 /* AHCI spec. version compliancy */ +#define HOST_CAP2 0x24 /* host capabilities, extended */ /* HOST_CTL bits */ #define HOST_RESET (1 << 0) /* reset controller; self-clear */ |