nb/intel/haswell/pcie.c: remove disable NOP
The .disable function pointer is only referenced inside set_vga_bridge_bits() and is used to unset VGA decoding on the internal GFX device. Change-Id: I0443a45522b2267e8e23b28e4e2033f25a7ccbf0 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51008 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
522b39e757
commit
318c3ad674
|
@ -7,12 +7,6 @@
|
||||||
#include <device/pci_ids.h>
|
#include <device/pci_ids.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
static void pcie_disable(struct device *dev)
|
|
||||||
{
|
|
||||||
printk(BIOS_INFO, "%s: Disabling device\n", dev_path(dev));
|
|
||||||
dev->enabled = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
#if CONFIG(HAVE_ACPI_TABLES)
|
#if CONFIG(HAVE_ACPI_TABLES)
|
||||||
static const char *pcie_acpi_name(const struct device *dev)
|
static const char *pcie_acpi_name(const struct device *dev)
|
||||||
{
|
{
|
||||||
|
@ -53,7 +47,6 @@ static struct device_operations device_ops = {
|
||||||
.enable_resources = pci_bus_enable_resources,
|
.enable_resources = pci_bus_enable_resources,
|
||||||
.scan_bus = pciexp_scan_bridge,
|
.scan_bus = pciexp_scan_bridge,
|
||||||
.reset_bus = pci_bus_reset,
|
.reset_bus = pci_bus_reset,
|
||||||
.disable = pcie_disable,
|
|
||||||
.init = pci_dev_init,
|
.init = pci_dev_init,
|
||||||
.ops_pci = &pci_dev_ops_pci,
|
.ops_pci = &pci_dev_ops_pci,
|
||||||
#if CONFIG(HAVE_ACPI_TABLES)
|
#if CONFIG(HAVE_ACPI_TABLES)
|
||||||
|
|
Loading…
Reference in New Issue