summaryrefslogtreecommitdiffstats
path: root/resources/libreboot/patch/r500/0006-mainboard-lenovo-r500-use-correct-GPIO-values.patch
blob: b66ff713266ea5f1e6ff4c175134e6789f92c21d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
From 0197ee58d0ead0ffdaea74022c17c60d2d14ac27 Mon Sep 17 00:00:00 2001
From: Leah Rowe <info@minifree.org>
Date: Wed, 5 Aug 2015 19:53:59 +0100
Subject: [PATCH 6/7] mainboard/lenovo/r500: use correct GPIO values

Change-Id: I2f1e8515cf27769cd90d59b8edc6d6caff855eaa
Signed-off-by: Leah Rowe <info@minifree.org>
---
 src/mainboard/lenovo/r500/romstage.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mainboard/lenovo/r500/romstage.c b/src/mainboard/lenovo/r500/romstage.c
index 455dd35..c29d661 100644
--- a/src/mainboard/lenovo/r500/romstage.c
+++ b/src/mainboard/lenovo/r500/romstage.c
@@ -39,9 +39,9 @@
 
 static void default_southbridge_gpio_setup(void)
 {
-	outl(0x197e23fe, DEFAULT_GPIOBASE + GP_IO_USE_SEL);
-	outl(0xe1a66dfe, DEFAULT_GPIOBASE + GP_IO_SEL);
-	outl(0xe3faef3f, DEFAULT_GPIOBASE + GP_LVL);
+	outl(0x197e33fe, DEFAULT_GPIOBASE + GP_IO_USE_SEL);
+	outl(0xe0ea6dfe, DEFAULT_GPIOBASE + GP_IO_SEL);
+	outl(0xe3feef3b, DEFAULT_GPIOBASE + GP_LVL);
 
 	/* Disable blink [31:0]. */
 	outl(0x00000000, DEFAULT_GPIOBASE + GPO_BLINK);
@@ -53,7 +53,7 @@ static void default_southbridge_gpio_setup(void)
 	/* Set input/output mode [60:32] (0 == out, 1 == in). */
 	outl(0x1f55f9f1, DEFAULT_GPIOBASE + GP_IO_SEL2);
 	/* Set gpio levels [60:32].  */
-	outl(0x1dffff53, DEFAULT_GPIOBASE + GP_LVL2);
+	outl(0x1dfefb53, DEFAULT_GPIOBASE + GP_LVL2);
 }
 
 static void early_lpc_setup(void)
-- 
1.9.1