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