Re: [PATCH 2/2] mtd: spi-nor: spansion: Assign .fixups to s25fs256s1

From: Miquel Raynal

Date: Tue Sep 15 2026 - 10:02:24 EST


Hello,

> This didn't help as SFDP cache size is truncated to PAGE_SIZE in sfdp.c:
>
> /*
> * Limit the total size to a reasonable value to avoid allocating too
> * much memory just of because the flash returned some insane values.
> */
> if (sfdp_size > PAGE_SIZE) {
> dev_dbg(dev, "SFDP data (%zu) too big, truncating\n",
> sfdp_size);
> sfdp_size = PAGE_SIZE;
> }

That size just being a sanity check, if it no longer fits our needs it
must be increased.

Thanks,
Miquèl