diff options
author | Hung-Te Lin <hungte@chromium.org> | 2019-04-18 17:31:55 +0800 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2019-04-22 19:56:23 +0000 |
commit | 69eae2762fc34f8303e8a41065df437295262586 (patch) | |
tree | ba96779af9b458c4e60bb12ed1e2fb24a304fc25 /util/dtd_parser | |
parent | e3f5f2155a75687ab50d53c49977748f4cecdb2b (diff) |
board/kukui: Support ADC value for NC
When the components like LCM ID are not installed (i.e., NC), ADC will
return some value with much larger variation from standard value (out of
the tolerance we set). To support that, we should check tolerance only
on non-NC voltages.
Also improve the error messages so we can see the ADC raw values
instead of simple assertion error (which makes debugging more difficult
since we have to build another firmware image just to print the values).
BUG=None
TEST=Booted on Kukui and got correct SKU ID for NC LCMID.
BRANCH=None
Change-Id: I8d00956e0e3b48ddbcaa505dd3ade24720c3b4ad
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32353
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: You-Cheng Syu <youcheng@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/dtd_parser')
0 files changed, 0 insertions, 0 deletions