mmc: pci_mmc: Only generate ACPI code for the SD card
authorSimon Glass <sjg@chromium.org>
Thu, 14 Jan 2021 03:29:52 +0000 (20:29 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 27 Jan 2021 22:03:16 +0000 (17:03 -0500)
commit60868632f6d89f71aca547df01a075149ad96357
tree7b00a7cfb4d46343438cc14921fc8288ba4fccec
parentf8a2d191cf3a200c080fbf6f8e095589d3afd57f
mmc: pci_mmc: Only generate ACPI code for the SD card

At present if an eMMC part is in the system, the ACPI table generated
will include information about that, as well as the SD card. We only need
to include the SD card, since it has a card-detect GPIO. Use a different
compatible string for each option, and add code only for the SD card.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/mmc/pci_mmc.c