summaryrefslogtreecommitdiff
path: root/cts
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2016-07-28 14:39:44 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-07-29 15:02:39 -0700
commit4a72f8f60750ff43c0cffb4735a6279db25c1d67 (patch)
treee1a2c6577fbca0bf01fb7b992042341a524ffe45 /cts
parent6b808b90a9d7fbb62b89a60b4cd25846574540b6 (diff)
downloadchrome-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