u-boot/arch/x86/cpu/coreboot/pci.c
Simon Glass 945cae79e1 x86: pci: Tidy up the generic x86 PCI driver
This driver should use the x86 PCI configuration functions. Also adjust its
compatible string to something generic (i.e. without a vendor name).

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
2015-07-14 18:03:19 -06:00

25 lines
498 B
C

/*
* Copyright (c) 2011 The Chromium OS Authors.
* (C) Copyright 2008,2009
* Graeme Russ, <graeme.russ@gmail.com>
*
* (C) Copyright 2002
* Daniel Engström, Omicron Ceti AB, <daniel@omicron.se>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#include <common.h>
#include <dm.h>
#include <pci.h>
static const struct udevice_id generic_pch_ids[] = {
{ .compatible = "intel,pch" },
{ }
};
U_BOOT_DRIVER(generic_pch_drv) = {
.name = "pch",
.id = UCLASS_PCH,
.of_match = generic_pch_ids,
};