From 621b022c3b0a0aaa93fa45e889472ded5a2a4557 Mon Sep 17 00:00:00 2001 From: Julius Werner Date: Thu, 14 Dec 2017 18:12:56 -0800 Subject: 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 Reviewed-on: https://review.coreboot.org/22891 Reviewed-by: David Schneider Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/google/gru/boardid.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/mainboard') 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, -- cgit v1.2.3