blob: 7daa2089f0b1cff144bf591825a40b0e57c037e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* SPDX-License-Identifier: BSD-2-Clause */
/*
* Copyright (c) 2014, Linaro Limited
* All rights reserved.
*/
#ifndef SUNXI_UART_H
#define SUNXI_UART_H
#include <types_ext.h>
#include <drivers/serial.h>
struct sunxi_uart_data {
struct io_pa_va base;
struct serial_chip chip;
};
void sunxi_uart_init(struct sunxi_uart_data *pd, paddr_t base);
#endif /*SUNXI_UART_H*/
|