mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
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: Marek Vasut <marex@denx.de> Cc: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1e1be6d478
commit
eb63218b9b
1 changed files with 1 additions and 1 deletions
|
@ -948,7 +948,7 @@ int usb_lowlevel_init(int index, enum usb_init_type init, void **controller)
|
|||
#endif
|
||||
/* 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue