Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arch/risc-v/src/mpfs: Implement wrcomplete support for coremmc driver #357

Merged
merged 2 commits into from
Feb 20, 2025

Conversation

jlaitine
Copy link

If CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE is defined, the coremmc driver uses SD card's dat0 line to detect whether the sd card is still busy.

This requires that the FPGA design using coremmc block wires dat0 line to some fabric irq; and configures CONFIG_MPFS_COREMMC_WRCOMPLETE_IRQNUM to point to that. Default for the irq number is 4. (MSS_INT_F2M_4)

@jlaitine jlaitine force-pushed the implement_coremmc_wrcomplete branch 2 times, most recently from 013551e to 04fbbdf Compare February 19, 2025 10:09
If CONFIG_MMCSD_SDIOWAIT_WRCOMPLETE is defined, the coremmc driver
uses SD card's dat0 line to detect whether the sd card is still busy.

This requires that the FPGA design using coremmc block wires dat0 line
to some fabric irq; and configures CONFIG_MPFS_COREMMC_WRCOMPLETE_IRQNUM
to point to that. Default for the irq number is 4. (MSS_INT_F2M_4)

Signed-off-by: Jukka Laitinen <[email protected]>
…fined, there is no reason to poll r1 in transferready

Signed-off-by: Jukka Laitinen <[email protected]>
@jlaitine jlaitine force-pushed the implement_coremmc_wrcomplete branch from 04fbbdf to 9b0e91a Compare February 19, 2025 10:27
@github-actions github-actions bot added Size: S and removed Size: M labels Feb 19, 2025
@jlaitine jlaitine merged commit 8278c23 into master Feb 20, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants