2 * Add birec data for Force CPCI690 board.
4 * Author: Mark A. Greer <source@mvista.com>
6 * 2003 (c) MontaVista Software, Inc. This file is licensed under
7 * the terms of the GNU General Public License version 2. This program
8 * is licensed "as is" without any warranty of any kind, whether express
12 #include <linux/types.h>
14 #include <platforms/cpci690.h>
17 #define MB (1024UL*KB)
18 #define GB (1024UL*MB)
20 extern u32 mv64x60_console_baud;
21 extern u32 mv64x60_mpsc_clk_src;
22 extern u32 mv64x60_mpsc_clk_freq;
31 switch (in_8(((void __iomem *)CPCI690_BR_BASE + CPCI690_BR_MEM_CTLR))
59 mv64x60_board_init(void __iomem *old_base, void __iomem *new_base)
61 mv64x60_console_baud = CPCI690_MPSC_BAUD;
62 mv64x60_mpsc_clk_src = CPCI690_MPSC_CLK_SRC;
63 mv64x60_mpsc_clk_freq =
64 (get_mem_size() >= (1*GB)) ? 100000000 : 133333333;