[PATCH] ARM: bcm_defconfig: re-enable BCM Kona SDHCI driver
arnd at arndb.de
Tue Jun 17 04:46:50 PDT 2014
On Tuesday 17 June 2014, Stephen Warren wrote:
> On 06/16/2014 03:55 PM, Russell King - ARM Linux wrote:
> > On Mon, Jun 16, 2014 at 01:56:16PM -0400, Matt Porter wrote:
> >> Since 5d01b7684b7e "mmc: simplify SDHCI Kconfig dependencies",
> >> MMC_SDHCI_PLTFM is no longer selected by the BCM Kona SDHCI
> >> driver which is enabled in this defconfig. This results in the
> >> SDHCI driver not being built and a boot failure. Explictly
> >> enable MMC_SDHCI_PLTFM in bcm_defconfig so the BCM Kona SDHCI
> >> driver is built.
> > I really don't understand why MMC_SDHCI_PLTFM isn't selected by the
> > sub-drivers. sdhci-pltfm.c is a library module, which is only
> > useful with one of the sub-drivers enabled.
> > So, rather than providing a multitude of dependent options, why not
> > present people with:
> > + sdhci drivers
> > + sdhci pci
> > + sdhci acpi
> > + Arasan
> > + Freescale eSDHC
> > + Nintendo Wii
> > + Dove
> > and leave MMC_SDHCI_PLTFM as a hidden option whose purpose is to
> > enable building of sdhci-pltfm.c.
> CC'ing Arnd, as author of 5d01b7684b7e "mmc: simplify SDHCI Kconfig
> dependencies". I also forgot to do that on the patch that fixed
> multi_v7_defconfig for this:-(
I think doing it the other way round as Russell suggested is a good
idea, and we can definitely do that. We have a similar situation in
other subsystems, sometimes we do it one way and sometimes the other.
The problem I was addressing in my patch was that the SDHCI driver
in particular was mixing the two approaches, which is much worse
as that can cause Kconfig dependency loops and is rather confusing.
I picked the approach that seemed simpler at the time.
More information about the linux-arm-kernel