]> git.karo-electronics.de Git - linux-beck.git/commitdiff
mtd: cfi_probe: print manufacturer and id of probed chip
authorGuillaume LECERF <glecerf@gmail.com>
Tue, 29 Jun 2010 08:32:37 +0000 (10:32 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 2 Aug 2010 08:05:20 +0000 (09:05 +0100)
Signed-off-by: Guillaume LECERF <glecerf@gmail.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/chips/cfi_probe.c

index b2acd32f4fbf8a89f8fec929b66f76ad47e9dbb9..8f5b96aa87a0ae601f2ebeb2ea2e4353bcf5d65d 100644 (file)
@@ -235,9 +235,9 @@ static int __xipram cfi_chip_setup(struct map_info *map,
        cfi_qry_mode_off(base, map, cfi);
        xip_allowed(base, map);
 
-       printk(KERN_INFO "%s: Found %d x%d devices at 0x%x in %d-bit bank\n",
+       printk(KERN_INFO "%s: Found %d x%d devices at 0x%x in %d-bit bank. Manufacturer ID %#08x Chip ID %#08x\n",
               map->name, cfi->interleave, cfi->device_type*8, base,
-              map->bankwidth*8);
+              map->bankwidth*8, cfi->mfr, cfi->id);
 
        return 1;
 }