commit | d007ebc0835a656579d4f68ca683b0c2535a9d23 | [log] [tgz] |
---|---|---|
author | Mario Six <mario.six@gdsys.cc> | Wed Dec 20 09:52:12 2017 +0100 |
committer | Simon Glass <sjg@chromium.org> | Sun Jan 21 10:01:02 2018 -0700 |
tree | 71cfa21729ed31a28cdc233f2a0f337347f9086d | |
parent | 1777b8e97fbaeefe11e5698e1bb2104174acde6c [diff] |
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: Mario Six <mario.six@gdsys.cc> Tested-by: Stephen Warren <swarren@nvidia.com>