diff options
| author | 2026-09-17 14:02:15 +0900 | |
|---|---|---|
| committer | 2026-09-18 11:37:18 +0200 | |
| commit | 935457a1ddc90921c3a3444f8bb7aaa97d2af55c (patch) | |
| tree | 3f0cef15bf24659f09a5461a5fd0fe15aca5a674 /scripts/Makefile.thinlto | |
| parent | mtd: spi-nor: spansion: Assign .fixups to s25fs256s1 (diff) | |
mtd: spi-nor: sfdp: Increase SFDP data size limit to 16 KiB
The size of SFDP data read and cached is limited to avoid allocating
too much memory. The current limit is PAGE_SIZE, but the Spansion S25FS256S
has parameter tables at offsets beyond 4 KiB.
Increase the limit to 16 KiB to support such devices by introducing the
SFDP_MAX_SIZE macro.
Suggested-by: Miquel Raynal <miquel.raynal@bootlin.com>
Suggested-by: Michael Walle <mwalle@kernel.org>
Signed-off-by: Takahiro Kuwano <takahiro.kuwano@infineon.com>
Acked-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Michael Walle <mwalle@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
