Tizen 2.0 Release
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-s5p64xx / uart.h
1 /*
2  * (C) Copyright 2009 Samsung Electronics
3  * Minkyu Kang <mk7.kang@samsung.com>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License as
7  * published by the Free Software Foundation; either version 2 of
8  * the License, or (at your option) any later version.
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., 59 Temple Place, Suite 330, Boston,
18  * MA 02111-1307 USA
19  *
20  */
21
22 #ifndef __ASM_ARCH_UART_H_
23 #define __ASM_ARCH_UART_H_
24
25 #ifndef __ASSEMBLY__
26 struct s5p_uart {
27         unsigned int    ulcon;
28         unsigned int    ucon;
29         unsigned int    ufcon;
30         unsigned int    umcon;
31         unsigned int    utrstat;
32         unsigned int    uerstat;
33         unsigned int    ufstat;
34         unsigned int    umstat;
35         unsigned char   utxh;
36         unsigned char   res1[3];
37         unsigned char   urxh;
38         unsigned char   res2[3];
39         unsigned int    ubrdiv;
40         unsigned short  udivslot;
41         unsigned char   res3[2];
42         unsigned char   res4[0x3d0];
43 };
44
45 static int use_divslot = 1;
46
47 #endif  /* __ASSEMBLY__ */
48
49 #endif