Hi,

Jaehoon Chung <[email protected]> writes:
> On 02/13/2017 11:56 PM, Andy Shevchenko wrote:
>> From: Felipe Balbi <[email protected]>
>> 
>> We should only compile pci_mmc.c on platforms that actually need
>> this. Some platforms are using generic sdhci through driver model.
>> 
>> Signed-off-by: Felipe Balbi <[email protected]>
>> Signed-off-by: Andy Shevchenko <[email protected]>
>> ---
>>  drivers/mmc/Makefile | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>> 
>> diff --git a/drivers/mmc/Makefile b/drivers/mmc/Makefile
>> index 49413dfaf1..26db92e582 100644
>> --- a/drivers/mmc/Makefile
>> +++ b/drivers/mmc/Makefile
>> @@ -36,7 +36,9 @@ obj-$(CONFIG_MVEBU_MMC) += mvebu_mmc.o
>>  obj-$(CONFIG_MMC_OMAP_HS)           += omap_hsmmc.o
>>  obj-$(CONFIG_MMC_MXC)                       += mxcmmc.o
>>  obj-$(CONFIG_MMC_MXS)                       += mxsmmc.o
>> -obj-$(CONFIG_X86) += pci_mmc.o
>> +obj-$(CONFIG_INTEL_BAYTRAIL) += pci_mmc.o
>> +obj-$(CONFIG_INTEL_QUARK) += pci_mmc.o
>> +obj-$(CONFIG_INTEL_QUEENSBAY) += pci_mmc.o
>
> How about adding new CONFIG_MMC_X86_PCI for this.
>
> obj-$(CONFIG_MMC_X86_PCI) += pci_mmc.o
>
> Of course, you need to modify Kconfig file.

doable, no problems for me.

-- 
balbi

Attachment: signature.asc
Description: PGP signature

_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to