]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit26730420de163038610796e834cbd7aad8926a86
tree7b00a7cfb4d46343438cc14921fc8288ba4fccec
parent2c883fca1eac260f0a8067832b58407a4d03c991
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