]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
mtd: spi-nor-ids: Add NO_CHIP_ERASE flag to Infineon s28hs02gt
authorTakahiro Kuwano <Takahiro.Kuwano@infineon.com>
Fri, 27 Sep 2024 01:24:16 +0000 (10:24 +0900)
committerTom Rini <trini@konsulko.com>
Thu, 10 Oct 2024 14:12:58 +0000 (08:12 -0600)
S28HS02GT is dual-die package parts and do not support chip erase.

Fixes: 16dd1095101 ("mtd: spi-nor-ids: Add Infineon(Cypress) s28hs02gt ID")
Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Signed-off-by: Takahiro Kuwano <Takahiro.Kuwano@infineon.com>
drivers/mtd/spi/spi-nor-ids.c

index 1af1d96134e9d08c29e31ea97a89efdc31c0449c..66e534b7168836db3b8a9a4ce7a3b374e4eee49d 100644 (file)
@@ -387,7 +387,7 @@ const struct flash_info spi_nor_ids[] = {
        { INFO("s28hl01gt",  0x345a1b,      0, 256 * 1024, 512, SPI_NOR_OCTAL_DTR_READ) },
        { INFO("s28hs512t",  0x345b1a,      0, 256 * 1024, 256, SPI_NOR_OCTAL_DTR_READ) },
        { INFO("s28hs01gt",  0x345b1b,      0, 256 * 1024, 512, SPI_NOR_OCTAL_DTR_READ) },
-       { INFO("s28hs02gt",  0x345b1c,      0, 256 * 1024, 1024, SPI_NOR_OCTAL_DTR_READ) },
+       { INFO("s28hs02gt",  0x345b1c,      0, 256 * 1024, 1024, SPI_NOR_OCTAL_DTR_READ | NO_CHIP_ERASE) },
 #endif
 #endif
 #ifdef CONFIG_SPI_FLASH_SST            /* SST */