Details
Tested on ClearFog Pro.
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 9078 Build 9492: CI src build Jenkins Build 9491: arc lint + arc unit
Event Timeline
sys/dev/sdhci/sdhci_fdt.c | ||
---|---|---|
196 | Hi, Have you checked other quirks with linux drivers/mmc/host/sdhci-pxav3.c? Also, I think this driver is also missing setting bus width - I guess it's always "4", right? |
sys/dev/sdhci/sdhci_fdt.c | ||
---|---|---|
196 | Yes, the other quirks are not applicable for our SDHCI layer (we are still using SDMA) or are not applicable to this hardware. The quirks were also checked against the NetBSD drivers (where I found the missing bits): https://nxr.netbsd.org/xref/src/sys/arch/arm/marvell/mvsoc_sdhc.c#83 The SDHCI code seems to be doing the right thing with respect to bus-width. If necessary we can handle it based on FDT properties. |
sys/dev/sdhci/sdhci_fdt.c | ||
---|---|---|
196 | Thanks. I think we can add bus-width handling and parsing in the separate patch (a38x supports 8-bits as well and with current code we won't make use of it). Other than that I'm ok with the patch, thanks! |