8 .extern initb_ebiu0, initb_config, hdw_init_finish
9 .extern initb_hsmc0, initb_hsmc1, initb_cache
15 #-----------------------------------------------------------------------*
16 # If we are not executing from the FLASH get out *
17 #-----------------------------------------------------------------------*
18 # SAW keep this or comment out a la Hawthorne?
19 # r3 contains NIP when used with Linux
20 # rlwinm r28, r3, 8, 24, 31 # if MSB == 0xFF -> FLASH address
25 #------------------------------------------------------------------------
26 # Init_cpu. Bank registers are setup for the IBM STB.
27 #------------------------------------------------------------------------
29 # Setup processor core clock to be driven off chip. This is GPI4 bit
30 # twenty. Setup Open Drain, Output Select, Three-State Control, and
31 # Three-State Select registers.
40 #-----------------------------------------------------------------------------
41 # Vectors will be at 0x1F000000
42 # Dummy Machine check handler just does RFI before true handler gets installed
43 #-----------------------------------------------------------------------------
44 #if 1 /* xuwentao added*/
53 mtspr evpr,r10 #EVPR: 0x0 or 0x1f000000 depending
54 isync # on SDRAM memory model used.
56 lis r10,0xFFFF # clear PB0_PESR because some
57 ori r10,r10,0xFFFF # transitions from flash,changed by linguohui
58 mtdcr pb0pesr,r10 # to load RAM image via RiscWatch
59 lis r10,0x0000 # cause PB0_PESR machine checks
61 addis r10,r10,0x0000 # clear the
62 mtxer r10 # XER just in case...
65 bl initb_ebiu0 # init EBIU
67 bl initb_config # config PPC and board
72 #------------------------------------------------------------------------
73 # EVPR setup moved to top of this function.
74 #------------------------------------------------------------------------