Changeset 7224


Ignore:
Timestamp:
2007-05-14T15:45:41+02:00 (9 years ago)
Author:
nbd
Message:

brcm47xx-2.6: fix squashfs image partitioning problem

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tags/kamikaze_pre1/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c

    r7172 r7224  
    336336 
    337337        /* find and size rootfs */ 
    338         if (find_root(mtd,size,&bcm947xx_parts[2])==0) { 
    339                 bcm947xx_parts[2].size = size - bcm947xx_parts[2].offset -  
    340                                 bcm947xx_parts[3].size; 
    341         } 
     338        find_root(mtd,size,&bcm947xx_parts[2]); 
     339        bcm947xx_parts[2].size = size - bcm947xx_parts[2].offset - bcm947xx_parts[3].size; 
    342340 
    343341        return bcm947xx_parts; 
  • trunk/target/linux/brcm47xx-2.6/files/drivers/mtd/maps/bcm47xx-flash.c

    r7172 r7224  
    336336 
    337337        /* find and size rootfs */ 
    338         if (find_root(mtd,size,&bcm947xx_parts[2])==0) { 
    339                 bcm947xx_parts[2].size = size - bcm947xx_parts[2].offset -  
    340                                 bcm947xx_parts[3].size; 
    341         } 
     338        find_root(mtd,size,&bcm947xx_parts[2]); 
     339        bcm947xx_parts[2].size = size - bcm947xx_parts[2].offset - bcm947xx_parts[3].size; 
    342340 
    343341        return bcm947xx_parts; 
Note: See TracChangeset for help on using the changeset viewer.