[PATCH v3 1/1] drivers: usb: host: Add BRCM xHCI driver

Rayagonda Kokatanur rayagonda.kokatanur at broadcom.com
Thu Apr 9 05:54:43 CEST 2020


On Wed, Apr 8, 2020 at 7:16 PM Marek Vasut <marex at denx.de> wrote:
>
> On 4/8/20 7:48 AM, Rayagonda Kokatanur wrote:
> > On Wed, Apr 8, 2020 at 9:56 AM Marek Vasut <marex at denx.de> wrote:
> >>
> >> On 4/8/20 5:35 AM, Rayagonda Kokatanur wrote:
> >> [...]
> >>> +struct brcm_xhci_platdata {
> >>> +     unsigned int arcache;
> >>> +     unsigned int awcache;
> >>> +     uintptr_t hc_base;
> >>
> >> This could be struct xhci_hccr * instead , and then you can remove the
> >> cast ...
> >
> > If we make it struct xhci_hccr * then I think we need to type cast in
> > readl and writel function.
> > Please let me know ?
>
> Ah yes, that's right, then I think you want void __iomem * ?

Done, declared as void __iomem * , thank you.


More information about the U-Boot mailing list