[U-Boot] [PATCH 3/5] usb: ehci: Implement V2P mapping

Marek Vasut marex at denx.de
Fri Feb 26 20:16:47 CET 2016


On 02/26/2016 08:12 PM, Stephen Warren wrote:
> On 02/26/2016 11:44 AM, Marek Vasut wrote:
>> On 02/26/2016 07:16 PM, Stephen Warren wrote:
>>
>> Hi!
>>
>> [...]
>>
>>>> Tom reported this to me too, sorry :-(
>>>>
>>>> Do you have an idea how to fix this too? I am now installing arm64
>>>>   toolchain.
>>>
>>> I haven't looked at it yet. I've seen similar problems in the bast
>>> handled by casting between integer types before casting to pointers
>>> e.g. something like the following guess:
>>>
>>> uint32_t pa; void *p = (void *)(uintptr_t)pa;
>>
>> I just tried this, it should do the trick. Can you give it a spin ?
> 
> That does the trick, thanks.

Thanks! I'll finish buildman builds (I set it up, finally, yay!) and
submit a proper patch.

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list