mtd: spi-nor: macronix: Add SECT_4K to mx25l12805d
authorRobert Marko <robert.marko@sartura.hr>
Tue, 15 Sep 2020 10:06:23 +0000 (12:06 +0200)
committerVignesh Raghavendra <vigneshr@ti.com>
Tue, 29 Sep 2020 13:14:27 +0000 (18:44 +0530)
commit02892d405358288e0057cbdfe6476d13ea62fd2f
tree3e81b0d7097f4beb684db90b316d7c50a7eeac87
parent03edda0e1edaa3c2e99239c66e3c14d749318fd6
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
drivers/mtd/spi-nor/macronix.c