mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 18:14:24 +00:00

Since now the generic console_t structure holds the UART base address as well, let's use that generic location and drop the UART driver specific data structure at all. Change-Id: I058f793e4024fa7291e432f5be374a77faf16f36 Signed-off-by: Andre Przywara <andre.przywara@arm.com>
18 lines
385 B
C
18 lines
385 B
C
/*
|
|
* Copyright (c) 2018-2019, ARM Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef IMX_UART_H
|
|
#define IMX_UART_H
|
|
|
|
#include <drivers/console.h>
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
int console_imx_uart_register(uintptr_t baseaddr, uint32_t clock, uint32_t baud,
|
|
console_t *console);
|
|
#endif /*__ASSEMBLER__*/
|
|
|
|
#endif /* IMX_UART_H */
|