[PATCH v3 1/1] drivers: usb: host: Add BRCM xHCI driver
Marek Vasut
marex at denx.de
Wed Apr 8 15:45:56 CEST 2020
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 * ?
More information about the U-Boot
mailing list