[coreboot-gerrit] Patch set updated for coreboot: e433a96 baytrail: gpio: Fix NCORE gpio-to-pad LUT

Aaron Durbin (adurbin@google.com) gerrit at coreboot.org
Wed May 7 17:11:08 CEST 2014


Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4980

-gerrit

commit e433a9637c7001118ae62b2a152937177a72ba9d
Author: Shawn Nematbakhsh <shawnn at chromium.org>
Date:   Thu Nov 21 11:00:53 2013 -0800

    baytrail: gpio: Fix NCORE gpio-to-pad LUT
    
    NCORE pad addresses were wildly wrong due to documentation bugs.
    
    BUG=chrome-os-partner:24179
    TEST=Manual on Rambi. Verify display isn't always on. Verify brightness
    control now works in Chrome OS.
    BRANCH=None.
    
    Change-Id: I464436a58baa4957329c11231c5a866dafd97ce8
    Signed-off-by: Shawn Nematbakhsh <shawnn at chromium.org>
    Reviewed-on: https://chromium-review.googlesource.com/177597
    Reviewed-by: Aaron Durbin <adurbin at chromium.org>
    Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
 src/soc/intel/baytrail/gpio.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/soc/intel/baytrail/gpio.c b/src/soc/intel/baytrail/gpio.c
index 8cc7cc0..a3c2faa 100644
--- a/src/soc/intel/baytrail/gpio.c
+++ b/src/soc/intel/baytrail/gpio.c
@@ -25,9 +25,9 @@
 
 /* GPIO-to-Pad LUTs */
 static const u8 gpncore_gpio_to_pad[GPNCORE_COUNT] =
-	{ 25, 24, 23, 32, 33, 34, 36, 37,	/* [ 0: 7] */
-	  35, 22, 20, 21, 18, 38, 39,  1,	/* [ 8:15] */
-	   4,  8, 17,  0,  3,  6, 16, 19,	/* [16:23] */
+	{ 19, 18, 17, 20, 21, 22, 24, 25,	/* [ 0: 7] */
+	  23, 16, 14, 15, 12, 26, 27,  1,	/* [ 8:15] */
+	   4,  8, 11,  0,  3,  6, 10, 13,	/* [16:23] */
 	   2,  5,  9 };				/* [24:26] */
 
 static const u8 gpscore_gpio_to_pad[GPSCORE_COUNT] =



More information about the coreboot-gerrit mailing list