]> git.ipfire.org Git - people/ms/u-boot.git/blame - drivers/pci/pci_x86.c
Convert CONFIG_BOOTCOUNT_RAM to Kconfig
[people/ms/u-boot.git] / drivers / pci / pci_x86.c
CommitLineData
a219daea
SG
1/*
2 * Copyright (c) 2015 Google, Inc
3 *
4 * SPDX-License-Identifier: GPL-2.0+
5 */
6
7#include <common.h>
8#include <dm.h>
9#include <pci.h>
945cae79 10#include <asm/pci.h>
a219daea 11
945cae79
SG
12static const struct dm_pci_ops pci_x86_ops = {
13 .read_config = pci_x86_read_config,
14 .write_config = pci_x86_write_config,
a219daea
SG
15};
16
945cae79
SG
17static const struct udevice_id pci_x86_ids[] = {
18 { .compatible = "pci-x86" },
a219daea
SG
19 { }
20};
21
22U_BOOT_DRIVER(pci_x86) = {
23 .name = "pci_x86",
24 .id = UCLASS_PCI,
945cae79
SG
25 .of_match = pci_x86_ids,
26 .ops = &pci_x86_ops,
a219daea 27};