Remove obsolete #include <linux/config.h>
[pandora-kernel.git] / arch / ppc / platforms / 85xx / sbc8560.h
1 /*
2  * Wind River SBC8560 board definitions
3  *
4  * Copyright 2003 Motorola Inc.
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of  the GNU General  Public License as published by the
8  * Free Software Foundation;  either version 2 of the  License, or (at your
9  * option) any later version.
10  *
11  */
12  
13 #ifndef __MACH_SBC8560_H__
14 #define __MACH_SBC8560_H__
15  
16 #include <platforms/85xx/sbc85xx.h>
17
18 #define CPM_MAP_ADDR    (CCSRBAR + MPC85xx_CPM_OFFSET)
19  
20 #ifdef CONFIG_SERIAL_MANY_PORTS
21 #define RS_TABLE_SIZE  64
22 #else
23 #define RS_TABLE_SIZE  2
24 #endif
25  
26 /* Rate for the 1.8432 Mhz clock for the onboard serial chip */
27 #define BASE_BAUD ( 1843200 / 16 )
28  
29 #ifdef CONFIG_SERIAL_DETECT_IRQ
30 #define STD_COM_FLAGS (ASYNC_SKIP_TEST|ASYNC_AUTO_IRQ)
31 #else
32 #define STD_COM_FLAGS (ASYNC_SKIP_TEST)
33 #endif
34
35 #define STD_SERIAL_PORT_DFNS \
36         { 0, BASE_BAUD, UARTA_ADDR, MPC85xx_IRQ_EXT9, STD_COM_FLAGS, /* ttyS0 */ \
37                 iomem_base: (u8 *)UARTA_ADDR,                       \
38                 io_type: SERIAL_IO_MEM },                                 \
39         { 0, BASE_BAUD, UARTB_ADDR, MPC85xx_IRQ_EXT10, STD_COM_FLAGS, /* ttyS1 */ \
40                 iomem_base: (u8 *)UARTB_ADDR,                       \
41                 io_type: SERIAL_IO_MEM },
42  
43 #define SERIAL_PORT_DFNS \
44         STD_SERIAL_PORT_DFNS
45  
46 #endif /* __MACH_SBC8560_H__ */