[PATCH v2] mtd: spi-nor-ids: Reinstate Micron MT25QL02G

Stefan Roese sr at denx.de
Tue Oct 5 11:17:29 CEST 2021


On 05.10.21 10:58, Marek Vasut wrote:
> This ID disappeared in 5b66fdb29dc ("mtd: spi: Remove unused files"),
> add the ID back, since the chip is used on devices supported by U-Boot.
> 
> Fixes: 5b66fdb29dc ("mtd: spi: Remove unused files")
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Horatiu Vultur <horatiu.vultur at microchip.com>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> Cc: Simon Goldschmidt <simon.k.r.goldschmidt at gmail.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Vignesh R <vigneshr at ti.com>
> ---
> V2: Enable 4B opcodes which are supported by this chip

Reviewed-by: Stefan Roese <sr at denx.de>

Thanks,
Stefan

> ---
>   drivers/mtd/spi/spi-nor-ids.c | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 4aef1ddd6e2..39af04cf795 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -195,6 +195,7 @@ const struct flash_info spi_nor_ids[] = {
>   	{ INFO("n25q00a",     0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>   	{ INFO("mt25ql01g",   0x21ba20, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>   	{ INFO("mt25qu02g",   0x20bb22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
> +	{ INFO("mt25ql02g",   0x20ba22, 0, 64 * 1024, 4096, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE | SPI_NOR_4B_OPCODES) },
>   #ifdef CONFIG_SPI_FLASH_MT35XU
>   	{ INFO("mt35xu512aba", 0x2c5b1a, 0,  128 * 1024,  512, USE_FSR | SPI_NOR_OCTAL_READ | SPI_NOR_4B_OPCODES | SPI_NOR_OCTAL_DTR_READ) },
>   #endif /* CONFIG_SPI_FLASH_MT35XU */
> 


Viele Grüße,
Stefan

-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr at denx.de


More information about the U-Boot mailing list