diff options
author | Julius Werner <jwerner@chromium.org> | 2017-12-07 12:59:33 -0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-12-11 19:03:33 +0000 |
commit | ef935f04e0c65d48424b80040741a7c8745368b8 (patch) | |
tree | 5b432e361649b44e071a31d4fb3fdcc6e48c2d75 /src/mainboard/google/gru | |
parent | 888c9f6097db3164fbd657a56e3e3ce155f8c8fb (diff) |
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 <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/22775
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/gru')
-rw-r--r-- | src/mainboard/google/gru/boardid.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |