RE: [PATCH v4 03/11] mtd: intel-dg: implement region enumeration

2025-01-02 Thread Usyskin, Alexander
> > > @@ -89,6 +281,13 @@ static int intel_dg_mtd_probe(struct > auxiliary_device *aux_dev, > > goto err; > > } > > > > + ret = intel_dg_nvm_init(nvm, device); > > + if (ret < 0) { > > + dev_err(device, "cannot initialize nvm\n"); > > + ret = -ENODEV; > > W

Re: [PATCH v4 03/11] mtd: intel-dg: implement region enumeration

2025-01-02 Thread Christophe JAILLET
Le 01/01/2025 à 16:39, Alexander Usyskin a écrit : In intel-dg, there is no access to the spi controller, the information is extracted from the descriptor region. CC: Lucas De Marchi Reviewed-by: Rodrigo Vivi Acked-by: Miquel Raynal Co-developed-by: Tomas Winkler Signed-off-by: Tomas Winkler

[PATCH v4 03/11] mtd: intel-dg: implement region enumeration

2025-01-01 Thread Alexander Usyskin
In intel-dg, there is no access to the spi controller, the information is extracted from the descriptor region. CC: Lucas De Marchi Reviewed-by: Rodrigo Vivi Acked-by: Miquel Raynal Co-developed-by: Tomas Winkler Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- drivers/mtd/