diff options
author | Huang Shijie <b32955@freescale.com> | 2013-04-01 17:32:00 +0800 |
---|---|---|
committer | Huang Shijie <b32955@freescale.com> | 2013-04-03 14:08:05 +0800 |
commit | a9b6868faa140b2a06508aae878de711d3e59cc4 (patch) | |
tree | 1b9c379b25e8bde60e1abfdd70dac9f325700a05 | |
parent | 9cc078befef13595fa3989f13254a4232565e3ab (diff) |
ENGR00256315-5 mtd: cfi_cmdset_0002: print @adr when write timeout occurs
Print out the @adr when the write timeout occurs.
This is useful to check if the write timeouts occur at the
same address.
Signed-off-by: Huang Shijie <b32955@freescale.com>
-rw-r--r-- | drivers/mtd/chips/cfi_cmdset_0002.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/cfi_cmdset_0002.c b/drivers/mtd/chips/cfi_cmdset_0002.c index 23175edd5634..727fd9c53199 100644 --- a/drivers/mtd/chips/cfi_cmdset_0002.c +++ b/drivers/mtd/chips/cfi_cmdset_0002.c @@ -1473,8 +1473,8 @@ static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, xip_enable(map, chip, adr); /* FIXME - should have reset delay before continuing */ - printk(KERN_WARNING "MTD %s(): software timeout\n", - __func__ ); + printk(KERN_WARNING "MTD %s(): software timeout, address:0x%.8lx.\n", + __func__, adr); ret = -EIO; op_done: |