blob: ea7087c49b5546061735634d572c0034e62117a3 [file] [log] [blame]
Manish Pandeyf218ffe2020-04-09 15:16:40 +01001/*
2 * Copyright (c) 2020, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <drivers/arm/pl011.h>
8
9int console_putc(int c)
10{
11 return console_pl011_putc(c);
12}
Mark Dykesf41d8ee2025-07-10 16:41:28 -050013
14#ifdef SMC_FUZZ_VARIABLE_COVERAGE
15int console_putc_fuzzer(int c)
16{
17 return console_pl011_putc_fuzzer(c);
18}
19
20void tftf_switch_console_state(int state)
21{
22 tftf_console_state = state;
23}
24
25int tftf_get_console_state(void)
26{
27 return tftf_console_state;
28}
29
30#endif