Re: [PATCH] hw/sd/allwinner-sdhost: report FIFO water level as 1 when data ready

2022-05-30 Thread Peter Maydell
On Mon, 23 May 2022 at 17:40, Icenowy Zheng wrote: > > 在 2022-05-23星期一的 15:14 +0100,Peter Maydell写道: > > On Fri, 20 May 2022 at 13:42, Icenowy Zheng wrote: > > > > > > U-Boot queries the FIFO water level to reduce checking status > > > register > > > when doing PIO SD card operation. > > > > > >

Re: [PATCH] hw/sd/allwinner-sdhost: report FIFO water level as 1 when data ready

2022-05-23 Thread Icenowy Zheng
在 2022-05-23星期一的 15:14 +0100,Peter Maydell写道: > On Fri, 20 May 2022 at 13:42, Icenowy Zheng wrote: > > > > U-Boot queries the FIFO water level to reduce checking status > > register > > when doing PIO SD card operation. > > > > Report a FIFO water level of 1 when data is ready, to prevent the >

Re: [PATCH] hw/sd/allwinner-sdhost: report FIFO water level as 1 when data ready

2022-05-23 Thread Peter Maydell
On Fri, 20 May 2022 at 13:42, Icenowy Zheng wrote: > > U-Boot queries the FIFO water level to reduce checking status register > when doing PIO SD card operation. > > Report a FIFO water level of 1 when data is ready, to prevent the code > from trying to read 0 words from the FIFO each time. > > Si

[PATCH] hw/sd/allwinner-sdhost: report FIFO water level as 1 when data ready

2022-05-20 Thread Icenowy Zheng
U-Boot queries the FIFO water level to reduce checking status register when doing PIO SD card operation. Report a FIFO water level of 1 when data is ready, to prevent the code from trying to read 0 words from the FIFO each time. Signed-off-by: Icenowy Zheng --- hw/sd/allwinner-sdhost.c | 7