[PATCH] mtd: spinand: Add support for AllianceMemory AS5F34G04SND

Dhruva Gole d-gole at ti.com
Sun Jan 15 22:33:36 PST 2023


Hi Mario,
Thanks for the patch!


On 13/01/23 15:54, Mario Kicherer wrote:
> Add support for AllianceMemory AS5F34G04SND SPI NAND flash
> 
> Datasheet:
> - https://www.alliancememory.com/wp-content/uploads/pdf/flash/AllianceMemory_SPI_NAND_Flash_July2020_Rev1.0.pdf
> 
> Signed-off-by: Mario Kicherer <dev at kicherer.org>
> ---
Reviewed-by: Dhruva Gole <d-gole at ti.com>

>   drivers/mtd/nand/spi/Makefile         |   2 +-
>   drivers/mtd/nand/spi/alliancememory.c | 119 ++++++++++++++++++++++++++
>   drivers/mtd/nand/spi/core.c           |   1 +
>   include/linux/mtd/spinand.h           |   1 +
>   4 files changed, 122 insertions(+), 1 deletion(-)
>   create mode 100644 drivers/mtd/nand/spi/alliancememory.c
> 
> diff --git a/drivers/mtd/nand/spi/Makefile b/drivers/mtd/nand/spi/Makefile
> index b520fe634041..4ec973b8b6bf 100644
> --- a/drivers/mtd/nand/spi/Makefile
> +++ b/drivers/mtd/nand/spi/Makefile
> @@ -1,3 +1,3 @@
>   # SPDX-License-Identifier: GPL-2.0
> -spinand-objs := core.o ato.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o xtx.o
> +spinand-objs := core.o alliancememory.o ato.o gigadevice.o macronix.o micron.o paragon.o toshiba.o winbond.o xtx.o
>   obj-$(CONFIG_MTD_SPI_NAND) += spinand.o
> diff --git a/drivers/mtd/nand/spi/alliancememory.c b/drivers/mtd/nand/spi/alliancememory.c
> [...]

-- 
Thanks and Regards,
Dhruva Gole



More information about the linux-mtd mailing list