]> git.baikalelectronics.ru Git - uboot.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)
commiteeda09af64db29b7eff81db30c390298753628c9
tree7ddeb04deccdf9323585b50e0b71f5fdafc98fa3
parentfe5d1c54d80261e3572c36e38305f391010ce888
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