2 * Copyright (c) 2011 The Chromium OS Authors.
3 * (C) Copyright 2008,2009
4 * Graeme Russ, <graeme.russ@gmail.com>
7 * Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
9 * SPDX-License-Identifier: GPL-2.0+
17 #include <asm/arch/bd82x6x.h>
18 #include <asm/arch/pch.h>
20 static int pci_ivybridge_probe(struct udevice *bus)
22 if (!(gd->flags & GD_FLG_RELOC))
30 static const struct dm_pci_ops pci_ivybridge_ops = {
31 .read_config = pci_x86_read_config,
32 .write_config = pci_x86_write_config,
35 static const struct udevice_id pci_ivybridge_ids[] = {
36 { .compatible = "intel,pci-ivybridge" },
40 U_BOOT_DRIVER(pci_ivybridge_drv) = {
41 .name = "pci_ivybridge",
43 .of_match = pci_ivybridge_ids,
44 .ops = &pci_ivybridge_ops,
45 .probe = pci_ivybridge_probe,