summaryrefslogtreecommitdiff
path: root/core/nds32
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@chromium.org>2020-06-03 16:48:40 +0800
committerCommit Bot <commit-bot@chromium.org>2020-06-04 10:27:44 +0000
commitf1f7872295a508c4a4c9aad6e1640556466ff7a7 (patch)
tree3200bb205a0b26953c636ba5526cb219ce7dadbf /core/nds32
parentb7da665db8e7a731ad4d3839424c6d42016016ea (diff)
downloadchrome-ec-f1f7872295a508c4a4c9aad6e1640556466ff7a7.tar.gz
core/riscv-rv32i: add error handling for chip_get_ec_int()
chip_get_ec_int() returns -1 if it cannot find the corresponding interrupt source. BRANCH=none BUG=b:146213943 BUG=b:157521370 TEST=1. make BOARD=asurada 2. flash_ec --board=asurada --image build/asurada/ec.bin 3. (EC console)> version Signed-off-by: Tzung-Bi Shih <tzungbi@chromium.org> Change-Id: I5021ed80f50a99b15d9b9a90a9181077f63bd4be Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2227777 Reviewed-by: Dino Li <Dino.Li@ite.com.tw> Reviewed-by: Eric Yilun Lin <yllin@chromium.org>
Diffstat (limited to 'core/nds32')
0 files changed, 0 insertions, 0 deletions