summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Heymans <arthur@aheymans.xyz>2019-11-17 16:55:41 +0100
committerPatrick Georgi <pgeorgi@google.com>2019-11-20 13:33:25 +0000
commit941f2a9c0c29ab42e4d2c9e6f8f058a1ec9278d3 (patch)
treecb98a529de6cd0757de9913ab129911db1f7ac02
parent3bc70228a2edbf9ee4283515307d8d44dd512192 (diff)
downloadcoreboot-941f2a9c0c29ab42e4d2c9e6f8f058a1ec9278d3.tar.xz
mb/lenovo/x201: Remove unnecessary GPIO settings
GPIO49 is strapped high, so setting it low likely increases power usage. GPIO53 is hooked to a testpad so there is no reason to set it here. Change-Id: I00fb38c90417b673c2b36191c20279474eb0dc21 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36910 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--src/mainboard/lenovo/x201/romstage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mainboard/lenovo/x201/romstage.c b/src/mainboard/lenovo/x201/romstage.c
index 99875ed65a..c8e8afbb30 100644
--- a/src/mainboard/lenovo/x201/romstage.c
+++ b/src/mainboard/lenovo/x201/romstage.c
@@ -55,8 +55,6 @@ static void set_fsb_frequency(void)
void mainboard_pre_raminit(void)
{
- outb((inb(DEFAULT_GPIOBASE | 0x3a) & ~0x2) | 0x20,
- DEFAULT_GPIOBASE | 0x3a);
outb(0x50, 0x15ec);
outb(inb(0x15ee) & 0x70, 0x15ee);