summaryrefslogtreecommitdiff
path: root/src/superio
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2018-07-06 23:47:58 +0200
committerFelix Held <felix-coreboot@felixheld.de>2018-07-26 14:22:28 +0000
commite75bac3a00362562d5f053aed5dbcf2b597046de (patch)
treea3deffc3ec7cbfbc7a50f473964b6885b4b396ad /src/superio
parent968ac7914dedd97659dfa944e48b28e10ba0ab96 (diff)
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>
Diffstat (limited to 'src/superio')
-rw-r--r--src/superio/smsc/fdc37n972/superio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/superio/smsc/fdc37n972/superio.c b/src/superio/smsc/fdc37n972/superio.c
index 85e376d3d4..0ee9850c2e 100644
--- a/src/superio/smsc/fdc37n972/superio.c
+++ b/src/superio/smsc/fdc37n972/superio.c
@@ -15,6 +15,7 @@
#include <device/device.h>
#include <device/pnp.h>
+#include <superio/conf_mode.h>
#include <pc80/keyboard.h>
#include <stdlib.h>
@@ -43,6 +44,7 @@ static struct device_operations ops = {
.enable_resources = pnp_enable_resources,
.enable = pnp_enable,
.init = init,
+ .ops_pnp_mode = &pnp_conf_mode_55_aa,
};
static struct pnp_info pnp_dev_info[] = {