From mboxrd@z Thu Jan 1 00:00:00 1970 From: Philipp Tomsich Date: Thu, 23 Mar 2017 23:24:11 +0100 Subject: [U-Boot] [PATCH v2 0/2] rockchip: rk3399: spl: Make baudrate and UART configurable Message-ID: <1490307853-11618-1-git-send-email-philipp.tomsich@theobroma-systems.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 v2: - Changed hex constant to lowercase Philipp Tomsich (2): rockchip: rk3399: spl: add UART0 support for SPL rockchip: config: rk3399: update defconfigs and rk3399_common arch/arm/include/asm/arch-rockchip/grf_rk3399.h | 8 +++++++ arch/arm/mach-rockchip/rk3399-board-spl.c | 29 ++++++++++++++++++------- configs/evb-rk3399_defconfig | 2 ++ configs/puma_defconfig | 4 +++- include/configs/rk3399_common.h | 1 - 5 files changed, 34 insertions(+), 10 deletions(-) -- 1.9.1