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>
This commit is contained in:
Julius Werner 2017-12-07 12:59:33 -08:00
parent 888c9f6097
commit ef935f04e0
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}