Changeset 44664


Ignore:
Timestamp:
2015-03-11T16:56:27+01:00 (3 years ago)
Author:
blogic
Message:

ar71xx: generalize cybertan partition parser

By removing the NL16 signature check, the parser can be
utilized by other devices like the WD My Net Wi-fi Range
Extender.

Signed-off-by: Christian Lamparter <chunkeey@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/target/linux/ar71xx/files/drivers/mtd/cybertan_part.c

    r44663 r44664  
    124124        } 
    125125 
    126         if (strncmp(header->cybertan.magic, "NL16", 4) != 0) { 
    127                 printk(KERN_NOTICE "%s: no WRT160NL signature found\n", 
    128                        master->name); 
    129                 goto free_hdr; 
    130         } 
    131  
    132126        theader = &header->trx; 
    133127        if (le32_to_cpu(theader->magic) != TRX_MAGIC) { 
Note: See TracChangeset for help on using the changeset viewer.