Show
Ignore:
Timestamp:
06/24/09 22:02:36 (5 months ago)
Author:
BrainSlayer
Message:

support for senao firmware format

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ar5315_microredboot/microredboot/boot/src/arch/ar2315.c

    r12346 r12370  
    283283} 
    284284 
     285static unsigned int getPartition(char *name); 
     286 
    285287/* erases nvram partition on the detected location or simply returns if no nvram was detected */ 
    286288 
     
    291293        struct opcodes *ptr_opcode; 
    292294        __u32 temp, reg; 
     295        if (!nvramdetect) { 
     296                nvramdetect = getPartition("cfg"); 
     297        } 
    293298        if (!nvramdetect) { 
    294299                puts("nvram can and will not erased, since nvram was not detected on this device (maybe dd-wrt isnt installed)!\n");