The default configuration for debug output from the RK3399 SPL is UART2 at 1.5MBaud. While this works reasonably well for the EVB, custom boards may want to change these settings.
To simplify the enablement (i.e. to use the RS232 connector on our baseboard and to improve the compatibility with commonly available RS232-to-UART dongles) for the RK3399-Q7 SoM, we need to make both the UART and the baudrate configurable. This patch-series makes CONFIG_BAUDRATE a first-class citizen within the Kconfig framework (so we can set it via defconfig) and adds the required iomux support for UART0 in the RK3399 SPL. Changes in v3: - update Kconfig to auto-select CONFIG_DEBUG_UART_BOARD_INIT for the RK3399 to ensure there's no build failues (even as the defconfig files are not updated) - drop the CONFIG_DEBUG_UART_BOARD_INIT settings from defconfig (eliminating the 3rd patch from the original series) Changes in v2: - changed hex constant to lowercase Philipp Tomsich (1): rockchip: rk3399: spl: add UART0 support for SPL arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 8 +++++++ arch/arm/mach-rockchip/Kconfig | 1 + arch/arm/mach-rockchip/rk3399-board-spl.c | 29 ++++++++++++++++++------- 3 files changed, 30 insertions(+), 8 deletions(-) -- 1.9.1 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot