32 lines
1.2 KiB
Diff
32 lines
1.2 KiB
Diff
|
diff --git a/plat/rockchip/rk3399/rk3399_def.h b/plat/rockchip/rk3399/rk3399_def.h
|
||
|
index ba83242..8d6ecfb 100644
|
||
|
--- a/plat/rockchip/rk3399/rk3399_def.h
|
||
|
+++ b/plat/rockchip/rk3399/rk3399_def.h
|
||
|
@@ -17,7 +17,7 @@
|
||
|
/**************************************************************************
|
||
|
* UART related constants
|
||
|
**************************************************************************/
|
||
|
-#define RK3399_BAUDRATE 115200
|
||
|
+#define RK3399_BAUDRATE 1500000
|
||
|
#define RK3399_UART_CLOCK 24000000
|
||
|
|
||
|
/******************************************************************************
|
||
|
diff --git a/plat/rockchip/common/bl31_plat_setup.c b/plat/rockchip/common/bl31_plat_setup.c
|
||
|
index c4a0359..22d07e0 100644
|
||
|
--- a/plat/rockchip/common/bl31_plat_setup.c
|
||
|
+++ b/plat/rockchip/common/bl31_plat_setup.c
|
||
|
@@ -61,10 +61,13 @@ void bl31_early_platform_setup2(u_register_t arg0, u_register_t arg1,
|
||
|
|
||
|
params_early_setup(arg1);
|
||
|
|
||
|
- if (rockchip_get_uart_base() != 0)
|
||
|
+ if (rockchip_get_uart_base() != 0) {
|
||
|
console_16550_register(rockchip_get_uart_base(),
|
||
|
rockchip_get_uart_clock(),
|
||
|
rockchip_get_uart_baudrate(), &console);
|
||
|
+ console_set_scope(&console,
|
||
|
+ CONSOLE_FLAG_BOOT | CONSOLE_FLAG_RUNTIME | CONSOLE_FLAG_CRASH);
|
||
|
+ }
|
||
|
|
||
|
VERBOSE("bl31_setup\n");
|