u-boot-brain/arch/arm/include/asm/arch-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
..
boot0.h rockchip: spl: RK3399: use boot0 hook to create space for SPL magic 2017-04-04 20:01:57 -06:00
boot_mode.h rockchip: add boot-mode support for rk3288, rk3036 2016-10-01 18:36:55 -06:00
bootrom.h rockchip: Move bootrom-related declarations to a header 2017-03-16 16:03:44 -06:00
clock.h rockchip: arm64: rk3399: syscon addition for rk3399 2017-03-16 16:03:44 -06:00
cru_rk3036.h rockchip: rk3036: Move rockchip_get_cru() out of the driver 2016-10-30 13:29:06 -06:00
cru_rk3188.h rockchip: clk: rk3188: Allow configuration of the armclk 2017-04-04 20:01:57 -06:00
cru_rk3288.h rockchip: rk3288: Move rockchip_get_cru() out of the driver 2016-10-30 13:29:06 -06:00
cru_rk3328.h rockchip: rk3328: add clock driver 2017-03-16 16:03:46 -06:00
cru_rk3399.h rockchip: clk: rk3399: update driver for spl 2017-03-16 16:03:43 -06:00
ddr_rk3188.h rockchip: rk3188: Add sdram driver 2017-03-16 16:03:45 -06:00
ddr_rk3288.h rockchip: rk3288: sdram: use constants in ddrconf table 2017-03-16 16:03:44 -06:00
edp_rk3288.h rockchip: video: Add a display driver for rockchip eDP 2016-01-21 20:42:36 -07:00
gpio.h rockchip: gpio: Add rockchip GPIO driver 2015-09-02 21:28:23 -06:00
grf_rk3036.h rockchip: rk3036: Add header files for GRF 2015-12-01 08:07:22 -07:00
grf_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
grf_rk3288.h net: gmac_rockchip: Add support for the RK3399 GMAC 2017-04-04 20:01:57 -06:00
grf_rk3328.h rockchip: rk3328: add pinctrl driver 2017-03-16 16:03:46 -06:00
grf_rk3399.h rockchip: rk3399: spl: add UART0 support for SPL 2017-04-15 10:18:29 -06:00
hardware.h rockchip: Tidy up the register-access macros 2016-01-21 20:42:37 -07:00
i2c.h rockchip: Add I2C driver 2015-09-02 21:28:24 -06:00
lvds_rk3288.h rockchip: video: Add a display driver for rockchip LVDS 2016-03-14 22:06:33 +01:00
periph.h rockchip: pinctrl: rk3399: add GMAC (RGMII only) support 2017-04-04 20:01:57 -06:00
pmu_rk3188.h rockchip: rk3188: Add header files for PMU and GRF 2017-03-16 16:03:44 -06:00
pmu_rk3288.h rockchip: Convert the PMU IOMUX registers into an array 2016-01-21 20:42:34 -07:00
pwm.h rockchip: rkpwm: fix the register sequence 2016-10-01 18:35:01 -06:00
qos_rk3288.h rockchip: rk3288: set isp/vop qos priority level 2017-01-11 20:23:50 -07:00
sdram_rk3036.h rockchip: add rk3036 sdram driver 2015-12-01 08:07:22 -07:00
sdram_rk3399.h rockchip: arm64: rk3399: add ddr controller driver 2017-03-16 16:03:45 -06:00
sdram.h rk3288: sdram: auto-detect the capacity 2016-10-30 13:29:06 -06:00
sys_proto.h rk3399: add a empty "sys_proto.h" header file 2016-09-22 07:57:02 -06:00
timer.h rockchip: add timer driver 2015-12-01 08:07:22 -07:00
uart.h rockchip: add early uart driver 2015-12-01 08:07:22 -07:00
vop_rk3288.h rockchip: video: Add LVDS support in vop driver 2016-03-14 22:24:10 +01:00