summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume LECERF <glecerf@gmail.com>2010-06-29 08:32:37 (GMT)
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 08:05:20 (GMT)
commit771a115a6df06c45cf783e24c3f1f08b3e9aac4c (patch)
tree7a75c0ff0a5eee27a0e0fba4a4f85c08f419f52f
parent30fe8115b55223cb84530ce04c4a20ba9d6dcf0b (diff)
downloadlinux-771a115a6df06c45cf783e24c3f1f08b3e9aac4c.tar.xz
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>
-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 b2acd32f..8f5b96a 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;
}