diff options
author | Marek Vasut <marex@denx.de> | 2013-12-14 02:04:52 +0100 |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2013-12-18 19:53:19 +0100 |
commit | eb63218b9b95a59baa8b241f3a88e4415dabf833 (patch) | |
tree | 169b7ce3505a8778cc6616d19e64ee4f3c9e71b4 /drivers/usb | |
parent | 1e1be6d478c7c2cddf97e2623dd5c4c10bc23020 (diff) | |
download | u-boot-imx-eb63218b9b95a59baa8b241f3a88e4415dabf833.zip u-boot-imx-eb63218b9b95a59baa8b241f3a88e4415dabf833.tar.gz u-boot-imx-eb63218b9b95a59baa8b241f3a88e4415dabf833.tar.bz2 |
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/host/ehci-hcd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/ehci-hcd.c b/drivers/usb/host/ehci-hcd.c index 3ef204d..17187ca 100644 --- a/drivers/usb/host/ehci-hcd.c +++ b/drivers/usb/host/ehci-hcd.c @@ -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; |