]> Git Repo - J-u-boot.git/commit
drivers: core: Add translation in live tree case
authorMario Six <[email protected]>
Wed, 20 Dec 2017 08:52:12 +0000 (09:52 +0100)
committerSimon Glass <[email protected]>
Sun, 21 Jan 2018 17:01:02 +0000 (10:01 -0700)
commit286ede6515bdde4550c247f0d08ed28c5dbf8db2
tree71cfa21729ed31a28cdc233f2a0f337347f9086d
parentfa9335a89c61837414e3db27bb85c3c459803ff0
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 <[email protected]>
Tested-by: Stephen Warren <[email protected]>
drivers/core/ofnode.c
This page took 0.034624 seconds and 4 git commands to generate.