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/gingerbread/board.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'board/gingerbread/board.h') diff --git a/board/gingerbread/board.h b/board/gingerbread/board.h index af962f4273..dd8b1fd6de 100644 --- a/board/gingerbread/board.h +++ b/board/gingerbread/board.h @@ -12,7 +12,14 @@ #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 + #define CONFIG_WP_ACTIVE_HIGH -- cgit v1.2.1