summaryrefslogtreecommitdiff
path: root/board/hatch_fp
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2019-07-02 16:53:45 -0700
committerCommit Bot <commit-bot@chromium.org>2019-07-24 01:54:09 +0000
commit6f994b8e3ac868ffb1fba35473c753e65dcd1b5e (patch)
tree445179be58aa1bb824166c4d4ca84c87c600b42a /board/hatch_fp
parentdd03af6a9a56a1aed1ebe1a591caac2fa699bd52 (diff)
downloadchrome-ec-6f994b8e3ac868ffb1fba35473c753e65dcd1b5e.tar.gz
hatch_fp: Add RDP (read protection) support to STM32F4
BRANCH=none BUG=b:125419658 TEST=Remove "-U" flag in STM32MON_READ_FLAGS in flash_fp_mcu_common.sh flash_fp_mcu -r foo.bin => success hexdump foo.bin => valid data ectool --name=cros_fp flashprotect enable ectool --name=cros_fp reboot_ec flash_fp_mcu -r foo.bin => fails Add "-U" flag back to STM32MON_READ_FLAGS in flash_fp_mcu_common.sh flash_fp_mcu -r foo.bin => success hexdump foo.bin => all 0xFF Change-Id: Ic3ec18262e653b72baf239caa8db12186a63613c Signed-off-by: Tom Hughes <tomhughes@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1692220 Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'board/hatch_fp')
-rw-r--r--board/hatch_fp/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/hatch_fp/board.h b/board/hatch_fp/board.h
index 9829b6c4a1..c8b8bc726e 100644
--- a/board/hatch_fp/board.h
+++ b/board/hatch_fp/board.h
@@ -68,7 +68,7 @@
* We want to prevent flash readout, and use it as indicator of protection
* status.
*/
-/*TODO(b/125419658): enable CONFIG_FLASH_READOUT_PROTECTION_AS_PSTATE*/
+#define CONFIG_FLASH_READOUT_PROTECTION_AS_PSTATE
/* the UART console is on USART1 */
#undef CONFIG_UART_CONSOLE