Skip to content

Commit 02892d4

Browse files
robimarkor-vignesh
authored andcommitted
mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d
According to the mx25l12805d datasheet it supports using 4K or 64K sectors. So lets add the SECT_4K to enable 4K sector usage. Datasheet: https://www.mxic.com.tw/Lists/Datasheet/Attachments/7321/MX25L12805D,%203V,%20128Mb,%20v1.2.pdf Cc: Luka Perkov <luka.perkov@sartura.hr> Signed-off-by: Robert Marko <robert.marko@sartura.hr> Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com> Link: https://lore.kernel.org/r/20200915100623.708736-1-robert.marko@sartura.hr
1 parent 03edda0 commit 02892d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/mtd/spi-nor/macronix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static const struct flash_info macronix_parts[] = {
5050
{ "mx25u4035", INFO(0xc22533, 0, 64 * 1024, 8, SECT_4K) },
5151
{ "mx25u8035", INFO(0xc22534, 0, 64 * 1024, 16, SECT_4K) },
5252
{ "mx25u6435f", INFO(0xc22537, 0, 64 * 1024, 128, SECT_4K) },
53-
{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, 0) },
53+
{ "mx25l12805d", INFO(0xc22018, 0, 64 * 1024, 256, SECT_4K) },
5454
{ "mx25l12855e", INFO(0xc22618, 0, 64 * 1024, 256, 0) },
5555
{ "mx25r1635f", INFO(0xc22815, 0, 64 * 1024, 32,
5656
SECT_4K | SPI_NOR_DUAL_READ |

0 commit comments

Comments
 (0)