[coreboot] Patch set updated for coreboot: dc5ec51 google/snow: fix a GPIO array index

David Hendricks (dhendrix@chromium.org) gerrit at coreboot.org
Tue Mar 19 05:58:08 CET 2013

David Hendricks (dhendrix at chromium.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2825


commit dc5ec5116cc8d1dfc7de6cd93eb5f72c1c0dd8a7
Author: David Hendricks <dhendrix at chromium.org>
Date:   Mon Mar 18 21:54:13 2013 -0700

    google/snow: fix a GPIO array index
    This fixes a trivial error with the recovery mode GPIO index.
    Change-Id: I7290c1e23cdddaf91c9021d4e4252c0c772b6eab
    Signed-off-by: David Hendricks <dhendrix at chromium.org>
 src/mainboard/google/snow/chromeos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mainboard/google/snow/chromeos.c b/src/mainboard/google/snow/chromeos.c
index 14da49c..1a98244 100644
--- a/src/mainboard/google/snow/chromeos.c
+++ b/src/mainboard/google/snow/chromeos.c
@@ -63,7 +63,7 @@ void fill_lb_gpios(struct lb_gpios *gpios)
 	/* Recovery: active high */
 	gpios->gpios[1].port = EXYNOS5_GPY1;
 	gpios->gpios[1].polarity = ACTIVE_HIGH;
-	gpios->gpios[2].value = s5p_gpio_get_value(&gpio_pt1->y1, FORCE_RECOVERY_MODE);
+	gpios->gpios[1].value = s5p_gpio_get_value(&gpio_pt1->y1, FORCE_RECOVERY_MODE);
 	strncpy((char *)gpios->gpios[1].name,"recovery", GPIO_MAX_NAME_LENGTH);
 	/* Lid: the "switch" comes from the EC */

More information about the coreboot mailing list