aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mainboard/lenovo/t400/romstage.c2
-rw-r--r--src/mainboard/lenovo/x200/romstage.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/t400/romstage.c b/src/mainboard/lenovo/t400/romstage.c
index 5020c85804..44f560bb6a 100644
--- a/src/mainboard/lenovo/t400/romstage.c
+++ b/src/mainboard/lenovo/t400/romstage.c
@@ -147,7 +147,7 @@ void mainboard_romstage_entry(unsigned long bist)
init_iommu();
/* FIXME: make a proper SMBUS mux support. */
- outl(inl(DEFAULT_GPIOBASE + 0x38) & ~0x400, DEFAULT_GPIOBASE + 0x38);
+ set_gpio(42, GPIO_LEVEL_LOW);
cbmem_initted = !cbmem_recovery(s3resume);
diff --git a/src/mainboard/lenovo/x200/romstage.c b/src/mainboard/lenovo/x200/romstage.c
index a0a1ace16e..c0113562a1 100644
--- a/src/mainboard/lenovo/x200/romstage.c
+++ b/src/mainboard/lenovo/x200/romstage.c
@@ -118,7 +118,7 @@ void mainboard_romstage_entry(unsigned long bist)
init_iommu();
/* FIXME: make a proper SMBUS mux support. */
- outl(inl(DEFAULT_GPIOBASE + 0x38) & ~0x400, DEFAULT_GPIOBASE + 0x38);
+ set_gpio(42, GPIO_LEVEL_LOW);
cbmem_initted = !cbmem_recovery(s3resume);