diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2019-01-31 22:53:09 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-02-06 11:07:04 +0000 |
commit | 32a414f64a9b75532682047c0c51ceddb1b7e2ab (patch) | |
tree | c6ebf1446b6a8401559da766d6ca18a313e620cc /src/mainboard/lenovo | |
parent | 7f80c0cf0713472825d8a446aa8ba18dbf981876 (diff) |
mb/lenovo/{x200,t400}: Set SMBUS mux using common SB functions
Change-Id: I1e9a165b722006557557058a14e9f5dac78d4538
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/31189
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
Diffstat (limited to 'src/mainboard/lenovo')
-rw-r--r-- | src/mainboard/lenovo/t400/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/lenovo/x200/romstage.c | 2 |
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); |