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 * 2001 (c) MontaVista, Software, Inc. This file is licensed under
10 * the terms of the GNU General Public License version 2. This program
11 * is licensed "as is" without any warranty of any kind, whether express
15 #include <asm/ppc_asm.h>
16 #include <asm/cache.h>
17 #include <asm/gt64260_defs.h>
19 #include <platforms/ev64260.h>
26 /* Relocate galileo's regs */
27 addis r25,0,GT64260_INTERNAL_SPACE_DEFAULT_ADDR@h
28 ori r25,r25,GT64260_INTERNAL_SPACE_DECODE
32 addis r24,0,EV64260_BRIDGE_REG_BASE@h
38 /* Wait for write to take effect */
39 addis r25,0,EV64260_BRIDGE_REG_BASE@h
40 ori r25,r25,GT64260_INTERNAL_SPACE_DECODE
45 /* Change CS2 (UARTS on device module) window */
46 addis r25,0,EV64260_BRIDGE_REG_BASE@h
47 ori r25,r25,GT64260_CPU_CS_DECODE_2_BOT
48 addis r26,0,EV64260_UART_BASE@h
53 addis r25,0,EV64260_BRIDGE_REG_BASE@h
54 ori r25,r25,GT64260_CPU_CS_DECODE_2_TOP
55 addis r26,0,EV64260_UART_END@h