summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82371eb/chip.h
diff options
context:
space:
mode:
authorKeith Hui <buurin@gmail.com>2020-01-11 03:49:17 -0500
committerPatrick Georgi <pgeorgi@google.com>2020-03-03 07:36:53 +0000
commitce622389983f941f5b86907c41c9c843fadccce0 (patch)
tree78f721aa625ed177ae36b6c94915ddd00e475ea3 /src/southbridge/intel/i82371eb/chip.h
parent7af59f709a89d20c1691d1a7316b136c7024aaf9 (diff)
downloadcoreboot-ce622389983f941f5b86907c41c9c843fadccce0.tar.xz
sb/intel/i82371eb: Support reconfiguring GPO22/23
XOE# and XDIR# can be used as GPOs 23/22 if X-Bus functionality is not required. Turns out asus/p2b-ls is using them to control termination for the onboard SCSI buses. Add support to allow this reconfiguration. Change-Id: I2dab6fafbd67a98ed1cac1ffcf9352be4a87c3e9 Signed-off-by: Keith Hui <buurin@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38352 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'src/southbridge/intel/i82371eb/chip.h')
-rw-r--r--src/southbridge/intel/i82371eb/chip.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/southbridge/intel/i82371eb/chip.h b/src/southbridge/intel/i82371eb/chip.h
index 28975a2bbb..986208208e 100644
--- a/src/southbridge/intel/i82371eb/chip.h
+++ b/src/southbridge/intel/i82371eb/chip.h
@@ -28,6 +28,9 @@ struct southbridge_intel_i82371eb_config {
int ide1_drive1_udma33_enable:1;
int ide_legacy_enable:1;
int usb_enable:1;
+ int gpo22_enable:1; /* GPO22/GPO23 (1) vs. XDIR#/XOE# (0) */
+ int gpo22:1;
+ int gpo23:1;
/* acpi */
u32 gpo; /* gpio output default */
u8 lid_polarity;