diff options
author | Simon Glass <sjg@chromium.org> | 2015-03-25 18:22:21 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-04-18 17:11:23 (GMT) |
commit | 727fce369ee84e664d2a1d215cb48137837c6f8b (patch) | |
tree | 507bfc50e0fbd33269e0d39a58c63ef9f3257fec /board/genesi | |
parent | 27f782b6a137b51fe81dc2900d64ea6cbe502663 (diff) | |
download | u-boot-727fce369ee84e664d2a1d215cb48137837c6f8b.tar.xz |
dm: usb: Pass EHCI controller pointer to ehci_powerup_fixup()
Adjust this function so that it is passed an EHCI controller pointer so that
implementations can look up their controller.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'board/genesi')
-rw-r--r-- | board/genesi/mx51_efikamx/efikamx-usb.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/board/genesi/mx51_efikamx/efikamx-usb.c b/board/genesi/mx51_efikamx/efikamx-usb.c index 0b43101..0c0b8d3 100644 --- a/board/genesi/mx51_efikamx/efikamx-usb.c +++ b/board/genesi/mx51_efikamx/efikamx-usb.c @@ -173,7 +173,8 @@ int board_ehci_hcd_init(int port) return 0; } -void ehci_powerup_fixup(uint32_t *status_reg, uint32_t *reg) +void ehci_powerup_fixup(struct ehci_ctrl *ctrl, uint32_t *status_reg, + uint32_t *reg) { uint32_t port = OTG_BASE_ADDR + (0x200 * CONFIG_MXC_USB_PORT); struct usb_ehci *ehci = (struct usb_ehci *)port; |