aboutsummaryrefslogtreecommitdiff
path: root/src/superio/winbond
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2016-09-30 11:51:04 +0200
committerNico Huber <nico.h@gmx.de>2016-12-07 20:01:50 +0100
commit21707cc29d58237b9311c9e00d176867e0a16fd0 (patch)
tree3d419ca10e476cb9d258ea3d2e0648f91fb9d479 /src/superio/winbond
parent6167365530e0b8b2369077cf599a66b64bb07871 (diff)
sio/acpi: Add more magic bytes to ENTER/EXIT_CONFIG_MODE
ITE super-i/o chips need a fourth byte and have a special register to exit config mode. Change-Id: Ic40873649d567b87d3a937f2bf068649e67715de Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/17286 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/superio/winbond')
-rw-r--r--src/superio/winbond/w83627dhg/acpi/superio.asl3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/superio/winbond/w83627dhg/acpi/superio.asl b/src/superio/winbond/w83627dhg/acpi/superio.asl
index e4d15dcc25..301ee94230 100644
--- a/src/superio/winbond/w83627dhg/acpi/superio.asl
+++ b/src/superio/winbond/w83627dhg/acpi/superio.asl
@@ -113,7 +113,10 @@ Device(SUPERIO_DEV) {
#undef PNP_ENTER_MAGIC_1ST
#undef PNP_ENTER_MAGIC_2ND
#undef PNP_ENTER_MAGIC_3RD
+ #undef PNP_ENTER_MAGIC_4TH
#undef PNP_EXIT_MAGIC_1ST
+ #undef PNP_EXIT_SPECIAL_REG
+ #undef PNP_EXIT_SPECIAL_VAL
#define PNP_ENTER_MAGIC_1ST 0x87
#define PNP_ENTER_MAGIC_2ND 0x87
#define PNP_EXIT_MAGIC_1ST 0xaa