2 * arch/ppc/boot/simple/misc-ev64260.S
4 * Host bridge init code for the Marvell/Galileo EV-64260-BP evaluation board
5 * with a GT64260 onboard.
7 * Author: Mark Greer <mgreer@mvista.com>
9 * Copyright 2001 MontaVista Software Inc.
11 * This program is free software; you can redistribute it and/or modify it
12 * under the terms of the GNU General Public License as published by the
13 * Free Software Foundation; either version 2 of the License, or (at your
14 * option) any later version.
17 #include <asm/ppc_asm.h>
18 #include <asm/processor.h>
19 #include <asm/cache.h>
20 #include <asm/mv64x60_defs.h>
21 #include <platforms/ev64260.h>
23 .globl mv64x60_board_init
25 /* DINK doesn't enable 745x timebase, so enable here (Adrian Cox) */
28 cmplwi r25,(PVR_7450 >> 16)
31 oris r25,r25,(HID0_TBEN >> 16)
34 #if (CONFIG_MV64X60_NEW_BASE != CONFIG_MV64X60_BASE)
38 * Change the CS2 window for the UART so that the bootloader
39 * can do I/O thru the UARTs.
41 addis r25,0,CONFIG_MV64X60_NEW_BASE@h
42 ori r25,r25,MV64x60_CPU2DEV_2_BASE
43 addis r26,0,EV64260_UART_BASE@h
48 addis r25,0,CONFIG_MV64X60_NEW_BASE@h
49 ori r25,r25,MV64x60_CPU2DEV_2_SIZE
50 addis r26,0,EV64260_UART_END@h
57 #if defined(CONFIG_SERIAL_MPSC_CONSOLE)
59 .globl mv64x60_console_baud
61 .long EV64260_DEFAULT_BAUD
63 .globl mv64x60_mpsc_clk_src
65 .long EV64260_MPSC_CLK_SRC
67 .globl mv64x60_mpsc_clk_freq
68 mv64x60_mpsc_clk_freq:
69 .long EV64260_MPSC_CLK_FREQ