ofnode: Add missing address translation into ofnode_get_addr_size()
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 1 Oct 2018 10:37:20 +0000 (12:37 +0200)
committerSimon Glass <sjg@chromium.org>
Mon, 8 Oct 2018 13:34:34 +0000 (07:34 -0600)
commita6a45cd32539dcc8d91a8c42d04f378598cfedf6
treeb76a851769363d673690237783c03b8fd61e56f3
parent51cb9275040b725b977de4ce709fe167ef169023
ofnode: Add missing address translation into ofnode_get_addr_size()

Of CONFIG_OF_TRANSLATE is enabled, this function still returns
untranslated bogus results. Add the missing translation.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/core/ofnode.c