2 * arch/ppc/boot/simple/misc-mv64x60.S
4 * Code to change the base address of the host bridges and call board specific
7 * Author: Mark Greer <mgreer@mvista.com>
9 * 2002 (c) MontaVista, Software, Inc. This file is licensed under the terms
10 * of the GNU General Public License version 2. This program is licensed
11 * "as is" without any warranty of any kind, whether express or implied.
14 #include <linux/config.h>
15 #include <asm/ppc_asm.h>
16 #include <asm/processor.h>
17 #include <asm/cache.h>
18 #include <asm/mv64x60_defs.h>
24 #if (CONFIG_MV64X60_NEW_BASE != CONFIG_MV64X60_BASE)
32 #if (CONFIG_MV64X60_NEW_BASE != CONFIG_MV64X60_BASE)
37 /* Relocate bridge's regs */
38 addis r25,0,CONFIG_MV64X60_BASE@h
39 ori r25,r25,MV64x60_INTERNAL_SPACE_DECODE
43 addis r24,0,CONFIG_MV64X60_NEW_BASE@h
49 /* Wait for write to take effect */
50 addis r25,0,CONFIG_MV64X60_NEW_BASE@h
51 ori r25,r25,MV64x60_INTERNAL_SPACE_DECODE