[PATCH] mtd nand : print flash size during detection
Matthieu CASTET
matthieu.castet at parrot.com
Thu Nov 22 12:20:31 EST 2012
Artem Bityutskiy a écrit :
> On Tue, 2012-11-06 at 12:03 +0100, Matthieu CASTET wrote:
>> This help to detect bad flash identification in case the size is not present
>> on the name (ONFI).
>>
>> Signed-off-by: Matthieu CASTET <matthieu.castet at parrot.com>
>> ---
>> drivers/mtd/nand/nand_base.c | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
>> index c90ef66..8916bc6 100644
>> --- a/drivers/mtd/nand/nand_base.c
>> +++ b/drivers/mtd/nand/nand_base.c
>> @@ -3292,10 +3292,10 @@ ident_done:
>> chip->cmdfunc = nand_command_lp;
>>
>> pr_info("NAND device: Manufacturer ID: 0x%02x, Chip ID: 0x%02x (%s %s),"
>> - " page size: %d, OOB size: %d\n",
>> + " %dMiB page size: %d, OOB size: %d\n",
>
> Is this readable? No comma after the size. I guess it is better to add
> "size %dMiB," instead?
>
ok
More information about the linux-mtd
mailing list