Changeset 13312
- Timestamp:
- 11/25/09 18:58:48 (3 years ago)
- Location:
- src/linux/brcm/linux-2.6.23/drivers/mtd
- Files:
-
- 2 edited
-
chips/cfi_cmdset_0002.c (modified) (2 diffs)
-
maps/bcm947xx-flash.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/linux/brcm/linux-2.6.23/drivers/mtd/chips/cfi_cmdset_0002.c
r12690 r13312 52 52 #define SST49LF008A 0x005a 53 53 #define AT49BV6416 0x00d6 54 #define MANUFACTURER_SAMSUNG 0x00ec 54 55 55 56 static int cfi_amdstd_read (struct mtd_info *, loff_t, size_t, size_t *, u_char *); … … 293 294 } 294 295 295 if (extp->MajorVersion != '1' ||296 if (extp->MajorVersion != '1' || 296 297 (extp->MinorVersion < '0' || extp->MinorVersion > '4')) { 297 printk(KERN_ERR " Unknown Amd/Fujitsu Extended Query " 298 "version %c.%c.\n", extp->MajorVersion, 299 extp->MinorVersion); 300 kfree(extp); 301 kfree(mtd); 302 return NULL; 298 if (cfi->mfr == MANUFACTURER_SAMSUNG && 299 (extp->MajorVersion == '3' && extp->MinorVersion == '3')) { 300 printk(KERN_NOTICE " Newer Samsung flash detected, " 301 "should be compatibile with Amd/Fujitsu.\n"); 302 } 303 else { 304 printk(KERN_ERR " Unknown Amd/Fujitsu Extended Query " 305 "version %c.%c.\n", extp->MajorVersion, 306 extp->MinorVersion); 307 kfree(extp); 308 kfree(mtd); 309 return NULL; 310 } 303 311 } 304 312 -
src/linux/brcm/linux-2.6.23/drivers/mtd/maps/bcm947xx-flash.c
r12958 r13312 531 531 532 532 /* override copy_from routine */ 533 bcm947xx_map.copy_from = bcm47xx_map_copy_from;533 // bcm947xx_map.copy_from = bcm47xx_map_copy_from; 534 534 535 535 /* Allow size override for testing */
Note: See TracChangeset
for help on using the changeset viewer.
