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

Marek Vasut marex at denx.de
Sat Jun 16 00:12:43 UTC 2018


On 06/16/2018 01:45 AM, Vasily Khoruzhick wrote:
> On Wed, Jun 13, 2018 at 11:19 PM, Vasily Khoruzhick <anarsoul at gmail.com> 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 its offset to fix this issue.
>>
>> Fixes commit 1ed9c1118 ("usb: sunxi: ehci: get rid of ifdefs")
>> and commit 56830cee3 ("usb: sunxi: ohci: get rid of ifdefs")
>>
>> Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
> 
> Any feedback?

I'll just apply this.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list