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>
This commit is contained in:
Felix Held 2017-12-27 20:52:04 +01:00
parent b331923c69
commit 1a14375a88
3 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,7 @@
#include <device/pnp.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
#include <superio/conf_mode.h>
#include "it8671f.h"
static void init(struct device *dev)
@ -45,6 +46,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, KBCM. */

View File

@ -19,6 +19,7 @@
#include <pc80/keyboard.h>
#include <stdlib.h>
#include <superio/ite/common/env_ctrl.h>
#include <superio/conf_mode.h>
#include "it8718f.h"
#include "chip.h"
@ -59,6 +60,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: IR. */

View File

@ -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. */