[U-Boot] [RFC] CONFIG_DM_MMC should depend on CONFIG_MMC

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Dec 2 10:07:53 UTC 2017


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


More information about the U-Boot mailing list