summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2016-06-22 02:30:03 -0700
committerBin Meng <bmeng.cn@gmail.com>2016-06-29 10:08:15 +0800
commitff6e1569663eccaf9e582c57cc44568915c2f54b (patch)
tree4b464885999ab27ee8d5149550ee6481641a2d1b /arch
parent44faff24f58859bdc1acf28ac739020b5091678a (diff)
x86: coreboot: Remove the dummy pch driver
There is a dummy pch driver in the coreboot directory. This causes drivers of its children fail to function due to empty ops. Remove the whole file since it is no longer needed. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/cpu/coreboot/Makefile1
-rw-r--r--arch/x86/cpu/coreboot/pci.c26
2 files changed, 0 insertions, 27 deletions
diff --git a/arch/x86/cpu/coreboot/Makefile b/arch/x86/cpu/coreboot/Makefile
index b6e870a7cb..d663656bf9 100644
--- a/arch/x86/cpu/coreboot/Makefile
+++ b/arch/x86/cpu/coreboot/Makefile
@@ -18,4 +18,3 @@ obj-y += coreboot.o
obj-y += tables.o
obj-y += sdram.o
obj-y += timestamp.o
-obj-$(CONFIG_PCI) += pci.o
diff --git a/arch/x86/cpu/coreboot/pci.c b/arch/x86/cpu/coreboot/pci.c
deleted file mode 100644
index 7f5087a918..0000000000
--- a/arch/x86/cpu/coreboot/pci.c
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * 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,pch7" },
- { .compatible = "intel,pch9" },
- { }
-};
-
-U_BOOT_DRIVER(generic_pch_drv) = {
- .name = "pch",
- .id = UCLASS_PCH,
- .of_match = generic_pch_ids,
-};