summaryrefslogtreecommitdiff
path: root/include/reset_flag_desc.inc
diff options
context:
space:
mode:
authorSam McNally <sammc@chromium.org>2020-02-27 21:29:25 +1100
committerCommit Bot <commit-bot@chromium.org>2020-03-03 07:47:32 +0000
commit6020472e12860d58ec3cf2d6336e4eecc2017b63 (patch)
tree351a3fc55a5e78c838147d7143c42998adcc2dd4 /include/reset_flag_desc.inc
parent9d3f321689ddcdc0989842055292aeb4e8d6f811 (diff)
downloadchrome-ec-6020472e12860d58ec3cf2d6336e4eecc2017b63.tar.gz
vboot: Add a reboot option to keep EFS in RO with the AP off.
With EFS, the EC will typically switch to RW shortly after boot. cros_ec_softrec_power triggers recovery mode using the hostevent console command after rebooting the EC with ap-off and then simulates a power button press. This requires the EC to remain in RO after rebooting so doesn't currently work with EFS. Add a reboot option "ap-off-in-ro" to request the EC remain in RO with the AP off after rebooting. BUG=b:149657030 TEST=make buildall; firmware_RecoveryCacheBootKeys on puff BRANCH=none Change-Id: I65d291106accebf18bb46d951351def122627e61 Signed-off-by: Sam McNally <sammc@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2077699 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/reset_flag_desc.inc')
-rw-r--r--include/reset_flag_desc.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/reset_flag_desc.inc b/include/reset_flag_desc.inc
index 3d22b64633..58b142d3d3 100644
--- a/include/reset_flag_desc.inc
+++ b/include/reset_flag_desc.inc
@@ -26,3 +26,4 @@
"rbox",
"security",
"ap-watchdog",
+"stay-in-ro",