Changeset 12221


Ignore:
Timestamp:
05/29/09 16:55:59 (4 years ago)
Author:
eko
Message:

wgr614L with boardnum = 0123 support

Location:
src/linux/brcm/linux.v24_2/drivers/mtd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • src/linux/brcm/linux.v24_2/drivers/mtd/devices/sflash.c

    r10740 r12221  
    234234        } 
    235235         
    236   if ((boardnum == 83258 || boardnum == 01) 
    237     && (nvram_match( "boardtype", "0x48E" ) || nvram_match( "boardtype", "0x048e" ) ) 
    238         && (nvram_match( "boardrev", "0x10" ) || nvram_match( "boardrev", "0x11" ) ) 
     236  if ( (boardnum == 83258 || boardnum == 1 || boardnum == 0123) 
     237    && (nvram_match( "boardtype", "0x48E" ) || nvram_match( "boardtype", "0x048e" )) 
     238        && (nvram_match( "boardrev", "0x10" ) || nvram_match( "boardrev", "0x11" )) 
    239239        && (nvram_match ( "boardflags", "0x750" ) || nvram_match ( "boardflags", "0x0750" )) ) 
    240240        { 
  • src/linux/brcm/linux.v24_2/drivers/mtd/maps/bcm947xx-flash.c

    r12149 r12221  
    383383                /* Write fake Netgear checksum to the flash */           
    384384                uint boardnum = bcm_strtoul( nvram_safe_get( "boardnum" ), NULL, 0 ); 
    385                 if ( (boardnum == 83258 || boardnum == 01)  //or 001 or 0x01 
     385                if ( (boardnum == 83258 || boardnum == 1 || boardnum == 0123)  //or 01 or 001 or 0x01 
    386386                && (nvram_match("boardtype", "0x048e") || nvram_match("boardtype", "0x48E")) 
    387387                && (nvram_match("boardrev", "0x11") || nvram_match("boardrev", "0x10")) 
Note: See TracChangeset for help on using the changeset viewer.