AN2347 Freescale Semiconductor / Motorola, AN2347 Datasheet - Page 26

no-image

AN2347

Manufacturer Part Number
AN2347
Description
Using an MPC8260 and an MPC7410 with Shared Memory
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
Main Initialization Routine—P2N.2
Main Initialization Routine—P2N.2
Shared SDRAM Parameters
REFINT
_start:
#
# insert other init code here
#
Load the following physical address into the Link Register. Jump to that address so that LR equals Program
Counter (PC).
_sync_jump:
Call PowerPro_init to initialize the PowerPro device. This must be done first to enable the HIT* logic.
cpu1:
26
.include
andis.
andi.
mfmsr
andi.
mtmsr
isync
sync
mtspr
isync
sync
addis
ori
mtspr
bclr
bl PowerPro_init
bl mpc7410_init
/*
*
*/
"initPowerPro.h"
.equ
r0,r0,0
r0,r0,0 # make sure r0 is zero
r3
r3,r3,0xffbf# clear ip bit
r3
hid0,r0 # clear hid0
initialize stack pointer
Using an MPC8260 and an MPC7410 with Shared Memory
r3,0,_sync_jump@h
r3,r3,_sync_jump@l
LR,r3
20,0
Freescale Semiconductor, Inc.
For More Information On This Product,
984
Go to: www.freescale.com
# PowerPro register definitions
# Initialization code for the PowerPro
# units of Processor bus clocks
# load the address
# jump unconditionally to address in
Link Register (LR)
MOTOROLA

Related parts for AN2347