~omasanori/coreboot

cb2080f551f0aef75c989d0ba005860376e20538 — Angel Pons 1 year, 7 months ago 08e5b65
soc/intel/broadwell: Drop `broadwell_pci_ops`

This is essentially a duplicate of `pci_dev_ops_pci`.

Change-Id: I06a21ebd759c35910cd753d3079ea7902868e89d
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46697
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
M src/soc/intel/broadwell/adsp.c => src/soc/intel/broadwell/adsp.c +1 -1
@@ 128,7 128,7 @@ static struct device_operations adsp_ops = {
	.set_resources		= pci_dev_set_resources,
	.enable_resources	= pci_dev_enable_resources,
	.init			= adsp_init,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/chip.c => src/soc/intel/broadwell/chip.c +0 -4
@@ 43,7 43,3 @@ struct chip_operations soc_intel_broadwell_ops = {
	.enable_dev = &broadwell_enable,
	.init       = &broadwell_init_pre_device,
};

struct pci_operations broadwell_pci_ops = {
	.set_subsystem = &pci_dev_set_subsystem
};

M src/soc/intel/broadwell/gma.c => src/soc/intel/broadwell/gma.c +1 -1
@@ 590,7 590,7 @@ static struct device_operations igd_ops = {
	.set_resources		= &pci_dev_set_resources,
	.enable_resources	= &pci_dev_enable_resources,
	.init			= &igd_init,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
	.acpi_fill_ssdt		= gma_generate_ssdt,
};


M src/soc/intel/broadwell/hda.c => src/soc/intel/broadwell/hda.c +1 -1
@@ 139,7 139,7 @@ static struct device_operations hda_ops = {
	.enable_resources	= &pci_dev_enable_resources,
	.init			= &hda_init,
	.enable			= &hda_enable,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/include/soc/ramstage.h => src/soc/intel/broadwell/include/soc/ramstage.h +0 -2
@@ 16,6 16,4 @@ void broadwell_run_reference_code(void);
static inline void broadwell_run_reference_code(void) { }
#endif

extern struct pci_operations broadwell_pci_ops;

#endif

M src/soc/intel/broadwell/lpc.c => src/soc/intel/broadwell/lpc.c +1 -1
@@ 652,7 652,7 @@ static struct device_operations device_ops = {
	.write_acpi_tables      = broadwell_write_acpi_tables,
	.init			= &lpc_init,
	.scan_bus		= &scan_static_bus,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/me.c => src/soc/intel/broadwell/me.c +1 -1
@@ 1041,7 1041,7 @@ static struct device_operations device_ops = {
	.enable			= &intel_me_enable,
	.init			= &intel_me_init,
	.final			= &intel_me_finalize,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/minihd.c => src/soc/intel/broadwell/minihd.c +1 -1
@@ 95,7 95,7 @@ static struct device_operations minihd_ops = {
	.set_resources		= pci_dev_set_resources,
	.enable_resources	= pci_dev_enable_resources,
	.init			= minihd_init,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/sata.c => src/soc/intel/broadwell/sata.c +1 -1
@@ 270,7 270,7 @@ static struct device_operations sata_ops = {
	.enable_resources	= pci_dev_enable_resources,
	.init			= sata_init,
	.enable			= sata_enable,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/serialio.c => src/soc/intel/broadwell/serialio.c +1 -1
@@ 273,7 273,7 @@ static struct device_operations device_ops = {
	.set_resources		= &serialio_set_resources,
	.enable_resources	= &pci_dev_enable_resources,
	.init			= &serialio_init,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/smbus.c => src/soc/intel/broadwell/smbus.c +1 -1
@@ 79,7 79,7 @@ static struct device_operations smbus_ops = {
	.scan_bus		= scan_smbus,
	.init			= pch_smbus_init,
	.ops_smbus_bus		= &lops_smbus_bus,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
};

static const unsigned short pci_device_ids[] = {

M src/soc/intel/broadwell/systemagent.c => src/soc/intel/broadwell/systemagent.c +1 -1
@@ 435,7 435,7 @@ static struct device_operations systemagent_ops = {
	.set_resources    = pci_dev_set_resources,
	.enable_resources = pci_dev_enable_resources,
	.init             = systemagent_init,
	.ops_pci          = &broadwell_pci_ops,
	.ops_pci          = &pci_dev_ops_pci,
};

static const unsigned short systemagent_ids[] = {

M src/soc/intel/broadwell/xhci.c => src/soc/intel/broadwell/xhci.c +1 -1
@@ 201,7 201,7 @@ static struct device_operations usb_xhci_ops = {
	.read_resources		= pci_dev_read_resources,
	.set_resources		= pci_dev_set_resources,
	.enable_resources	= pci_dev_enable_resources,
	.ops_pci		= &broadwell_pci_ops,
	.ops_pci		= &pci_dev_ops_pci,
	.init			= xhci_init,
};