[PATCH 4/6] mtd: spi-nor-ids: Add 4K page support for Macronix MX25L25635E
Weijie Gao
weijie.gao at mediatek.com
Tue Apr 28 09:26:32 CEST 2026
On Tue, 2026-04-28 at 09:22 +0200, Miquel Raynal wrote:
> Hi,
>
> On 28/04/2026 at 11:32:03 +08, Weijie Gao <weijie.gao at mediatek.com>
> wrote:
>
> > The datasheet can be found here:
> >
https://urldefense.com/v3/__https://www.mxic.com.tw/Lists/Datasheet/Attachments/8592/MX25L25635E,*203V,*20256Mb,*20v1.3.pdf__;JSUl!!CTRNKA9wMg0ARbw!lYeaxwC-knJH61lKpIB1VNkNkvLBAAyzS5JwtDo-x9YDy7jngWucI28Yjx2wnzvEsuVLYPR4LkWiSKXNWrnIq93KhJw$
> >
>
> You can be a little more verbose here, about the why we need this?
>
> > @@ -330,7 +330,7 @@ const struct flash_info spi_nor_ids[] = {
> > { INFO("mx25u51245g", 0xc2253a, 0, 64 * 1024, 1024, SECT_4K |
> > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
> > SPI_NOR_4B_OPCODES) },
> > { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
> > - { INFO("mx25l25635e", 0xc22019, 0, 64 * 1024, 512,
> > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> > + { INFO("mx25l25635e", 0xc22019, 0, 64 * 1024, 512, SECT_4K |
> > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>
> Is this something you really need to flag? Isn't it already provided
> by
> the SFDP tables?
I need to use this without enabling SFDP to save some space. So it's
still necessary to add this flag. I can add this description to the
commit message.
>
> > { INFO("mx25u25635f", 0xc22539, 0, 64 * 1024, 512, SECT_4K |
> > SPI_NOR_4B_OPCODES) },
> > { INFO("mx25v8035f", 0xc22314, 0, 64 * 1024, 16, SECT_4K |
> > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
> > { INFO("mx25r1635f", 0xc22815, 0, 64 * 1024, 32, SECT_4K |
> > SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
>
> Thanks,
> Miquèl
More information about the U-Boot
mailing list