]> git.sur5r.net Git - u-boot/commitdiff
x86: coreboot: Remove the dummy pch driver
authorBin Meng <bmeng.cn@gmail.com>
Wed, 22 Jun 2016 09:30:03 +0000 (02:30 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 29 Jun 2016 02:08:15 +0000 (10:08 +0800)
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>
arch/x86/cpu/coreboot/Makefile
arch/x86/cpu/coreboot/pci.c [deleted file]

index b6e870a7cbd4a95234a37eeca1acdd69ffc40037..d663656bf9d85510a71ce0a33a32ab32f323ccea 100644 (file)
@@ -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 (file)
index 7f5087a..0000000
+++ /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,
-};