]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: Fix 2nd usb controller on sun4i/sun7i no longer working
authorHans de Goede <hdegoede@redhat.com>
Mon, 21 Mar 2016 13:44:35 +0000 (14:44 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 23 Mar 2016 21:04:13 +0000 (22:04 +0100)
commit948603d4d637a0e04a3214253b911cfc4ed11220
tree91011f6fe2b33b4a3ca7228c84c7f9aa6299b4c8
parent9284f3b452faa328fcc7e948c091598926d792ff
sunxi: Fix 2nd usb controller on sun4i/sun7i no longer working

The 2nd usb controller on sun4i/sun7i has its base address 0x8000
bytes from the 1st one, rather then 0x1000. Also the ahb clk gates
are interleaved with the ohci clk-gates introducing a hole between
the clks for usb1 and usb2.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/usb/host/ehci-sunxi.c
drivers/usb/host/ohci-sunxi.c