Bug 249231 - [PATCH] sdhci: Add DMA support for i.MX
Summary: [PATCH] sdhci: Add DMA support for i.MX
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: arm (show other bugs)
Version: CURRENT
Hardware: arm Any
: --- Affects Only Me
Assignee: freebsd-arm (Nobody)
Depends on:
Reported: 2020-09-10 13:07 UTC by Christian Mauderer
Modified: 2020-09-14 15:59 UTC (History)
2 users (show)

See Also:

Patch for adding DMA support to the uSDHCI of the i.MX6ULL. (6.66 KB, patch)
2020-09-10 13:07 UTC, Christian Mauderer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Mauderer 2020-09-10 13:07:03 UTC
Created attachment 217869 [details]
Patch for adding DMA support to the uSDHCI of the i.MX6ULL.


I added some workarounds to the sdhci and fsl_sdhci driver so that I can enable DMA support for the i.MX6ULL uSDHCI. NXP did something a bit other then other SDHCI controllers. But as far as I can tell, all patches should work with every normal SDHCI controller too and there shouldn't be a big performance impact.

Note that I use the FreeBSD SDHCI stack via libbsd in RTEMS. So please be aware that this patch isn't tested directly on a FreeBSD kernel but only in a RTEMS application.

Best regards

Christian Mauderer