Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2014, Bin Meng <bmeng.cn@gmail.com> |
| 3 | * |
| 4 | * SPDX-License-Identifier: GPL-2.0+ |
| 5 | */ |
| 6 | |
| 7 | #include <common.h> |
Simon Glass | 509805b | 2015-01-27 22:13:39 -0700 | [diff] [blame] | 8 | #include <mmc.h> |
Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 9 | #include <pci_ids.h> |
Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 10 | |
| 11 | static struct pci_device_id mmc_supported[] = { |
| 12 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SDIO_0 }, |
| 13 | { PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_TCF_SDIO_1 }, |
Simon Glass | 0b61928 | 2015-11-29 13:18:08 -0700 | [diff] [blame] | 14 | {}, |
Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 15 | }; |
| 16 | |
| 17 | int cpu_mmc_init(bd_t *bis) |
| 18 | { |
Simon Glass | 0b61928 | 2015-11-29 13:18:08 -0700 | [diff] [blame] | 19 | return pci_mmc_init("Topcliff SDHCI", mmc_supported); |
Bin Meng | 8046aa8 | 2014-12-17 15:50:46 +0800 | [diff] [blame] | 20 | } |