zephyr/drivers/sdhc
Ivan Herrera Olivares 2c2b8c3422 SD: Implement sdhc_card_busy in SDHC SPI-driver
Currently, the sdhc_card_busy function is unimplemented in the
SDHC SPI-driver. This causes some functions which rely on f_sync(),
such as fs_close(), to fail as it will timeout the busy-check. This PR
implements sdhc_card_busy by checking if the MISO-line is kept high to
check if the SD-card is idle (not busy).

Solves https://github.com/zephyrproject-rtos/zephyr/issues/49982

Signed-off-by: Ivan Herrera Olivares <ivan.herreraolivares@uantwerpen.be>
2022-09-09 16:32:52 -04:00
..
CMakeLists.txt drivers: sdhc: add SD host controller driver for LPC SDIF 2022-09-08 10:06:28 +02:00
Kconfig drivers: sdhc: add SD host controller driver for LPC SDIF 2022-09-08 10:06:28 +02:00
Kconfig.imx
Kconfig.mcux_sdif drivers: sdhc: add SD host controller driver for LPC SDIF 2022-09-08 10:06:28 +02:00
Kconfig.spi
imx_usdhc.c includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
mcux_sdif.c drivers: sdhc: add SD host controller driver for LPC SDIF 2022-09-08 10:06:28 +02:00
sdhc_spi.c SD: Implement sdhc_card_busy in SDHC SPI-driver 2022-09-09 16:32:52 -04:00