Skip to content

Commit

Permalink
LF-10799-2: mtd: spi-nor: remove redundant and enable 4k subsector
Browse files Browse the repository at this point in the history
remove the redundant mt35xu01g entry and add the 4k sector flag

Signed-off-by: Han Xu <han.xu@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
  • Loading branch information
hanxu-nxp authored and Ye Li committed Dec 15, 2023
1 parent 587050c commit 9f832f6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/mtd/spi/spi-nor-ids.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,8 @@ const struct flash_info spi_nor_ids[] = {
/* for platforms that didn't enable DTR read */
{ INFO("mt35xl512aba", 0x2c5a1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
{ INFO("mt35xu512aba", 0x2c5b1a, 0, 128 * 1024, 512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
{ INFO("mt35xu01gaba", 0x2c5b1b, 0, 128 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
#endif /* CONFIG_SPI_FLASH_MT35XU */
{ INFO6("mt35xu01g", 0x2c5b1b, 0x104100, 128 * 1024, 1024, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
{ INFO6("mt35xu01g", 0x2c5b1b, 0x104100, 128 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
{ INFO("mt35xu02g", 0x2c5b1c, 0, 128 * 1024, 2048, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES) },
#endif
#ifdef CONFIG_SPI_FLASH_SPANSION /* SPANSION */
Expand Down

0 comments on commit 9f832f6

Please sign in to comment.