Re: [PATCH] mtd: spi-nor: Store stacked memories sizes in parameter array

2024-11-04 Thread Tudor Ambarus
On 10/28/24 8:27 AM, Prasad Kummari wrote: > @@ -1155,7 +1155,35 @@ static int spi_nor_erase(struct mtd_info *mtd, struct > erase_info *instr) > > if (len == mtd->size && > !(nor->flags & SNOR_F_NO_OP_CHIP_ERASE)) { > - ret = spi_nor_erase_c

[PATCH] mtd: spi-nor: Store stacked memories sizes in parameter array

2024-10-28 Thread Prasad Kummari
Each flash connected in stacked mode should have a array of integers to the nor structure to store each flash size. This array stores the sizes parameters of each flash connected in a stacked or parallel mode. The current stacked implementation assumes a maximum of two flashes connected in stacked