summaryrefslogtreecommitdiff
path: root/include/usb
diff options
context:
space:
mode:
authorChunfeng Yun <chunfeng.yun@mediatek.com>2020-09-08 19:59:55 +0300
committerMarek Vasut <marex@denx.de>2020-10-01 20:43:05 +0300
commit719d7d8df41d2f20be599c38c3ab3e7a904c92c6 (patch)
tree0f0f7e1d6d8b5c20271d42f2a9680f626565b4ed /include/usb
parent26acc6395fee680cea72e51348bd59e206eb0464 (diff)
downloadu-boot-719d7d8df41d2f20be599c38c3ab3e7a904c92c6.tar.xz
usb: xhci: add a member hci_version in xhci_ctrl struct
Add a member to save xHCI version, it's used some times. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/usb')
-rw-r--r--include/usb/xhci.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/usb/xhci.h b/include/usb/xhci.h
index 7d34103fd5..a3e5914b10 100644
--- a/include/usb/xhci.h
+++ b/include/usb/xhci.h
@@ -1227,6 +1227,7 @@ struct xhci_ctrl {
struct xhci_scratchpad *scratchpad;
struct xhci_virt_device *devs[MAX_HC_SLOTS];
int rootdev;
+ u16 hci_version;
};
unsigned long trb_addr(struct xhci_segment *seg, union xhci_trb *trb);