From 6020472e12860d58ec3cf2d6336e4eecc2017b63 Mon Sep 17 00:00:00 2001 From: Sam McNally Date: Thu, 27 Feb 2020 21:29:25 +1100 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2077699 Reviewed-by: Daisuke Nojiri --- include/reset_flag_desc.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'include/reset_flag_desc.inc') 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", -- cgit v1.2.1