blob: ff3ca61ce6c75524f38057babdca83e53214cf7d [file] [log] [blame]
Nishanth Menonce976042016-10-14 01:13:44 +00001/*
2 * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#include <console.h>
8#include <k3_console.h>
9#include <platform_def.h>
10#include <uart_16550.h>
11
12void bl31_console_setup(void)
13{
14 static console_16550_t console;
15
16 /* Initialize the console to provide early debug support */
17 console_16550_register(K3_USART_BASE_ADDRESS, K3_USART_CLK_SPEED,
18 K3_USART_BAUD, &console);
19}