summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips/cfi_probe.c
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-06-29 10:32:37 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 10:05:20 +0200
commit771a115a6df06c45cf783e24c3f1f08b3e9aac4c (patch)
tree7a75c0ff0a5eee27a0e0fba4a4f85c08f419f52f /drivers/mtd/chips/cfi_probe.c
parentmtd: nand: edit macro flag for BBT scan of last page in block (diff)
downloadlinux-771a115a6df06c45cf783e24c3f1f08b3e9aac4c.tar.xz
linux-771a115a6df06c45cf783e24c3f1f08b3e9aac4c.zip
mtd: cfi_probe: print manufacturer and id of probed chip
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>
Diffstat (limited to 'drivers/mtd/chips/cfi_probe.c')
-rw-r--r--drivers/mtd/chips/cfi_probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_probe.c b/drivers/mtd/chips/cfi_probe.c
index b2acd32f4fbf..8f5b96aa87a0 100644
--- a/drivers/mtd/chips/cfi_probe.c
+++ b/drivers/mtd/chips/cfi_probe.c
@@ -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;
}