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/ar5312.c

    r12346 r12370  
    208208 
    209209/* erases nvram partition on the detected location or simply returns if no nvram was detected */ 
     210static unsigned int getPartition(char *name); 
    210211 
    211212static int flash_erase_nvram(unsigned int flashsize, unsigned int blocksize) 
     
    213214        int i, ticks; 
    214215        unsigned short val; 
     216        if (!nvramdetect) { 
     217                nvramdetect = getPartition("cfg"); 
     218        } 
    215219        if (!nvramdetect) { 
    216220                puts("nvram can and will not erased, since nvram was not detected on this device (maybe dd-wrt isnt installed)!\n");