]> git.dujemihanovic.xyz Git - u-boot.git/commit
musb-new: sunxi: Access ahb_reset0_cfg via ccm offset
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:13:59 +0000 (12:43 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Thu, 23 Aug 2018 12:01:24 +0000 (17:31 +0530)
commit1034bcc26db6153aa86addfd69d68b275eb2223f
tree7ddeb04deccdf9323585b50e0b71f5fdafc98fa3
parent622fd2b98c6dd37fdbb86a417989049a3f222f05
musb-new: sunxi: Access ahb_reset0_cfg via ccm offset

reset0 is not available for sun4i, 5i and 7i so access
the reset0 offset from ccm via driver data for relevant
Allwinner SoC. this will eventually drop the existing
ifdef for SUN6I.

Tested-by: Chen-Yu Tsai <wens@csie.org> # A33-OlinuXino
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/usb/musb-new/sunxi.c