summaryrefslogtreecommitdiff
path: root/src/mainboard
diff options
context:
space:
mode:
authorjongpil19.jung <jongpil19.jung@samsung.com>2016-05-19 12:40:00 +0900
committerMartin Roth <martinroth@google.com>2016-06-07 16:59:07 +0200
commitd841da851205be103ad7de10c9604e853d844e55 (patch)
treec7e8cdbcc9d3bb16000786525db333933b2724e7 /src/mainboard
parente3a8f46c0eb8d563341404f42626b002d74593bb (diff)
downloadcoreboot-d841da851205be103ad7de10c9604e853d844e55.tar.xz
Kevin/Gru : Update Board ID table.
Add board id table as kevin/gru configuration. BUG=chrome-os-partner:53519 BRANCH=chromeos-2016.02 TEST=check boot on Kevin board. Change-Id: I30c16916f3cda0ac88d2ce5a922e936a405fcc89 Signed-off-by: Martin Roth <martinroth@chromium.org> Original-Commit-Id: 16c7b5486befd73c3e31624970ba1c97e526676f Original-Change-Id: Ib69ed9dad8e1a9e08717545c6be19a90e0298c43 Original-Signed-off-by: jongpil19.jung <jongpil19.jung@samsung.com> Original-Reviewed-on: https://chromium-review.googlesource.com/345736 Original-Commit-Ready: Vadim Bendebury <vbendeb@chromium.org> Original-Tested-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://review.coreboot.org/15028 Tested-by: build bot (Jenkins) Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/mainboard')
-rw-r--r--src/mainboard/google/gru/boardid.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainboard/google/gru/boardid.c b/src/mainboard/google/gru/boardid.c
index 5f030adf01..1d37a867a8 100644
--- a/src/mainboard/google/gru/boardid.c
+++ b/src/mainboard/google/gru/boardid.c
@@ -19,10 +19,11 @@
#include <soc/saradc.h>
/*
- * This matches two Kevin prototypes, needs to be sorted out with HW engs to
- * have more regular mapping between the voltage and board ID.
+ * This matches Kevin/Gru ADC value for board id.
*/
-static const int board_id_readings[] = { 42, 120 };
+static const int board_id_readings[] = { 42, 120, 181, 242, 307, 378, 444,
+ 511, 581, 646, 704, 763, 828,
+ 895, 956, 1023 };
/*
* The ADC produces a 10 bit value, the resistor accuracy is 1%, let's leave