summaryrefslogtreecommitdiff
path: root/board/atlas/board.h
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2019-03-20 20:23:08 -0700
committerchrome-bot <chrome-bot@chromium.org>2019-03-21 03:31:53 -0700
commite44382613539fbf3abbe8b9047aa57536ba8fd82 (patch)
treeb43e7bf4d55b192f78fdb502bc6276772370384c /board/atlas/board.h
parent2e9cabf0d290238b8b1149b1fcf5c6585b8ec574 (diff)
downloadchrome-ec-e44382613539fbf3abbe8b9047aa57536ba8fd82.tar.gz
atlas: "system lock" the EC
this enables the "system lock" feature in the EC. basically, when the EC flash is locked and and the write protect pin is asserted, some features of the EC are disabled. most notably, USB-PD is disabled when running in EC-RO. BRANCH=none BUG=b:122571285 TEST=verified that "sysinfo" reports the EC to be locked when when GPIO_WP_L is high and the flash is locked (ectool flashprotect enable) Change-Id: I85491573ed1c60e558e8b893553a00fbbbd77e76 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/1532347 Commit-Ready: caveh jalali <caveh@chromium.org> Tested-by: caveh jalali <caveh@chromium.org> Reviewed-by: Matthew Blecker <matthewb@chromium.org>
Diffstat (limited to 'board/atlas/board.h')
-rw-r--r--board/atlas/board.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/atlas/board.h b/board/atlas/board.h
index 418ed5e923..e37f72cd2f 100644
--- a/board/atlas/board.h
+++ b/board/atlas/board.h
@@ -16,12 +16,6 @@
#undef CONFIG_HOSTCMD_DEBUG_MODE
#define CONFIG_HOSTCMD_DEBUG_MODE HCDEBUG_OFF
-/*
- * Allow dangerous commands.
- * TODO: Remove this config before production.
- */
-#define CONFIG_SYSTEM_UNLOCKED
-
/* EC */
#define CONFIG_ADC
#define CONFIG_BACKLIGHT_LID