mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-02 01:19:49 +00:00
945cae79e1
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>
25 lines
498 B
C
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,
|
|
};
|