Changeset 12370 for ar5315_microredboot/microredboot/boot/src/arch/ar2315.c
- Timestamp:
- 06/24/09 22:02:36 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ar5315_microredboot/microredboot/boot/src/arch/ar2315.c
r12346 r12370 283 283 } 284 284 285 static unsigned int getPartition(char *name); 286 285 287 /* erases nvram partition on the detected location or simply returns if no nvram was detected */ 286 288 … … 291 293 struct opcodes *ptr_opcode; 292 294 __u32 temp, reg; 295 if (!nvramdetect) { 296 nvramdetect = getPartition("cfg"); 297 } 293 298 if (!nvramdetect) { 294 299 puts("nvram can and will not erased, since nvram was not detected on this device (maybe dd-wrt isnt installed)!\n");
