mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-16 18:11:22 +00:00
The commit changes the behaviour to block accesses over the USB-SPI bridge while the console is restricted. BUG=chrome-os-partner:62340 BRANCH=None TEST=Build and flash cr50 on snappy; lock console; try to flash EC bin using CCD. Verify that it fails with flashrom not able to find a flash chip. TEST=Disable console lock; Try to flash EC bin; verify it succeeds. TEST=Repeat above tests but trying to read AP flash instead. TEST=make -j buildall Change-Id: Ib69af1a7372d841783acee2262efbf995d031234 Signed-off-by: Aseda Aboagye <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/435437 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>