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:
parent
b331923c69
commit
1a14375a88
|
@ -18,6 +18,7 @@
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <superio/conf_mode.h>
|
||||||
#include "it8671f.h"
|
#include "it8671f.h"
|
||||||
|
|
||||||
static void init(struct device *dev)
|
static void init(struct device *dev)
|
||||||
|
@ -45,6 +46,7 @@ static struct device_operations ops = {
|
||||||
.enable_resources = pnp_enable_resources,
|
.enable_resources = pnp_enable_resources,
|
||||||
.enable = pnp_enable,
|
.enable = pnp_enable,
|
||||||
.init = init,
|
.init = init,
|
||||||
|
.ops_pnp_mode = &pnp_conf_mode_870155_aa,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* TODO: FDC, PP, KBCM. */
|
/* TODO: FDC, PP, KBCM. */
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <superio/ite/common/env_ctrl.h>
|
#include <superio/ite/common/env_ctrl.h>
|
||||||
|
#include <superio/conf_mode.h>
|
||||||
|
|
||||||
#include "it8718f.h"
|
#include "it8718f.h"
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
|
@ -59,6 +60,7 @@ static struct device_operations ops = {
|
||||||
.enable_resources = pnp_enable_resources,
|
.enable_resources = pnp_enable_resources,
|
||||||
.enable = pnp_enable,
|
.enable = pnp_enable,
|
||||||
.init = init,
|
.init = init,
|
||||||
|
.ops_pnp_mode = &pnp_conf_mode_870155_aa,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* TODO: IR. */
|
/* TODO: IR. */
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <superio/conf_mode.h>
|
||||||
#include "it8721f.h"
|
#include "it8721f.h"
|
||||||
|
|
||||||
static void init(struct device *dev)
|
static void init(struct device *dev)
|
||||||
|
@ -50,6 +51,7 @@ static struct device_operations ops = {
|
||||||
.enable_resources = pnp_enable_resources,
|
.enable_resources = pnp_enable_resources,
|
||||||
.enable = pnp_enable,
|
.enable = pnp_enable,
|
||||||
.init = init,
|
.init = init,
|
||||||
|
.ops_pnp_mode = &pnp_conf_mode_870155_aa,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* TODO: FDC, PP, EC, KBCM, IR. */
|
/* TODO: FDC, PP, EC, KBCM, IR. */
|
||||||
|
|
Loading…
Reference in New Issue