]> git.ipfire.org Git - people/ms/u-boot.git/blame - arch/x86/cpu/queensbay/topcliff.c
x86: mmc: Move common FSP functions into a common file
[people/ms/u-boot.git] / arch / x86 / cpu / queensbay / topcliff.c
CommitLineData
aada6276
BM
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>
91785f70 8#include <mmc.h>
aada6276 9#include <pci_ids.h>
aada6276
BM
10
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 },
aada6276
BM
14};
15
16int cpu_mmc_init(bd_t *bis)
17{
91785f70
SG
18 return pci_mmc_init("Topcliff SDHCI", mmc_supported,
19 ARRAY_SIZE(mmc_supported));
aada6276 20}