Re: [PATCH v1 1/4] drivers: introduce mtdblock abstraction

2024-03-07 Thread Alexey Romanov
Hi Heinrich, On Tue, Feb 27, 2024 at 02:37:17PM +0100, Heinrich Schuchardt wrote: > On 27.02.24 11:04, Alexey Romanov wrote: > > MTD block - abstraction over MTD subsystem, allowing > > to read and write in blocks using BLK UCLASS. > > > > - Read algorithm: > > > >1. Convert start block numb

[PATCH v1 1/4] drivers: introduce mtdblock abstraction

2024-02-27 Thread Alexey Romanov
MTD block - abstraction over MTD subsystem, allowing to read and write in blocks using BLK UCLASS. - Read algorithm: 1. Convert start block number to start address. 2. Read block_dev->blksz bytes using mtd_read() and add to start address pointer block_dev->blksz bytes, until the req

Re: [PATCH v1 1/4] drivers: introduce mtdblock abstraction

2024-02-27 Thread Heinrich Schuchardt
On 27.02.24 11:04, Alexey Romanov wrote: MTD block - abstraction over MTD subsystem, allowing to read and write in blocks using BLK UCLASS. - Read algorithm: 1. Convert start block number to start address. 2. Read block_dev->blksz bytes using mtd_read() and add to start address poin