[PATCH] omap_hsmmc: Support CONFIG_MMC_BROKEN_CD

Peng Fan peng.fan at nxp.com
Mon Jan 5 13:00:35 CET 2026


Hi Maarten,

> Subject: RE: [PATCH] omap_hsmmc: Support
> CONFIG_MMC_BROKEN_CD
> 
> Hello Peng,
> 
> > From: Peng Fan <peng.fan at nxp.com>
> > Sent: Wednesday, 24 December 2025 03:22
> >
> > > Subject: [PATCH] omap_hsmmc: Support
> CONFIG_MMC_BROKEN_CD
> > >
> > > Add support for the CONFIG_MMC_BROKEN_CD option to
> omap_hsmmc.c This
> > > should be selected when there is no Card Detect connection on a
> > > board.
> >
> > There is broken-cd property in common mmc controller yaml, could
> this
> > be used for your case by parsing broken-cd property?
> 
> Are you implying that the currently existing
> CONFIG_MMC_BROKEN_CD option used in drivers/mmc/mmc.c
> is/should be deprecated and will/should be removed in the forseeable
> future?

TBH, I have not checked which boards are still using MMC_BROKEN_CD.

BROKEN CD is board stuff, not controller stuff. For DT based boards,
we need to use "broken-cd", and avoid using MMC_BROKEN_CD.

I think this option should be marked as deprecated.

Thanks for your understanding.

Regards
Peng.

> 
> > Regards
> > Peng.
> 
> Kind regards,
> Maarten Brock


More information about the U-Boot mailing list