Mary Ruthven
37fadc39b5
cr50: add command for factory reset
...
The factory reset command can be used to enable ccd factory mode. The
command can open ccd if write protect is removed and ccd hasn't been
restricted. Right now we check FWMP and the ccd password before allowing
factory reset. Factory reset cannot be used to get around anything that
disables ccd.
This adds 72 bytes.
BUG=b:77543904
BRANCH=cr50
TEST=Try enabling factory mode using factory reset. Verify setting write
protect, setting the FWMP disable ccd bit, or setting a ccd password
prevents factory reset from enabling factory mode.
Change-Id: I6e203bf6068250f009881aa95c13bc56cb2aa9e7
Signed-off-by: Mary Ruthven <mruthven@google.com >
Reviewed-on: https://chromium-review.googlesource.com/1069369
Commit-Ready: Mary Ruthven <mruthven@chromium.org >
Tested-by: Mary Ruthven <mruthven@chromium.org >
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org >
2018-05-31 16:22:35 -07:00
..
2018-05-07 20:45:54 -07:00
2018-05-29 17:15:25 -07:00
2016-08-24 16:30:10 +00:00
2017-12-28 14:50:29 -08:00
2018-04-03 18:47:12 -07:00
2018-01-18 05:09:37 -08:00
2017-09-12 16:17:03 -07:00
2018-04-10 19:13:11 -07:00
2016-08-11 14:46:33 -07:00
2016-08-24 16:30:10 +00:00
2016-11-16 19:04:31 -08:00
2018-05-30 20:38:53 -07:00
2018-04-03 18:47:12 -07:00
2016-04-18 17:32:40 -07:00
2018-05-04 03:02:49 -07:00
2018-05-31 16:22:35 -07:00
2018-05-16 05:08:36 -07:00
2017-11-01 16:47:21 -07:00
2017-10-19 12:56:42 -07:00
2018-05-30 01:02:40 -07:00
2017-02-10 19:02:55 -08:00
2016-08-24 16:30:10 +00:00
2018-04-03 18:47:12 -07:00
2015-05-19 02:46:27 +00:00
2018-05-31 00:19:29 -07:00
2018-05-31 03:50:20 -07:00
2016-03-18 22:16:53 -07:00
2018-02-23 23:13:01 -08:00
2017-11-16 23:32:11 -08:00
2017-07-03 21:44:34 -07:00
2017-07-03 21:44:34 -07:00
2017-06-30 03:08:42 -07:00
2017-08-08 17:34:09 -07:00
2017-02-14 14:50:36 -08:00
2018-03-28 23:23:31 -07:00
2018-03-28 23:23:31 -07:00
2018-05-22 21:56:40 -07:00
2015-07-17 03:17:50 +00:00
2018-01-02 15:48:20 -08:00
2017-08-02 15:02:34 -07:00
2018-05-25 20:31:56 -07:00
2016-09-02 07:11:33 -07:00
2018-05-30 20:38:53 -07:00
2018-03-06 09:59:21 -08:00
2017-07-13 19:45:57 -07:00
2017-07-13 19:45:57 -07:00
2018-04-05 15:20:43 -07:00
2018-01-10 12:58:55 -08:00
2018-05-16 12:41:30 -07:00
2016-11-15 17:41:53 -08:00
2016-08-31 17:20:26 +00:00
2017-12-28 12:35:08 -08:00
2018-02-02 10:17:30 -08:00
2016-08-24 16:30:10 +00:00
2017-08-08 14:56:13 -07:00
2018-05-22 21:56:40 -07:00
2018-05-22 21:56:40 -07:00
2018-05-16 16:42:57 -07:00
2017-04-26 13:37:04 -07:00
2016-08-24 16:30:10 +00:00
2017-11-07 17:52:15 -08:00
2016-04-18 17:32:40 -07:00
2017-05-18 18:07:29 -07:00
2018-05-07 20:45:54 -07:00
2018-05-11 12:10:44 -07:00
2017-11-21 18:53:35 -08:00
2018-05-30 12:50:39 -07:00
2013-03-22 11:24:29 -07:00
2017-09-11 11:14:24 -07:00
2018-01-31 18:01:04 -08:00
2017-11-28 15:44:19 -08:00
2018-02-15 21:43:53 -08:00
2016-03-02 13:39:47 -08:00
2018-02-08 06:57:51 -08:00
2016-08-24 16:30:10 +00:00
2015-10-13 05:28:54 -07:00
2018-05-22 21:56:40 -07:00
2015-10-13 05:28:54 -07:00
2015-10-13 05:28:54 -07:00
2017-06-19 15:33:09 -07:00
2016-10-01 00:02:01 -07:00
2018-05-16 16:43:03 -07:00
2018-05-09 14:40:07 -07:00
2018-05-22 21:56:40 -07:00
2017-06-02 10:38:57 -07:00
2018-05-07 20:45:54 -07:00
2017-02-23 01:19:07 -08:00
2013-08-02 18:22:57 -07:00
2017-11-30 11:48:57 -08:00
2017-08-02 15:02:34 -07:00
2018-01-12 03:27:08 -08:00
2018-04-27 12:22:26 -07:00
2017-10-31 13:04:59 -07:00
2018-04-27 12:22:41 -07:00
2016-08-24 16:30:10 +00:00
2018-03-20 19:30:06 -07:00
2017-01-03 15:13:58 -08:00
2018-05-11 12:10:44 -07:00
2016-09-08 17:57:51 -07:00
2017-12-18 20:32:58 -08:00
2015-07-15 21:57:36 +00:00
2018-05-30 20:38:53 -07:00
2017-06-14 01:19:31 -07:00
2018-05-29 06:02:19 -07:00
2017-09-26 18:24:07 -07:00
2018-05-07 20:45:54 -07:00
2014-05-17 20:14:17 +00:00
2017-09-11 04:42:59 -07:00
2016-08-31 17:20:26 +00:00
2018-03-01 12:39:05 -08:00
2016-03-21 16:35:33 -07:00
2016-08-24 16:30:10 +00:00
2017-12-28 14:50:32 -08:00
2018-05-18 20:08:16 -07:00
2017-02-09 05:04:56 +00:00
2017-05-09 23:20:07 -07:00
2018-05-30 01:02:36 -07:00
2018-05-16 22:49:42 -07:00
2016-08-24 16:30:10 +00:00
2016-08-24 16:30:10 +00:00
2017-11-06 13:48:38 -08:00
2018-05-26 00:21:42 -07:00
2018-05-24 04:10:04 -07:00
2017-08-10 22:47:24 -07:00
2018-05-23 20:35:12 -07:00
2018-04-11 04:39:07 -07:00
2017-05-12 13:09:54 -07:00
2017-09-15 10:50:27 -07:00
2018-05-09 14:40:02 -07:00
2018-05-21 18:19:29 -07:00
2018-04-25 14:40:45 -07:00
2018-05-28 22:46:30 -07:00
2017-10-24 15:30:15 -07:00
2018-05-29 06:02:18 -07:00
2017-08-28 15:24:10 -07:00
2017-12-18 20:32:58 -08:00
2018-03-20 19:30:17 -07:00
2017-11-21 18:53:35 -08:00
2018-05-07 20:45:54 -07:00
2015-10-13 05:28:54 -07:00
2018-05-22 21:57:12 -07:00
2017-09-25 21:06:52 -07:00
2016-01-25 21:46:48 -08:00
2017-09-22 10:18:50 -07:00
2016-08-24 16:30:10 +00:00