]>
Commit | Line | Data |
---|---|---|
1da177e4 | 1 | /* |
f30c2269 | 2 | * arch/ppc/platforms/4xx/xparameters/xparameters.h |
1da177e4 | 3 | * |
1a42e53d GL |
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 | |
1da177e4 LT |
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 | ||
1da177e4 LT |
15 | |
16 | #if defined(CONFIG_XILINX_ML300) | |
1a42e53d | 17 | #include "xparameters_ml300.h" |
909aeca6 GL |
18 | #elif defined(CONFIG_XILINX_ML403) |
19 | #include "xparameters_ml403.h" | |
1a42e53d GL |
20 | #else |
21 | /* Add other board xparameter includes here before the #else */ | |
22 | #error No xparameters_*.h file included | |
23 | #endif | |
24 | ||
25 | #ifndef SERIAL_PORT_DFNS | |
26 | /* zImage serial port definitions */ | |
27 | #define RS_TABLE_SIZE 1 | |
28 | #define SERIAL_PORT_DFNS { \ | |
29 | .baud_base = XPAR_UARTNS550_0_CLOCK_FREQ_HZ/16, \ | |
30 | .irq = XPAR_INTC_0_UARTNS550_0_VEC_ID, \ | |
31 | .flags = ASYNC_BOOT_AUTOCONF, \ | |
32 | .iomem_base = (u8 *)XPAR_UARTNS550_0_BASEADDR + 3, \ | |
33 | .iomem_reg_shift = 2, \ | |
34 | .io_type = SERIAL_IO_MEM, \ | |
35 | }, | |
1da177e4 | 36 | #endif |