From: Stephen Warren Date: Wed, 20 Dec 2017 08:45:42 -0700 Subject: [U-Boot] [PATCH v4] drivers: core: Add translation in live tree case In-Reply-To: <20171220085212.23826-1-mario.six@gdsys.cc> References: <20171220085212.23826-1-mario.six@gdsys.cc> Message-ID: <4e4643cb-d0ac-2e89-ff3f-556b233796ef@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > > --- > v3 -> v4: > * Fixed issue on 64-bit platforms Tested-by: Stephen Warren