From ef935f04e0c65d48424b80040741a7c8745368b8 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 7 Dec 2017 12:59:33 -0800 Subject: [PATCH] google/gru: Change Scarlet SKU ID pins to pull-ups These pins need to be pull-ups. I forgot. BUG=b:69373077 Change-Id: I9314617e01d35898254984529f269d4442e736f1 Signed-off-by: Julius Werner Reviewed-on: https://review.coreboot.org/22775 Tested-by: build bot (Jenkins) --- src/mainboard/google/gru/boardid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mainboard/google/gru/boardid.c b/src/mainboard/google/gru/boardid.c index 9dc7b05218..af56f1d66a 100644 --- a/src/mainboard/google/gru/boardid.c +++ b/src/mainboard/google/gru/boardid.c @@ -88,6 +88,7 @@ uint32_t sku_id(void) gpio_t pins[3] = {[2] = GPIO(3, D, 6), [1] = GPIO(3, D, 5), [0] = GPIO(3, D, 4)}; /* GPIO3_D4 is LSB */ - sku_id = gpio_base2_value(pins, ARRAY_SIZE(pins)); + + sku_id = gpio_pullup_base2_value(pins, ARRAY_SIZE(pins)); return sku_id; }