* [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags
@ 2016-12-16 10:38 Phil Edworthy
2016-12-21 11:10 ` Jagan Teki
0 siblings, 1 reply; 5+ messages in thread
From: Phil Edworthy @ 2016-12-16 10:38 UTC (permalink / raw)
To: u-boot
The n25q128 devices support 4K erase.
Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
drivers/mtd/spi/spi_flash_ids.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index edca94e..e31131e 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd/spi/spi_flash_ids.c
@@ -123,8 +123,8 @@ const struct spi_flash_info spi_flash_ids[] = {
{"n25q32a", INFO(0x20bb16, 0x0, 64 * 1024, 64, RD_FULL | WR_QPP | SECT_4K) },
{"n25q64", INFO(0x20ba17, 0x0, 64 * 1024, 128, RD_FULL | WR_QPP | SECT_4K) },
{"n25q64a", INFO(0x20bb17, 0x0, 64 * 1024, 128, RD_FULL | WR_QPP | SECT_4K) },
- {"n25q128", INFO(0x20ba18, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) },
- {"n25q128a", INFO(0x20bb18, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) },
+ {"n25q128", INFO(0x20ba18, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP | SECT_4K) },
+ {"n25q128a", INFO(0x20bb18, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP | SECT_4K) },
{"n25q256", INFO(0x20ba19, 0x0, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },
{"n25q256a", INFO(0x20bb19, 0x0, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },
{"n25q512", INFO(0x20ba20, 0x0, 64 * 1024, 1024, RD_FULL | WR_QPP | E_FSR | SECT_4K) },
--
2.7.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags
2016-12-16 10:38 [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags Phil Edworthy
@ 2016-12-21 11:10 ` Jagan Teki
2016-12-21 11:15 ` Phil Edworthy
0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2016-12-21 11:10 UTC (permalink / raw)
To: u-boot
On Fri, Dec 16, 2016 at 11:38 AM, Phil Edworthy
<phil.edworthy@renesas.com> wrote:
> The n25q128 devices support 4K erase.
It's OK, but go with 64K erase.
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags
2016-12-21 11:10 ` Jagan Teki
@ 2016-12-21 11:15 ` Phil Edworthy
2016-12-21 11:21 ` Jagan Teki
0 siblings, 1 reply; 5+ messages in thread
From: Phil Edworthy @ 2016-12-21 11:15 UTC (permalink / raw)
To: u-boot
Hi Jagan,
On 21 December 2016 11:10, Jagan Teki wrote:
> On Fri, Dec 16, 2016 at 11:38 AM, Phil Edworthy
> <phil.edworthy@renesas.com> wrote:
> > The n25q128 devices support 4K erase.
>
> It's OK, but go with 64K erase.
Sorry, I don?t understand your comment.
Do you mean we should stick with 64K erase?
If so, then what about all the other Micron devices that have SECT_4K?
Thanks
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags
2016-12-21 11:15 ` Phil Edworthy
@ 2016-12-21 11:21 ` Jagan Teki
2016-12-21 11:28 ` Phil Edworthy
0 siblings, 1 reply; 5+ messages in thread
From: Jagan Teki @ 2016-12-21 11:21 UTC (permalink / raw)
To: u-boot
On Wed, Dec 21, 2016 at 12:15 PM, Phil Edworthy
<phil.edworthy@renesas.com> wrote:
> Hi Jagan,
>
> On 21 December 2016 11:10, Jagan Teki wrote:
>> On Fri, Dec 16, 2016 at 11:38 AM, Phil Edworthy
>> <phil.edworthy@renesas.com> wrote:
>> > The n25q128 devices support 4K erase.
>>
>> It's OK, but go with 64K erase.
> Sorry, I don?t understand your comment.
> Do you mean we should stick with 64K erase?
> If so, then what about all the other Micron devices that have SECT_4K?
It's because we have tested 64K on these parts and it's fine why can't
we move 4K because 64K look faster, did you find any issue with 64K on
this specific part?
thanks!
--
Jagan Teki
Free Software Engineer | www.openedev.com
U-Boot, Linux | Upstream Maintainer
Hyderabad, India.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags
2016-12-21 11:21 ` Jagan Teki
@ 2016-12-21 11:28 ` Phil Edworthy
0 siblings, 0 replies; 5+ messages in thread
From: Phil Edworthy @ 2016-12-21 11:28 UTC (permalink / raw)
To: u-boot
Hi Jagan,
On 21 December 2016 11:21, Jagan Teki wrote:
> On Wed, Dec 21, 2016 at 12:15 PM, Phil Edworthy
> <phil.edworthy@renesas.com> wrote:
> > On 21 December 2016 11:10, Jagan Teki wrote:
> >> On Fri, Dec 16, 2016 at 11:38 AM, Phil Edworthy
> >> <phil.edworthy@renesas.com> wrote:
> >> > The n25q128 devices support 4K erase.
> >>
> >> It's OK, but go with 64K erase.
> > Sorry, I don?t understand your comment.
> > Do you mean we should stick with 64K erase?
> > If so, then what about all the other Micron devices that have SECT_4K?
>
> It's because we have tested 64K on these parts and it's fine why can't
> we move 4K because 64K look faster, did you find any issue with 64K on
> this specific part?
No, I didn?t find any problems with it at 64K erase.
As you say, erasing 64K is much faster than 16 x 4K erase. So should we
move the other Micron parts to 64K?
Thanks
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-12-21 11:28 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16 10:38 [U-Boot] [PATCH] sf: ids: Correct Micron n25q128 flags Phil Edworthy
2016-12-21 11:10 ` Jagan Teki
2016-12-21 11:15 ` Phil Edworthy
2016-12-21 11:21 ` Jagan Teki
2016-12-21 11:28 ` Phil Edworthy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.