sio/smsc/fdc37n972: add missing pnp_conf_mode field to ops struct
This patch makes it possible to enter the config mode of the super IO chip, so that changes can be made to the configuration registers. Change-Id: I7e31eaf217b3af2226c1e7d2f14f2ef7b0d7ddbe Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Reviewed-on: https://review.coreboot.org/27392 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
parent
968ac7914d
commit
e75bac3a00
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
#include <device/device.h>
|
#include <device/device.h>
|
||||||
#include <device/pnp.h>
|
#include <device/pnp.h>
|
||||||
|
#include <superio/conf_mode.h>
|
||||||
#include <pc80/keyboard.h>
|
#include <pc80/keyboard.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
|
@ -43,6 +44,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_55_aa,
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct pnp_info pnp_dev_info[] = {
|
static struct pnp_info pnp_dev_info[] = {
|
||||||
|
|
Loading…
Reference in New Issue