Re: Using MMC on HoneyComb LX2 (patch)
Jared McNeill <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.arm |
|---|---|
| Message-ID | <PH7PR12MB5951B441DA7A513095B007CBB9342@PH7PR12MB5951.namprd12.prod.outlook.com> |
NACK on this patch. It assumes that all LX2K have some card present on the second SDHCI controller. The device node for eMMC has a "non-removable" property. You should use that (see acpi_dsd_bool) to determine if the card is always present. I think if a driver sets SDHC_FLAG_ALWAYS_PRESENT, it shouldn't have to provide a card detect callback -- this should all be handled in sdhc.c. Take care, Jared On Tue, 26 Mar 2024, David Young wrote: > The SolidRun HoneyComb LX2 has a 64 GB MMC built in. NetBSD did not > attach the MMC until I patched sdhc@acpi. See attachment. Maybe > somebody else can try it out. Does it look ok to apply? > > David > > -- > David Young > [email protected] Urbana, IL (217) 721-9981 >