blob: b520e09bdb333afa1bd3acd7d641cea45cabc408 [file] [log] [blame]
Stefan Reinauer509f7722012-12-07 17:31:37 -08001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2012 The ChromiumOS Authors. All rights reserved.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Stefan Reinauer509f7722012-12-07 17:31:37 -080018 */
19
20#ifndef UART_H
21#define UART_H
22
23unsigned char uart_rx_byte(void);
24void uart_tx_byte(unsigned char data);
25void uart_tx_flush(void);
Hung-Te Linb868d402013-02-06 22:01:18 +080026void uart_init(void);
Stefan Reinauer509f7722012-12-07 17:31:37 -080027
David Hendricksfdcef1a2013-02-15 19:29:12 -080028uint32_t uartmem_getbaseaddr(void);
David Hendricksfdcef1a2013-02-15 19:29:12 -080029
Stefan Reinauer509f7722012-12-07 17:31:37 -080030#endif /* UART_H */