u-boot/arch/arm/mach-rockchip
Philipp Tomsich 7ee16de58b rockchip: rk3399: spl: add UART0 support for SPL
The RK3399-Q7 ("Puma") SoM exposes UART0 as the Qseven UART (i.e. the
serial line available via standardised pins on the edge connector and
available on a RS232 connector).

To support boards (such as the RK3399-Q7) that require UART0 as a
debug console, we match CONFIG_DEBUG_UART_BASE and add the appropriate
iomux setup to the rk3399 SPL code.

As we are already touching this code, we also move the board-specific
UART setup (i.e. iomux setup) into board_debug_uart_init(). This will
be called from the debug UART init when CONFIG_DEBUG_UART_BOARD_INIT
is set.

As the RK3399 needs to use its board_debug_uart_init() function, we
have Kconfig enable it by default for RK3399 builds.

With everything set up to define CONFIG_BAUDRATE via defconfig and
with to have the SPL debug UART either on UART0 or UART2, the configs
for the RK3399 EVB are then update (the change for the RK3399-Q7 is
left for later to not cause issues on applying the change).

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Simon Glass <sjg@chromium.org>
2017-04-15 10:18:29 -06:00
..
rk3036 Kconfig: Migrate BOARD_LATE_INIT to a select 2017-01-24 10:35:54 -05:00
rk3188 rockchip: rk3188: Add Radxa Rock board 2017-04-04 20:01:57 -06:00
rk3288 rockchip: Add support for MiQi rk3288 board 2017-04-04 20:01:57 -06:00
rk3328 rockchip: rk3328: add evb-rk3328 support 2017-03-16 16:03:46 -06:00
rk3399 rockchip: rk3399: Add missing sentinel in syscon 2017-04-15 10:13:17 -06:00
Kconfig rockchip: rk3399: spl: add UART0 support for SPL 2017-04-15 10:18:29 -06:00
Makefile rockchip: rk3328: add soc basic support 2017-03-16 16:03:46 -06:00
rk3036-board-spl.c rockchip: Move bootrom-related declarations to a header 2017-03-16 16:03:44 -06:00
rk3036-board.c rockchip: add boot-mode support for rk3288, rk3036 2016-10-01 18:36:55 -06:00
rk3188-board-spl.c rockchip: rk3188: Setup the armclk in spl 2017-04-04 20:01:57 -06:00
rk3188-board-tpl.c rockchip: rk3188: Cleanup some SPL/TPL rename leftovers 2017-04-04 20:01:57 -06:00
rk3188-board.c rockchip: rk3188: enable remap function 2017-04-15 10:13:17 -06:00
rk3288-board-spl.c rockchip: Move bootrom-related declarations to a header 2017-03-16 16:03:44 -06:00
rk3288-board.c rockchip: rename miniarm to tinker board 2017-02-09 12:10:59 -07:00
rk3399-board-spl.c rockchip: rk3399: spl: add UART0 support for SPL 2017-04-15 10:18:29 -06:00
rk_timer.c rockchip: add timer driver 2015-12-01 08:07:22 -07:00
save_boot_param.S rockchip: add option to change method of loading u-boot 2016-07-25 20:44:18 -06:00