root/loader/n_facebook/entry.S

/* [<][>][^][v][top][bottom][index][help] */
   1 .section .entry
   2 
   3     LDR     SP, =MEMBASEADDR
   4     BL      check_compat
   5 
   6 
   7 // SD card off stuff does not seem to be needed
   8 
   9 
  10 // looks like idle cycle is required for proper shutdown
  11         MOV     R3, #0xF0000   // increased from 8000 to F0000 for extra delay for sx200
  12 1:
  13         SUB     R3, R3, #1
  14         CMP     R3, #0
  15         BNE     1b
  16 
  17 // ordinary startup...
  18 
  19         MOV     SP, #0x1900
  20         MOV     R11, #0
  21         B       my_restart

/* [<][>][^][v][top][bottom][index][help] */