summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/ccd_config.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/common/ccd_config.c b/common/ccd_config.c
index 70111b3e52..555a0eebbb 100644
--- a/common/ccd_config.c
+++ b/common/ccd_config.c
@@ -447,17 +447,8 @@ int ccd_reset_config(unsigned int flags)
int i;
/* Allow all capabilities all the time */
- for (i = 0; i < CCD_CAP_COUNT; i++) {
- /*
- * Restricted console commands are still IfOpened, but
- * that's kinda meaningless because we set a
- * well-defined password below.
- */
- if (i == CCD_CAP_GSC_RESTRICTED_CONSOLE)
- continue;
-
+ for (i = 0; i < CCD_CAP_COUNT; i++)
raw_set_cap(i, CCD_CAP_STATE_ALWAYS);
- }
/* Force WP disabled at boot */
raw_set_flag(CCD_FLAG_OVERRIDE_WP_AT_BOOT, 1);