]> git.ipfire.org Git - people/ms/u-boot.git/blame - board/trab/rs485.h
Prepare v2011.06-rc3
[people/ms/u-boot.git] / board / trab / rs485.h
CommitLineData
f5300ab2
WD
1/*
2 * (C) Copyright 2003
3 * Martin Krause, TQ-Systems GmbH, <martin.krause@tqs.de>
4 *
84ad6884 5 * Based on arch/arm/cpu/arm920t/serial.c, by Gary Jennejohn
792a09eb 6 * (C) Copyright 2002 Gary Jennejohn, DENX Software Engineering, <garyj@denx.de>
f5300ab2
WD
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 *
22 */
23
24#ifndef _RS485_H_
25#define _RS485_H_
26
ac67804f 27#include <asm/arch/s3c24x0_cpu.h>
f5300ab2
WD
28
29int rs485_init (void);
30int rs485_getc (void);
31void rs485_putc (const char c);
32int rs485_tstc (void);
33void rs485_puts (const char *s);
34void trab_rs485_enable_tx(void);
35void trab_rs485_enable_rx(void);
36
37#endif /* _RS485_H_ */