-
Icenowy Zheng authored
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 <uwu@icenowy.me>
Message-id: 20220520124200.2112699-1-uwu@icenowy.me
Reviewed-by:
Peter Maydell <peter.maydell@linaro.org>
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>Icenowy Zheng authoredU-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 <uwu@icenowy.me>
Message-id: 20220520124200.2112699-1-uwu@icenowy.me
Reviewed-by:
Peter Maydell <peter.maydell@linaro.org>
Signed-off-by:
Peter Maydell <peter.maydell@linaro.org>
Loading