diff options
author | Shawn Nematbakhsh <shawnn@chromium.org> | 2016-07-28 14:39:44 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2016-07-29 15:02:39 -0700 |
commit | 4a72f8f60750ff43c0cffb4735a6279db25c1d67 (patch) | |
tree | e1a2c6577fbca0bf01fb7b992042341a524ffe45 /cts | |
parent | 6b808b90a9d7fbb62b89a60b4cd25846574540b6 (diff) | |
download | chrome-ec-4a72f8f60750ff43c0cffb4735a6279db25c1d67.tar.gz |
npcx: shi: Improve host command handling reliability
- Pass-thru to IBF handler code in case both IBHF and IBF interrupts are
pending, in order to properly keep track our Tx byte count.
- Don't disable the SHI IRQ in our host command handler callback since
system-wide interrupts are already disabled.
BUG=chrome-os-partner:55711,chrome-os-partner:55721
BRANCH=None
TEST=Manual on gru with subsequent commit. Verify `flashrom -p ec -r
file.bin` passes 100x with no errors or warnings.
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Change-Id: I6225ffde1fe0127c7484933fe4a151d22f42415c
Reviewed-on: https://chromium-review.googlesource.com/364234
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
Diffstat (limited to 'cts')
0 files changed, 0 insertions, 0 deletions