mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
rockchip64: bump ATF to 2.13.0, drop upstreamed rk3399 logging patch
- see 6d7f1d4945
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
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");
|
||||
Reference in New Issue
Block a user