[PATCH 4/6] mtd: spi-nor-ids: Add 4K page support for Macronix MX25L25635E
Miquel Raynal
miquel.raynal at bootlin.com
Tue Apr 28 09:22:18 CEST 2026
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://www.mxic.com.tw/Lists/Datasheet/Attachments/8592/MX25L25635E,%203V,%20256Mb,%20v1.3.pdf
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?
> { 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