View Single Post
  #537 (permalink)  
Old 20th Apr 2010, 4:08 pm
flasher86 flasher86 is offline
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

I used that mem addres for this:
#define RUN_FROM_SD (read_mem(CLOCK_PWRCON)&0x04)>>2
if run from sd, its value is 1, if from flash its 0.

What does your function do? Because all I need is to check from which drive it has been initialized (and my function above does it). If from flash, it shows my warning message or something like that

btw, what does this patch do? It takes off the license check or something?

Last edited by flasher86; 20th Apr 2010 at 4:12 pm.
Reply With Quote
Sponsored Links