summaryrefslogtreecommitdiff
path: root/PRESUBMIT.cfg
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2017-10-11 09:51:58 -0700
committerchrome-bot <chrome-bot@chromium.org>2017-10-13 14:45:26 -0700
commit7d9bd07693ba691404831861bc219e5ec7b57b82 (patch)
tree7912fc03324fe71adad6d01f0ce8238a0f76fd98 /PRESUBMIT.cfg
parentc1afa30794f644311f136bea70bc5e2d7403257a (diff)
downloadchrome-ec-7d9bd07693ba691404831861bc219e5ec7b57b82.tar.gz
chip/g: Run unrestricted image even if Board ID can't be read
Previously, an error reading Board ID would prevent any image from running, even a wildcard (unrestricted) image with mask=flags=0 which would match any Board ID. Now, if Board ID can't be read, match the image against type=type_inv=flags=0. This will match only an unrestricted image. (This is better than checking directly for an unrestricted image, because that check is more susceptible to clock-jitter-induced errors.) BUG=b:67651806 BRANCH=cr50 TEST=Hack read_board_id() to return error. See that an unrestricted image will now boot. Change-Id: I1071e146b4541e8efd50c8409b8f76012a107731 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/713574 Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'PRESUBMIT.cfg')
0 files changed, 0 insertions, 0 deletions