mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-29 18:11:05 +00:00
This allows the console or AP to keep the EC in its RO code. Previously, the EC could jump from RO to RW even if the system was locked in pre-init. Also, sysjump console command doesn't need to check if system is disabled before calling system_run_image_copy(), because that function also checks. This now matches how the host command works. BUG=chrome-os-partner:11147 TEST=manual syslock sysjump A -> works reboot syslock sysjump disable sysjump A -> fails Repeat, using 'ectool reboot_ec disable-jump' at root shell instead of 'sysjump disable' at EC console. Change-Id: I0b168a93e97802ba30e7c225b01d70ea66e8db58 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/26898