root/loader/s90/entry.S

/* [<][>][^][v][top][bottom][index][help] */
   1     .section .entry
   2 // Turn OFF SD Card power
   3 // to support autostart
   4 LDR     R3, =0xC0220018 // @FF86E8DC S90
   5 MOV     R2, #0x44
   6 STR     R2, [R3]
   7 
   8 // looks like idle cycle is required for proper shutdown
   9 MOV     R3, #0xF0000   // increased from 8000 to F0000 for extra delay
  10 1:
  11 SUB R3, R3, #1
  12 CMP R3, #0
  13 BNE 1b
  14 
  15 // ordinary startup...
  16 
  17         MOV     SP, #0x1900
  18         MOV     R11, #0
  19         B       my_restart

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