Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-01 Thread Markus Hoffrogge
Am Fr., 1. Juli 2022 um 11:57 Uhr schrieb Andre Przywara < andre.przyw...@arm.com>: Hi Andre, > On Thu, 30 Jun 2022 23:30:50 +0200 > Markus Hoffrogge wrote: > > Hi Markus, > > > as this patch has been delegated to you, > > thanks for sending the patch, and

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-07-01 Thread Markus Hoffrogge
Hi Andre, as this patch has been delegated to you, I would like to mention, that this patch is superseding the patch https://patchwork.ozlabs.org/project/uboot/patch/20220330204543.3790-1-macroalph...@gmail.com/ raised by Chris Morgan. It should solve the issue in general and does not require t

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
Am Do., 30. Juni 2022 um 16:01 Uhr schrieb andrés ramírez : > > Hi. Markus. > > >>>>> "Markus" == Markus Hoffrogge writes: > > Markus> Hi Miquel, hi Maxime, could you probably run a test on a newer > Allwinner SOC - like e.g. > Markus

Re: [PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
Hi Miquel, hi Maxime, could you probably run a test on a newer Allwinner SOC - like e.g. SUNI8, SUNI9, SUNI50 or newer, since I can test it on a SUNI7 (A20) board only? The only aspect that makes me wonder is, that it did work on your hardware before at all. Maybe this is, since that NFC_CTL_RAM

[PATCH] sunxi-nand: fix the PIO instead of DMA implementation

2022-06-30 Thread Markus Hoffrogge
for the NFCs internal RAM access. It must be set for the DMA use case only. See A33_Nand_Flash_Controller_Specification.pdf page 12. This fix is tested by myself on a Cubietruck A20 board. Others should test it on new generation SOCs as well. Signed-off-by: Markus Hoffrogge --- drivers/mtd/nand