Commit eb63218b authored by Marek Vasut's avatar Marek Vasut
Browse files

usb: ehci: Fix register access

Fix the register access in EHCI HCD. We need to use address of the register
as an ehci_writel() argument.

Signed-off-by: default avatarMarek Vasut <>
Cc: Simon Glass <>
parent 1e1be6d4
......@@ -948,7 +948,7 @@ int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
/* Set the high address word (aka segment) for 64-bit controller */
if (ehci_readl(&ehcic[index].hccr->cr_hccparams) & 1)
ehci_writel(ehcic[index].hcor->or_ctrldssegment, 0);
ehci_writel(&ehcic[index].hcor->or_ctrldssegment, 0);
qh_list = &ehcic[index].qh_list;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment