Works as expected. Can you commit this change into master? Thanks! пн, 25 янв. 2021 г. в 11:37, Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx>: > > Hello, > > On 25.01.21 09:20, Alexander Shiyan wrote: > > Hello. > > > > I recently upgraded my barebox from 2020.11 to 2021.01 for a custom board > > based on TI AM335x processor. > > The update revealed the inoperability of writing to NAND. When trying to write, > > the bootloader hangs forever. > > Reverting the commit "mtd: nand: omap_gpmc: Fix wrong length check" helps > > to solve the problem. > > What happens when changing the condition to len > 0? > > > Does anyone have similar problems? > > > > Thanks! > > > > _______________________________________________ > > barebox mailing list > > barebox@xxxxxxxxxxxxxxxxxxx > > http://lists.infradead.org/mailman/listinfo/barebox > > > > -- > Pengutronix e.K. | | > Steuerwalder Str. 21 | http://www.pengutronix.de/ | > 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | > Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox