blob: ba0ddacec5e6d418d64f5405be1482b386d5e7cc [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
Nishanth Menonce976042016-10-14 01:13:44 +00007#include <platform_def.h>
Antonio Nino Diaze0f90632018-12-14 00:18:21 +00008
9#include <drivers/console.h>
10#include <drivers/ti/uart/uart_16550.h>
11
12#include <k3_console.h>
Nishanth Menonce976042016-10-14 01:13:44 +000013
14void bl31_console_setup(void)
15{
16 static console_16550_t console;
17
18 /* Initialize the console to provide early debug support */
Andrew F. Davis42c277b2019-01-22 13:36:48 -060019 console_16550_register(K3_USART_BASE, K3_USART_CLK_SPEED,
Nishanth Menonce976042016-10-14 01:13:44 +000020 K3_USART_BAUD, &console);
21}