blob: 9faf1b92bb02c5b97783c7b8786cdd4c8c59d9c8 [file] [log] [blame]
Bin Meng8046aa82014-12-17 15:50:46 +08001/*
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 Glass509805b2015-01-27 22:13:39 -07008#include <mmc.h>
Bin Meng8046aa82014-12-17 15:50:46 +08009#include <pci_ids.h>
Bin Meng8046aa82014-12-17 15:50:46 +080010
11static 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 },
Bin Meng8046aa82014-12-17 15:50:46 +080014};
15
16int cpu_mmc_init(bd_t *bis)
17{
Simon Glass509805b2015-01-27 22:13:39 -070018 return pci_mmc_init("Topcliff SDHCI", mmc_supported,
19 ARRAY_SIZE(mmc_supported));
Bin Meng8046aa82014-12-17 15:50:46 +080020}