blob: 6c4d62f57d435e6066f3a5a783dd1185ddac486a [file] [log] [blame]
Bai Ping06e325e2018-10-28 00:12:34 +08001/*
Anson Huang1fc11bd2019-01-15 14:27:10 +08002 * Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
Bai Ping06e325e2018-10-28 00:12:34 +08003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef IMX_UART_H
8#define IMX_UART_H
9
Antonio Nino Diaze0f90632018-12-14 00:18:21 +000010#include <drivers/console.h>
Bai Ping06e325e2018-10-28 00:12:34 +080011
Julius Werner53456fc2019-07-09 13:49:11 -070012#ifndef __ASSEMBLER__
Bai Ping06e325e2018-10-28 00:12:34 +080013
Anson Huang1fc11bd2019-01-15 14:27:10 +080014int console_imx_uart_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
Andre Przywara7110d992020-01-25 00:58:35 +000015 console_t *console);
Julius Werner53456fc2019-07-09 13:49:11 -070016#endif /*__ASSEMBLER__*/
Bai Ping06e325e2018-10-28 00:12:34 +080017
18#endif /* IMX_UART_H */