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: NMario Six <mario.six@gdsys.cc> Tested-by: NStephen Warren <swarren@nvidia.com>
Showing
想要评论请 注册 或 登录