[U-Boot] [PATCH v4] drivers: core: Add translation in live tree case
Simon Glass
sjg at chromium.org
Mon Jan 22 00:41:41 UTC 2018
On 20 December 2017 at 08:45, Stephen Warren <swarren at wwwdotorg.org> wrote:
> On 12/20/2017 01:52 AM, Mario Six wrote:
>>
>> The function dev_read_addr calls ofnode_get_addr_index in the live tree
>> case, which does not apply bus translations to the address read from the
>> device tree. This results in illegal addresses on boards that rely on
>> bus translations being applied.
>>
>> Fix this situation by applying bus translations in the live tree case as
>> well.
>>
>> Signed-off-by: Mario Six <mario.six at gdsys.cc>
>>
>> ---
>> v3 -> v4:
>> * Fixed issue on 64-bit platforms
>
>
> Tested-by: Stephen Warren <swarren at nvidia.com>
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list