mtd: spi-nor: spansion: Add s28hl512t, s28hl01gt, and s28hs01gt info
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Wed, 31 Aug 2022 04:59:06 +0000 (13:59 +0900)
committerTudor Ambarus <tudor.ambarus@microchip.com>
Tue, 25 Oct 2022 02:11:35 +0000 (05:11 +0300)
Add flash info table entries for s28hl512gt, s28hl01gt, and s28hs01gt.
These devices have the same functionality as s28hs512t.

Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/6350ac204c58b94b30d70c529bf194d953085ac6.1661915569.git.Takahiro.Kuwano@infineon.com
drivers/mtd/spi-nor/spansion.c

index 4278d3a..bd9edfd 100644 (file)
@@ -453,10 +453,22 @@ static const struct flash_info spansion_nor_parts[] = {
                .fixups = &s25hx_t_fixups },
        { "cy15x104q",  INFO6(0x042cc2, 0x7f7f7f, 512 * 1024, 1)
                FLAGS(SPI_NOR_NO_ERASE) },
+       { "s28hl512t",   INFO(0x345a1a,      0, 256 * 1024, 256)
+               PARSE_SFDP
+               .fixups = &s28hx_t_fixups,
+       },
+       { "s28hl01gt",   INFO(0x345a1b,      0, 256 * 1024, 512)
+               PARSE_SFDP
+               .fixups = &s28hx_t_fixups,
+       },
        { "s28hs512t",   INFO(0x345b1a,      0, 256 * 1024, 256)
                PARSE_SFDP
                .fixups = &s28hx_t_fixups,
        },
+       { "s28hs01gt",   INFO(0x345b1b,      0, 256 * 1024, 512)
+               PARSE_SFDP
+               .fixups = &s28hx_t_fixups,
+       },
 };
 
 /**