From: Siva Durga Prasad Paladugu Date: Wed, 10 Apr 2019 11:23:33 +0000 (+0530) Subject: mtd: spi: Add octal read flag for part mt35xu512g X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ae80b8ce892d1ed10f088791eaf3cbcf3a23d60c;p=thirdparty%2Fu-boot.git mtd: spi: Add octal read flag for part mt35xu512g This patch adds octal read support for flash mt35xu512g. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c index e63cad84372..e05d0450db9 100644 --- a/drivers/mtd/spi/spi_flash_ids.c +++ b/drivers/mtd/spi/spi_flash_ids.c @@ -162,7 +162,7 @@ const struct spi_flash_info spi_flash_ids[] = { {"n25q1024a", INFO(0x20bb21, 0x0, 64 * 1024, 2048, RD_FULL | WR_QPP | E_FSR | SECT_4K) }, {"mt25qu02g", INFO(0x20bb22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) }, {"mt25ql02g", INFO(0x20ba22, 0x0, 64 * 1024, 4096, RD_FULL | WR_QPP | E_FSR | SECT_4K) }, - {"mt35xu512g", INFO6(0x2c5b1a, 0x104100, 128 * 1024, 512, E_FSR | SECT_4K) }, + {"mt35xu512g", INFO6(0x2c5b1a, 0x104100, 128 * 1024, 512, E_FSR | SECT_4K | RD_OCTAL) }, {"mt35xl512g", INFO6(0x2c5b1b, 0x0, 128 * 1024, 512, RD_FULL | RD_OCTAL | E_FSR | SECT_4K) }, #endif #ifdef CONFIG_SPI_FLASH_SST /* SST */