Re: [U-Boot] [PATCH v2] usb: sunxi: access ahb_reset0_cfg in CCM using its offset

2018-06-15 Thread Marek Vasut
On 06/16/2018 01:45 AM, Vasily Khoruzhick wrote: > On Wed, Jun 13, 2018 at 11:19 PM, Vasily Khoruzhick > wrote: >> struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i, >> thus compilation fails with: >> >> drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has >> n

Re: [U-Boot] [PATCH v2] usb: sunxi: access ahb_reset0_cfg in CCM using its offset

2018-06-15 Thread Vasily Khoruzhick
On Wed, Jun 13, 2018 at 11:19 PM, Vasily Khoruzhick wrote: > struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i, > thus compilation fails with: > > drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has > no member named 'ahb_reset0_cfg' > > Access this reg using i

[U-Boot] [PATCH v2] usb: sunxi: access ahb_reset0_cfg in CCM using its offset

2018-06-13 Thread Vasily Khoruzhick
struct sunxi_ccm_reg doesn't have ahb_reset0_cfg on sun4i and sun5i, thus compilation fails with: drivers/usb/host/ohci-sunxi.c:96:26: error: 'struct sunxi_ccm_reg' has no member named 'ahb_reset0_cfg' Access this reg using its offset to fix this issue. Fixes commit 1ed9c1118 ("usb: sunxi: ehci: