Merge branch 'master' of /usr/src/ntfs-2.6/
[sfrench/cifs-2.6.git] / arch / ppc / platforms / 4xx / xparameters / xparameters.h
1 /*
2  * include/asm-ppc/xparameters.h
3  *
4  * This file includes the correct xparameters.h for the CONFIG'ed board plus
5  * fixups to translate board specific XPAR values to a common set of names
6  *
7  * Author: MontaVista Software, Inc.
8  *         source@mvista.com
9  *
10  * 2004 (c) MontaVista Software, Inc.  This file is licensed under the terms
11  * of the GNU General Public License version 2.  This program is licensed
12  * "as is" without any warranty of any kind, whether express or implied.
13  */
14
15 #include <linux/config.h>
16
17 #if defined(CONFIG_XILINX_ML300)
18   #include "xparameters_ml300.h"
19 #elif defined(CONFIG_XILINX_ML403)
20   #include "xparameters_ml403.h"
21 #else
22   /* Add other board xparameter includes here before the #else */
23   #error No xparameters_*.h file included
24 #endif
25
26 #ifndef SERIAL_PORT_DFNS
27   /* zImage serial port definitions */
28   #define RS_TABLE_SIZE 1
29   #define SERIAL_PORT_DFNS {                                            \
30         .baud_base       = XPAR_UARTNS550_0_CLOCK_FREQ_HZ/16,           \
31         .irq             = XPAR_INTC_0_UARTNS550_0_VEC_ID,              \
32         .flags           = ASYNC_BOOT_AUTOCONF,                         \
33         .iomem_base      = (u8 *)XPAR_UARTNS550_0_BASEADDR + 3,         \
34         .iomem_reg_shift = 2,                                           \
35         .io_type         = SERIAL_IO_MEM,                               \
36   },
37 #endif