[xburst] Set -march=mips32
[openwrt/svn-archive/archive.git] / target / linux / xburst / files-2.6.32 / arch / mips / include / asm / mach-jz4740 / serial.h
1 /*
2 * linux/include/asm-mips/mach-jz4740/serial.h
3 *
4 * Ingenic's JZ4740 common include.
5 *
6 * Copyright (C) 2006 - 2007 Ingenic Semiconductor Inc.
7 *
8 * Author: <yliu@ingenic.cn>
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License version 2 as
12 * published by the Free Software Foundation.
13 */
14
15 #ifndef __ASM_BOARD_SERIAL_H__
16 #define __ASM_BOARD_SERIAL_H__
17
18 #ifndef CONFIG_SERIAL_MANY_PORTS
19 #undef RS_TABLE_SIZE
20 #define RS_TABLE_SIZE 1
21 #endif
22
23 #define JZ_BASE_BAUD (12000000/16)
24
25 #define JZ_SERIAL_PORT_DEFNS \
26 { .baud_base = JZ_BASE_BAUD, .irq = IRQ_UART0, \
27 .flags = STD_COM_FLAGS, .iomem_base = (u8 *)UART0_BASE, \
28 .iomem_reg_shift = 2, .io_type = SERIAL_IO_MEM },
29
30 #endif /* __ASM_BORAD_SERIAL_H__ */