summaryrefslogtreecommitdiff
path: root/board/baklava
diff options
context:
space:
mode:
authorScott Collyer <scollyer@google.com>2021-05-21 11:28:50 -0700
committerCommit Bot <commit-bot@chromium.org>2021-05-26 22:51:17 +0000
commitaa1b46525d79aed93b4aadbffc3e1846c5bf94bd (patch)
tree536adef6bd5e7c16f49922cfbd061e15fadff0d4 /board/baklava
parent70d25ba53e492bd0f542a6e7e11f7035bb1b82ba (diff)
downloadchrome-ec-aa1b46525d79aed93b4aadbffc3e1846c5bf94bd.tar.gz
honeybuns: Move configs for MP release to board.h
This CL moves the configs that are needed to be changed for an MP release to the board.h files from baseboard.h. BUG=b:183686750 BRANCH=quiche TEST=make BOARD=quiche/gingerbread/baklava Signed-off-by: Scott Collyer <scollyer@google.com> Change-Id: I7c602ecb2f2af02638be080613bb83dee568c332 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2911737 Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Diana Z <dzigterman@chromium.org> Commit-Queue: Scott Collyer <scollyer@chromium.org>
Diffstat (limited to 'board/baklava')
-rw-r--r--board/baklava/board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/board/baklava/board.h b/board/baklava/board.h
index c5737f8a40..5ae2cea560 100644
--- a/board/baklava/board.h
+++ b/board/baklava/board.h
@@ -12,7 +12,13 @@
#include "baseboard.h"
/* Optional features */
+/*
+ * For MP release, CONFIG_SYSTEM_UNLOCKED must be undefined, and
+ * CONFIG_FLASH_PSTATE_LOCKED must be defined in order to enable write protect
+ * using option bytes WRP registers.
+ */
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
+#undef CONFIG_FLASH_PSTATE_LOCKED
/* USB Type C and USB PD defines */
#define USB_PD_PORT_HOST 0