summaryrefslogtreecommitdiff
path: root/include/ahci.h
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-10-29 05:23:51 +0000
committerTom Rini <trini@ti.com>2012-11-02 15:20:41 -0700
commit4e422bce8a51749ff3c67eec2c8caa6377cc35ee (patch)
tree565e64238f24a251956328c72597cc88ae635037 /include/ahci.h
parent7ba7917c91b875d1cd54dadfcca07d839b75e2a5 (diff)
downloadu-boot-4e422bce8a51749ff3c67eec2c8caa6377cc35ee.tar.gz
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/ahci.h b/include/ahci.h
index c4fb9e79a5..babbdc656f 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 */