summaryrefslogtreecommitdiff
path: root/chip/lm4
diff options
context:
space:
mode:
authorShawn Nematbakhsh <shawnn@chromium.org>2017-02-28 10:37:24 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-01 16:36:24 -0800
commit850a227aea334bbb82119cf7811d4a53b72de23e (patch)
tree46d8c65246c0f3f6f21b97addbd1f6f09f762eeb /chip/lm4
parent1c16a8040c406bc47d9bc42e34270d601a95a4e3 (diff)
downloadchrome-ec-850a227aea334bbb82119cf7811d4a53b72de23e.tar.gz
npcx: flash: Lock all flash access before flash_execute_cmd() calls
Any call to flash_execute_cmd() can interfere with UMA / mapped read access, so grab the mutex first. BUG=b:35587287,b:35848370 BRANCH=reef TEST=Verify SW sync completes 8 hour stress test on kevin. Also verify 'ectool flashspiinfo' succeeds. Change-Id: Ib1b04371546c27517c1b1ac860e9afbc1fed435e Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/447905 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/lm4')
0 files changed, 0 insertions, 0 deletions