From aa1b46525d79aed93b4aadbffc3e1846c5bf94bd Mon Sep 17 00:00:00 2001 From: Scott Collyer Date: Fri, 21 May 2021 11:28:50 -0700 Subject: 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 Change-Id: I7c602ecb2f2af02638be080613bb83dee568c332 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2911737 Tested-by: Scott Collyer Reviewed-by: Aseda Aboagye Reviewed-by: Diana Z Commit-Queue: Scott Collyer --- board/baklava/board.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'board/baklava') 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 -- cgit v1.2.1