C-4
MPC8240 Integrated Processor User’s Manual
addis r3,r0,BMC_BASE// Set MCCR4 (FC)
ori r3,r3,0x00Fc
stwbrx r3,0,r5
sync
lis r4, 0x3530 // 100MHz setting, registered buffers
// PRETOACT=3, ACTOPRE=5
ori r4, r4,0x3239 // CL=3, ACTORW=3, BSTOPRE(6-9)=9
//
ori r4, r4,0x2239 // CL=2, ACTORW=3, BSTOPRE(6-9)=9
stwbrx r4,0,r6
sync
//-------MSAR1/etc.
// Set each bank to 32MB (0-1FFFFFF, 2000000-...)
addis r3,r0,BMC_BASE// Set MSAR1 (80)
ori r3,r3,MEMSTARTADDR1
stwbrx r3,0,r5
addis r4,r0,0x6040
ori r4,r4,0x2000
stwbrx r4,0,r6
addis r3,r0,BMC_BASE// Set MSAR2 (84)
ori r3,r3,MEMSTARTADDR2
stwbrx r3,0,r5
addis r4,r0,0xe0c0
ori r4,r4,0xa080
stwbrx r4,0,r6
addis r3,r0,BMC_BASE// Set MESAR1 (88)
ori r3,r3,XMEMSTARTADDR1
stwbrx r3,0,r5
addis r4,r0,0x0000
ori r4,r4,0x0000
stwbrx r4,0,r6
addis r3,r0,BMC_BASE// Set MESAR2 (8c)
ori r3,r3,XMEMSTARTADDR2
stwbrx r3,0,r5
addis r4,r0,0x0000
ori r4,r4,0x0000
stwbrx r4,0,r6
addis r3,r0,BMC_BASE// Set MEAR1 (90)
ori r3,r3,MEMENDADDR1
stwbrx r3,0,r5
addis r4,r0,0x7f5f
ori r4,r4,0x3f1f// ending address of bank 0 is
// 0x0x01FFFFFF
stwbrx r4,0,r6
Summary of Contents for MPC8240
Page 1: ...MPC8240UM D Rev 1 1 2001 MPC8240 Integrated Processor User s Manual ...
Page 38: ...xviii MPC8240 Integrated Processor User s Manual TABLES Table Number Title Page Number ...
Page 48: ...xlviii MPC8240 Integrated Processor User s Manual Acronyms and Abbreviations ...
Page 312: ...6 94 MPC8240 Integrated Processor User s Manual ROM Flash Interface Operation ...
Page 348: ...7 36 MPC8240 Integrated Processor User s Manual PCI Host and Agent Modes ...
Page 372: ...8 24 MPC8240 Integrated Processor User s Manual DMA Register Descriptions ...
Page 394: ...9 22 MPC8240 Integrated Processor User s Manual I2O Interface ...
Page 412: ...10 18 MPC8240 Integrated Processor User s Manual Programming Guidelines ...
Page 454: ...12 14 MPC8240 Integrated Processor User s Manual Internal Arbitration ...
Page 466: ...13 12 MPC8240 Integrated Processor User s Manual Exception Latencies ...
Page 516: ...16 14 Watchpoint Trigger Applications ...
Page 538: ...B 16 MPC8240 Integrated Processor User s Manual Setting the Endian Mode of Operation ...
Page 546: ...C 8 MPC8240 Integrated Processor User s Manual ...
Page 640: ...INDEX Index 16 MPC8240 Integrated Processor User s Manual ...