rockchip: rk3399: add board_debug_uart_init()
authorKever Yang <kever.yang@rock-chips.com>
Fri, 29 Mar 2019 01:09:07 +0000 (09:09 +0800)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Wed, 1 May 2019 07:40:59 +0000 (09:40 +0200)
commitc79bce16e52068b78ba366bd5610b52c54366c00
treedcd70be4197d2bd608440efabc18abe8a8098e92
parentf9e8145614458d516dd14a48a95371e08bf36515
rockchip: rk3399: add board_debug_uart_init()

Use board_debug_uart_init() for UART iomux init instead of
do it in board_init_f, and move the function to soc file so
that we can find all the soc/board setting in soc file and
use a common board file for all rockchip SoCs later.

Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3399-board-spl.c
arch/arm/mach-rockchip/rk3399/rk3399.c