Re: [PATCH v1 2/6] mtd: spi-nor: get rid of non-power-of-2 page size handling

From: Pratyush Yadav
Date: Mon Apr 15 2024 - 11:49:21 EST


Hi,

On Fri, Apr 12 2024, Michael Walle wrote:

> The Xilinx flashes were the only user of the page sized that were no
> power of 2. Support for them were dropped, thus we can also get rid of
> the special page size handling for it.

Looks like the Xilinx flashes are the only users of
flash_info->page_size, and params->convert_addr (along with
spi_nor_convert_addr()) so those should also be dropped.

The patch looks good to me otherwise.

[...]

--
Regards,
Pratyush Yadav