Re: [PATCH 1/8] sunxi: SPL SPI: extract code for doing SPI transfer

2023-12-12 Thread Andre Przywara
On Fri, 14 Oct 2022 11:05:13 +0800 Icenowy Zheng wrote: Hi, > To support SPI NAND flashes, more commands than Read (03h) are needed. > > Extract the code for doing SPI transfer from the reading code for code > reuse. I was looking for a better solution than this inflated function parameter

Re: [PATCH 1/8] sunxi: SPL SPI: extract code for doing SPI transfer

2023-01-14 Thread Samuel Holland
On 10/13/22 22:05, Icenowy Zheng wrote: > To support SPI NAND flashes, more commands than Read (03h) are needed. > > Extract the code for doing SPI transfer from the reading code for code > reuse. > > Signed-off-by: Icenowy Zheng One comment below. Reviewed-by: Samuel Holland Tested-by:

[PATCH 1/8] sunxi: SPL SPI: extract code for doing SPI transfer

2022-10-13 Thread Icenowy Zheng
To support SPI NAND flashes, more commands than Read (03h) are needed. Extract the code for doing SPI transfer from the reading code for code reuse. Signed-off-by: Icenowy Zheng --- arch/arm/mach-sunxi/spl_spi_sunxi.c | 105 1 file changed, 59 insertions(+), 46