aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/google/gru
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2017-12-14 18:12:56 -0800
committerMartin Roth <martinroth@google.com>2017-12-20 16:43:56 +0000
commit621b022c3b0a0aaa93fa45e889472ded5a2a4557 (patch)
tree7a56375789900571f355904d847d0ceee05baa23 /src/mainboard/google/gru
parent916fc80b69a5273fd9c8ddb1a2dd403840ce6af2 (diff)
google/gru: Adjust to incorrect strapping resistors on Kevin
It seems that RAM code 0 has been strapped with an incorrect resistor on Kevin. The resulting voltage divide still puts it well within the ADC value bucket reserved for that slot, but a little closer to the edge than necessary. While this doesn't seem to cause any immediate problems on its own, it still doesn't hurt to fix it (if only for the documentation value). On other boards (at least on my Scarlet) the strapping seems to be correct. Change-Id: Ic5199834fbeaf734e725ff45b04f45eefe149855 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/22891 Reviewed-by: David Schneider <dnschneid@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/mainboard/google/gru')
-rw-r--r--src/mainboard/google/gru/boardid.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/gru/boardid.c b/src/mainboard/google/gru/boardid.c
index 6d186480b1..aaa8ae7d0b 100644
--- a/src/mainboard/google/gru/boardid.c
+++ b/src/mainboard/google/gru/boardid.c
@@ -22,7 +22,11 @@
static const int id_readings[] = {
/* ID : Volts : ADC value : Bucket */
/* == ===== ========= ========== */
+#if IS_ENABLED(CONFIG_BOARD_GOOGLE_KEVIN)
+/* 0 : 0.109V: 62 : 0 - 91 */ 91,
+#else
/* 0 : 0.074V: 42 : 0 - 81 */ 81,
+#endif
/* 1 : 0.211V: 120 : 82 - 150 */ 150,
/* 2 : 0.319V: 181 : 151 - 211 */ 211,
/* 3 : 0.427V: 242 : 212 - 274 */ 274,