[coreboot-gerrit] Change in coreboot[master]: superio/intel: remove LDN-specific ops overrides

Felix Held (Code Review) gerrit at coreboot.org
Fri Jul 6 21:49:59 CEST 2018


Felix Held has uploaded this change for review. ( https://review.coreboot.org/27389


Change subject: superio/intel: remove LDN-specific ops overrides
......................................................................

superio/intel: remove LDN-specific ops overrides

The pnp ops struct is already passed to the pnp_enable_devices function and it
is used if no override is supplied in the elements of the pnp_info struct array

Change-Id: I5bd525532c01b3b9f7ddbc8eab42caa8b7f30795
Signed-off-by: Felix Held <felix-coreboot at felixheld.de>
---
M src/superio/intel/i8900/superio.c
1 file changed, 3 insertions(+), 3 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/89/27389/1

diff --git a/src/superio/intel/i8900/superio.c b/src/superio/intel/i8900/superio.c
index 73e9407..24805bc 100644
--- a/src/superio/intel/i8900/superio.c
+++ b/src/superio/intel/i8900/superio.c
@@ -70,9 +70,9 @@
 };
 
 static struct pnp_info pnp_dev_info[] = {
-	{ &ops, I8900_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
-	{ &ops, I8900_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
-	{ &ops, I8900_WDT, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+	{ NULL, I8900_SP1, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+	{ NULL, I8900_SP2, PNP_IO0 | PNP_IRQ0, 0x07f8, },
+	{ NULL, I8900_WDT, PNP_IO0 | PNP_IRQ0, 0x07f8, },
 };
 
 static void enable_dev(struct device *dev)

-- 
To view, visit https://review.coreboot.org/27389
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5bd525532c01b3b9f7ddbc8eab42caa8b7f30795
Gerrit-Change-Number: 27389
Gerrit-PatchSet: 1
Gerrit-Owner: Felix Held <felix-coreboot at felixheld.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180706/5ad339d0/attachment.html>


More information about the coreboot-gerrit mailing list