Changeset 12515


Ignore:
Timestamp:
07/16/09 10:36:27 (4 years ago)
Author:
eko
Message:

wnr3500 exclude bdata part

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/brcm/linux.v24_2/drivers/mtd/maps/bcm947xx-flash.c

    r12221 r12515  
    451451         
    452452        if ( (boardnum == 83258 || boardnum == 01)  //or 001 or 0x01 
    453           && (nvram_match("boardtype", "0x048e") || nvram_match("boardtype", "0x48E")) 
    454           && (nvram_match("boardrev", "0x11") || nvram_match("boardrev", "0x10")) 
    455           && (nvram_match("boardflags", "0x750") || nvram_match("boardflags", "0x0750")) 
     453          && (nvram_match ("boardtype", "0x048e") || nvram_match ("boardtype", "0x48E")) 
     454          && (nvram_match ("boardrev", "0x11") || nvram_match ("boardrev", "0x10")) 
     455          && (nvram_match ("boardflags", "0x750") || nvram_match ("boardflags", "0x0750")) 
    456456          &&  nvram_match ("sdram_init", "0x000A") ) { 
    457457                board_data_size = 4 * 0x10000;  //Netgear WGR614v8/L/WW 16MB ram, cfe v1.3 or v1.5 
    458458                jffs_exclude_size = 0x10000;    //checksum is @ 0x003AFFF8 
    459         }                                                                                                                                
     459        } 
     460         
     461        if ( boardnum == 01 && nvram_match ("boardtype", "0x04CF") 
     462            && nvram_match ("boardrev", "0x1213") ) {    
     463                board_data_size = 0x10000;  //Netgear WNR3500v2/L 
     464        }                                                                                                                        
    460465 
    461466        if ((cfe_size = find_cfe_size(mtd,size)) < 0) 
Note: See TracChangeset for help on using the changeset viewer.