[PATCH 2/2] mtd: spi-nor: spansion: Assign .fixups to s25fs256s1
Takahiro.Kuwano at infineon.com
Takahiro.Kuwano at infineon.com
Mon Sep 14 00:11:04 PDT 2026
Hi Michael,
> On Mon Sep 14, 2026 at 6:50 AM CEST, Takahiro Kuwano via B4 Relay wrote:
> > From: Takahiro Kuwano <takahiro.kuwano at infineon.com>
> >
> > s25fs256s1 has incorrect SFDP entries, like s25fs512s and s25fs128s1.
> > Assign the common s25fs_s_nor_fixups to s25fs256s1 to fix its page size
> > and sector map.
>
> Do you have an SFDP dump by chance? I haven't found one on the list
> for this flash.
>
Yes, but param tables are located beyond PAGE_SIZE(1000h)...
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/partname
s25fs256s1
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/jedec_id
0102194d0181
zynq> cat /sys/bus/spi/devices/spi0.0/spi-nor/manufacturer
spansion
zynq> hexdump /sys/bus/spi/devices/spi0.0/spi-nor/sfdp
0000000 4653 5044 0106 ff05 0000 0901 1090 ff00
0000010 0500 1001 1090 ff00 0600 1001 1090 ff00
0000020 0081 1a01 10d8 ff00 0084 0201 10d0 ff00
0000030 0101 5001 1000 0100 ffff ffff ffff ffff
0000040 ffff ffff ffff ffff ffff ffff ffff ffff
*
0001000
Thanks,
Takahiro
More information about the linux-mtd
mailing list