Skip to contentSkip to conversation

CONFIG_DM_MMC should depend on CONFIG_MMC

RFC Heinrich Schuchardt 2 participants 2 messages Dec 2, 2017

lore
Share & tools
lore
#0 lore raw

Hello Simon,

do you remember reason why you chose that CONFIG_DM_MMC should not depend on CONFIG_MMC?

[PATCH] dm: mmc: Add an MMC uclass
e7ecf7cb5a6b873daf2d88daf03034d51fad4acc

My gut feeling is that it should have that dependency like DM_USB depends on USB and DM_PCI depends PCI.

The same question arises for DM_SCSI, DM_SERIAL where such a dependency is also missing.

Furthermore shouldn't DM_MMC default to MMC && DM?

Best regards

Heinrich

#1 lore raw
Quoted 8 lines · Heinrich Schuchardt

Hello Simon,

do you remember reason why you chose that CONFIG_DM_MMC should not depend on CONFIG_MMC?

[PATCH] dm: mmc: Add an MMC uclass
e7ecf7cb5a6b873daf2d88daf03034d51fad4acc

Quoted 7 lines

My gut feeling is that it should have that dependency like DM_USB depends on USB and DM_PCI depends PCI.

The same question arises for DM_SCSI, DM_SERIAL where such a dependency is also missing.

Furthermore shouldn't DM_MMC default to MMC && DM?

We cannot express this in Kconfig yet due to USB gadget stuff, iirc. I think we had this discussion and root-causing over on imx6 maybe 2 months ago? Thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171202/843618b6/attachment.sig>