Skip to content
Snippets Groups Projects
Commit 286ede65 authored by Mario Six's avatar Mario Six Committed by Simon Glass
Browse files

drivers: core: Add translation in live tree case


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: default avatarMario Six <mario.six@gdsys.cc>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
parent fa9335a8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment