Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: spinand: winbond: Register W25N vendor specific operation

Provide the Winbond W25N specific "select target" operation to let the
core verify it is supported by the controller before using it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

+4
+4
drivers/mtd/nand/spi/winbond.c
··· 105 105 SPI_MEM_OP_NO_DUMMY, \ 106 106 SPI_MEM_OP_DATA_OUT(1, buf, 1)) 107 107 108 + static SPINAND_OP_VARIANTS(winbond_w25_ops, 109 + SPINAND_WINBOND_SELECT_TARGET_1S_0_1S(NULL)); 110 + 108 111 static struct spi_mem_op 109 112 spinand_fill_winbond_select_target_op(struct spinand_device *spinand, void *valptr) 110 113 { ··· 500 497 &write_cache_variants, 501 498 &update_cache_variants), 502 499 0, 500 + SPINAND_INFO_VENDOR_OPS(&winbond_w25_ops), 503 501 SPINAND_ECCINFO(&w25m02gv_ooblayout, NULL), 504 502 SPINAND_SELECT_TARGET(w25m02gv_select_target)), 505 503 SPINAND_INFO("W25N02JW", /* high-speed 1.8V */