summaryrefslogtreecommitdiff
path: root/src/superio/ite/it8721f/superio.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2017-12-27 20:52:04 +0100
committerFelix Held <felix-coreboot@felixheld.de>2018-01-06 10:00:25 +0000
commit1a14375a8830ec1521fca1eec4047ee14cc25d15 (patch)
tree5b4d334834c73908c7c29b1a140651e1c696b857 /src/superio/ite/it8721f/superio.c
parentb331923c69fb15ca47bb89b1a08564532b83af22 (diff)
superio/ite: add missing pnp_conf_mode fields in ops struct
This fixes the bug that the LDNs on the affected SIO chips didn't get configured, since the config mode wasn't entered. Change-Id: Ic468847571e164e4e1280428f08fc067b724464e Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/23004 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/superio/ite/it8721f/superio.c')
-rw-r--r--src/superio/ite/it8721f/superio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/superio/ite/it8721f/superio.c b/src/superio/ite/it8721f/superio.c
index 9838659505..cd01f30c72 100644
--- a/src/superio/ite/it8721f/superio.c
+++ b/src/superio/ite/it8721f/superio.c
@@ -19,6 +19,7 @@
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
+#include <superio/conf_mode.h>
#include "it8721f.h"
static void init(struct device *dev)
@@ -50,6 +51,7 @@ static struct device_operations ops = {
.enable_resources = pnp_enable_resources,
.enable = pnp_enable,
.init = init,
+ .ops_pnp_mode = &pnp_conf_mode_870155_aa,
};
/* TODO: FDC, PP, EC, KBCM, IR. */