Files
OpenCellular/chip/npcx
Shawn Nematbakhsh ed91068917 npcx: shi: Fixes for REBOOT_EC host command handling
- For REBOOT_EC and several other host commands, send_response may be
  called multiple times (once for early success notification, one for
  actual notification, if the handler exits cleanly). Ignore calls after
  the first.
- During reboot / sysjump, we're not equipped to handle host commands, so
  disable the SHI interface altogether.

BUG=chrome-os-partner:52878
TEST=Manual on kevin. Verify "ectool reboot_ec RO" (RO to RO = NOP)
succeeds without error messages on EC console. Verify "ectool reboot_ec
RW" causes sysjump without AP going down.
BRANCH=None

Change-Id: Iae83084e4f8d5218600be2a9da7f71dd7872d569
Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/342622
Commit-Ready: Shawn N <shawnn@chromium.org>
Tested-by: Shawn N <shawnn@chromium.org>
Reviewed-by: Mulin Chao <mlchao@nuvoton.com>
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2016-05-10 19:42:06 -07:00
..
2015-07-25 01:22:32 +00:00