The branch main has been updated by jhibbits:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=a952adecc8ddf0dcd8af2fa90af1062e88ba148d

commit a952adecc8ddf0dcd8af2fa90af1062e88ba148d
Author:     Justin Hibbits <[email protected]>
AuthorDate: 2026-08-21 01:28:43 +0000
Commit:     Justin Hibbits <[email protected]>
CommitDate: 2026-08-21 02:26:08 +0000

    sdhci_fsl_fdt: Allow setting extra quirks
    
    Respect the `hw.sdhci.quirk_set` and `hw.sdhci.quirk_clear` tunables in
    the QorIQ eSDHC driver.  This lets us tweak quirks for debugging or
    platform specifics.
---
 sys/dev/sdhci/sdhci_fsl_fdt.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sys/dev/sdhci/sdhci_fsl_fdt.c b/sys/dev/sdhci/sdhci_fsl_fdt.c
index 185b53a6d2c9..49a828cdd455 100644
--- a/sys/dev/sdhci/sdhci_fsl_fdt.c
+++ b/sys/dev/sdhci/sdhci_fsl_fdt.c
@@ -891,6 +891,8 @@ sdhci_fsl_fdt_attach(device_t dev)
                sc->soc_data = (struct sdhci_fsl_fdt_soc_data *)ocd_data;
 
        sc->slot.quirks = sc->soc_data->quirks;
+       sc->slot.quirks &= ~sdhci_quirk_clear;
+       sc->slot.quirks |= sdhci_quirk_set;
 
        sc->mem_res = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid,
            RF_ACTIVE);

Reply via email to