[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <A765B125120D1346A63912DDE6D8B6315E6F6F@NTXXIAMBX02.xacn.micron.com>
Date: Thu, 16 Oct 2014 08:00:51 +0000
From: Bean Huo 霍斌斌 (beanhuo)
<beanhuo@...ron.com>
To: Rafal Milecki <zajec5@...il.com>,
Brian Norris <computersforpeace@...il.com>
CC: Marek Vasut <marex@...x.de>,
"dwmw2@...radead.org" <dwmw2@...radead.org>,
"grmoore@...era.com" <grmoore@...era.com>,
"linux-mtd@...ts.infradead.org" <linux-mtd@...ts.infradead.org>,
"shijie8@...il.com" <shijie8@...il.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"geert+renesas@...der.be" <geert+renesas@...der.be>
Subject: RE: [PATCH 1/1 v2] driver:mtd:spi-nor:fix spi_nor_scan overwrite
platform ID point
>There are a lot of changes happening/requested around this code. I also proposed some patch touching this code, see https://patchwork.ozlabs.org/patch/377917/
>Right now there is a slow ongoing work on fixing some m25p80 regression, which also may touch the code you change. So I'll suggest postponing this patch until we get a regression fixed and then work on this hacky code again.
Thanks for your concerns.But for the same deivce id with the different extended id and
the same device name with the different device id issue, in your patch,this doesn't take
into account. I have encountered this situation. for example:
first condition (for the same deivce id with the different extended id):
{ "n25q064", INFO(0x20ba17, 0, 64 * 1024, 128, 0) },
{ "n25ml064", INFO(0x20ba17, 0x1234, 64 * 1024, 256, 0) },//right device data
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
{ "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
second condition(the same device id with the different device name):
{ "n25tl28", INFO(0x20ba17, 0, 64 * 1024, 128, 0) },
{ "n25ml028", INFO(0x20ba17, 0, 64 * 1024, 256, 0) },//right device data
{ "n25q128a13", INFO(0x20ba18, 0, 64 * 1024, 256, 0) },
{ "n25q256a", INFO(0x20ba19, 0, 64 * 1024, 512, SECT_4K) },
{ "n25q512a", INFO(0x20bb20, 0, 64 * 1024, 1024, SECT_4K) },
Powered by blists - more mailing lists