Commit e6ffc254 authored by Ambroise Vincent's avatar Ambroise Vincent
Browse files

qemu: use new console interface in aarch32



Change-Id: Iab788e3e7cb2f83144255c4eb830712fd5cb6240
Signed-off-by: default avatarAmbroise Vincent <ambroise.vincent@arm.com>
parent 0821731a
...@@ -103,7 +103,7 @@ func plat_crash_console_init ...@@ -103,7 +103,7 @@ func plat_crash_console_init
mov_imm r0, PLAT_QEMU_CRASH_UART_BASE mov_imm r0, PLAT_QEMU_CRASH_UART_BASE
mov_imm r1, PLAT_QEMU_CRASH_UART_CLK_IN_HZ mov_imm r1, PLAT_QEMU_CRASH_UART_CLK_IN_HZ
mov_imm r2, PLAT_QEMU_CONSOLE_BAUDRATE mov_imm r2, PLAT_QEMU_CONSOLE_BAUDRATE
b console_core_init b console_pl011_core_init
endfunc plat_crash_console_init endfunc plat_crash_console_init
/* --------------------------------------------- /* ---------------------------------------------
...@@ -115,7 +115,7 @@ endfunc plat_crash_console_init ...@@ -115,7 +115,7 @@ endfunc plat_crash_console_init
*/ */
func plat_crash_console_putc func plat_crash_console_putc
mov_imm r1, PLAT_QEMU_CRASH_UART_BASE mov_imm r1, PLAT_QEMU_CRASH_UART_BASE
b console_core_putc b console_pl011_core_putc
endfunc plat_crash_console_putc endfunc plat_crash_console_putc
/* --------------------------------------------- /* ---------------------------------------------
...@@ -128,6 +128,6 @@ endfunc plat_crash_console_putc ...@@ -128,6 +128,6 @@ endfunc plat_crash_console_putc
*/ */
func plat_crash_console_flush func plat_crash_console_flush
mov_imm r0, PLAT_QEMU_CRASH_UART_BASE mov_imm r0, PLAT_QEMU_CRASH_UART_BASE
b console_core_flush b console_pl011_core_flush
endfunc plat_crash_console_flush endfunc plat_crash_console_flush
/* /*
* Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
* *
* SPDX-License-Identifier: BSD-3-Clause * SPDX-License-Identifier: BSD-3-Clause
*/ */
...@@ -93,8 +93,7 @@ void sp_min_early_platform_setup2(u_register_t arg0, u_register_t arg1, ...@@ -93,8 +93,7 @@ void sp_min_early_platform_setup2(u_register_t arg0, u_register_t arg1,
bl_params_t *params_from_bl2 = (bl_params_t *)arg0; bl_params_t *params_from_bl2 = (bl_params_t *)arg0;
/* Initialize the console to provide early debug support */ /* Initialize the console to provide early debug support */
console_init(PLAT_QEMU_BOOT_UART_BASE, PLAT_QEMU_BOOT_UART_CLK_IN_HZ, qemu_console_init();
PLAT_QEMU_CONSOLE_BAUDRATE);
ERROR("qemu sp_min, console init\n"); ERROR("qemu sp_min, console init\n");
/* /*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment