blob: b76dd7de697c11b76168c98400568f4b7433a77b [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 },
Simon Glass0b619282015-11-29 13:18:08 -070014 {},
Bin Meng8046aa82014-12-17 15:50:46 +080015};
16
17int cpu_mmc_init(bd_t *bis)
18{
Simon Glass0b619282015-11-29 13:18:08 -070019 return pci_mmc_init("Topcliff SDHCI", mmc_supported);
Bin Meng8046aa82014-12-17 15:50:46 +080020}