of: earlycon: Move address translation to of_setup_earlycon()
authorPeter Hurley <peter@hurleysoftware.com>
Sat, 16 Jan 2016 23:23:44 +0000 (15:23 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 7 Feb 2016 06:07:37 +0000 (22:07 -0800)
commitc90fe9c0394b068ceca16f66e9f35bcd8d948295
treee4fc1ed180a6d159ec179a093dcef27691b9569e
parent088da2a17619cf0113b62a76ad38c6a14470ffa6
of: earlycon: Move address translation to of_setup_earlycon()

Cleanup the early DT/earlycon separation; remove the 'addr' parameter
from of_setup_earlycon() and get the uart phys addr directly with a
new wrapper function, of_flat_dt_translate_addr(). Limit
fdt_translate_address() to file scope.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/of/fdt.c
drivers/of/fdt_address.c
drivers/tty/serial/earlycon.c
include/linux/of_fdt.h
include/linux/serial_core.h