MTD with non-power-of-2 page size
s.hauer at pengutronix.de
Wed Aug 19 07:45:19 PDT 2015
On Wed, Aug 19, 2015 at 03:29:21PM +0100, Dave Kitchen wrote:
> Hi Sascha
> Thank you for the hint. I now have running code with the
> non-power-of-2 page size.
> Shall I try and generate/submit a patch for this?
> The code may be
> marginally slower in the power-of-2 case than the original, but I
> defy anyone to notice if they are using spi boot!
Well this code is not only executed for SPI Flashes but also NAND
flashes. Anyway, the speed penalty should be negligible.
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox