Show
Ignore:
Timestamp:
06/26/09 16:09:38 (5 months ago)
Author:
BrainSlayer
Message:

lates image and source changes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ar5315_microredboot/microredboot/ecos/packages/redboot/current/src/net/fwupgrade_wili.c

    r12368 r12385  
    223223                flash_read(fis_addr, fis_work_block, fisdir_size, 
    224224                           (void **)&err_addr); 
    225                 struct fis_image_desc *img = fis_lookup("RedBoot", &i); 
    226                 if (i != 0) { 
    227                         diag_printf 
    228                             ("WILI_FW: RedBoot partition is not the first partition\n"); 
    229                         return -1; 
    230                 } 
    231225                for (i = 0; i < fw.part_count; ++i) { 
    232226                        fw_part_t *fwp = &fw.parts[i]; 
     
    240234                        int stat; 
    241235                        int index; 
    242                         img = fis_lookup(fwp->header->name, &index); 
     236                        struct fis_image_desc *img = 
     237                            fis_lookup(fwp->header->name, &index); 
    243238                        if (!img) { 
    244239                                diag_printf