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

Stephen Warren swarren at wwwdotorg.org
Fri Feb 26 20:12:15 CET 2016


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.


More information about the U-Boot mailing list