Remove MULTI_CONSOLE_API flag and references to it
[project/bcm63xx/atf.git] / plat / qemu / qemu_console.c
1 /*
2 * Copyright (c) 2015-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7 #include <platform_def.h>
8
9 #include <drivers/console.h>
10 #include <drivers/arm/pl011.h>
11
12 static console_pl011_t console;
13
14 void qemu_console_init(void)
15 {
16 (void)console_pl011_register(PLAT_QEMU_BOOT_UART_BASE,
17 PLAT_QEMU_BOOT_UART_CLK_IN_HZ,
18 PLAT_QEMU_CONSOLE_BAUDRATE, &console);
19
20 console_set_scope(&console.console, CONSOLE_FLAG_BOOT |
21 CONSOLE_FLAG_RUNTIME);
22 }
23