[PATCH,Aspeed, v1 1/1] mtd: spi-nor: add Micron MT25QL01G flash

Tudor.Ambarus at microchip.com Tudor.Ambarus at microchip.com
Mon Jan 18 12:18:12 EST 2021


Hi, Hongwei,

On 12/8/20 10:22 PM, Hongwei Zhang wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> Add Micron MT25QL01G flash, used on AST2600 board.

MT25QL01G is a stacked device (two 512Mb die), and we don't support stacked
devices in SPI NOR as of now. This flash can be added when proper support
is added in SPI NOR. Would you be interested in working to add support for
stacked devices?

Cheers,
ta

> 
> Signed-off-by: Hongwei Zhang <hongweiz at ami.com>
> ---
>  drivers/mtd/spi-nor/spi-nor.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/mtd/spi-nor/spi-nor.c b/drivers/mtd/spi-nor/spi-nor.c
> index 99ce971ebc6d..800890038c39 100644
> --- a/drivers/mtd/spi-nor/spi-nor.c
> +++ b/drivers/mtd/spi-nor/spi-nor.c
> @@ -2312,6 +2312,7 @@ static const struct flash_info spi_nor_ids[] = {
>         { "n25q512ax3",  INFO(0x20ba20, 0, 64 * 1024, 1024, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ) },
>         { "n25q00",      INFO(0x20ba21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>         { "n25q00a",     INFO(0x20bb21, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
> +       { "mt25ql01g",   INFO(0x21ba20, 0, 64 * 1024, 2048, SECT_4K | USE_FSR | SPI_NOR_QUAD_READ | NO_CHIP_ERASE) },
>         { "mt25ql02g",   INFO(0x20ba22, 0, 64 * 1024, 4096,
>                               SECT_4K | USE_FSR | SPI_NOR_QUAD_READ |
>                               NO_CHIP_ERASE) },
> --
> 2.17.1
> 



More information about the linux-mtd mailing list