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: Ib69ed9dad8e1a9e08717545c6be19a90e0298c43 Signed-off-by: jongpil19.jung <jongpil19.jung@samsung.com> Reviewed-on: https://chromium-review.googlesource.com/345736 Commit-Ready: Vadim Bendebury <vbendeb@chromium.org> Tested-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/346460 Reviewed-by: Stefan Reinauer <reinauer@google.com> Commit-Queue: Martin Roth <martinroth@chromium.org> Trybot-Ready: Martin Roth <martinroth@chromium.org> Tested-by: Martin Roth <martinroth@chromium.org>
This commit is contained in:
parent
4e654e30e4
commit
ba5d476613
1 changed files with 4 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue